tracers.java
is a visualization library for Java.
This repository is part of the project Algorithm Visualizer.
-
Download
algorithm-visualizer.jar
in the latest release. -
Add it to the classpath.
import org.algorithm_visualizer.*;
class Main {
public static void main(String[] args) {
LogTracer logTracer = new LogTracer("Scratch Paper");
logTracer.print("Visualize your own algorithm here!");
}
}
Check out the API reference for more information.