QAVE can generate trace.json with Python alone. Processing, PeasyCam, and ffmpeg are required only to render frames and encode MP4 or GIF.
QAVE runs the viewer using the Processing 4 CLI. It accepts either processing-java or Processing on your PATH.
The bootstrap script pins Processing 4.5.2 portable CLI on Linux x86_64 and prints the executable directory (.../processing-4.5.2/bin) for PATH export.
./viewer/scripts/install_processing_cli.sh
eval "$("./viewer/scripts/install_processing_cli.sh --print-export)"Confirm the CLI is available:
command -v Processing || command -v processing-java- Install Processing 4.
- Add the Processing CLI directory to your
PATH. If you installed Processing at/Applications/Processing.app, this works for the current shell session:
export PATH="/Applications/Processing.app/Contents/MacOS:$PATH"- Confirm it works:
Processing cli --help- Install Processing 4.
- Add the directory that contains
Processing.exetoPATHso theProcessingcommand is available. - Confirm it works by running
Processing cli --help. - Run viewer scripts from Git Bash or WSL2.
The viewer requires the PeasyCam Processing sketchbook library.
Install it by running:
./viewer/scripts/install_processing_peasycam.shIf you are not sure where your sketchbook directory is, open Processing and check Preferences for the configured Sketchbook location.
The installer script reads the sketchbook path from Processing preferences when available. If no preferences are found, it falls back to ~/sketchbook on Linux and ~/Documents/Processing on macOS and Windows.
If your sketchbook is in a non-default location, set QAVE_PROCESSING_SKETCHBOOK to your sketchbook directory before running the script:
export QAVE_PROCESSING_SKETCHBOOK="/path/to/sketchbook"If you prefer manual installation, extract the peasycam/ folder into your Processing sketchbook at libraries/peasycam/.
On Windows, run the script in Git Bash, or install PeasyCam manually into your sketchbook. If you run it from WSL2, set QAVE_PROCESSING_SKETCHBOOK to your Windows sketchbook path (for example, /mnt/c/Users/<you>/Documents/Processing).
ffmpeg is required to encode MP4 and GIF outputs from rendered PNG frames. Viewer playback of an existing trace.json does not require ffmpeg.
brew install ffmpegsudo apt-get update
sudo apt-get install -y ffmpegOn other Linux distros, install ffmpeg via your package manager.
- Install ffmpeg.
- Add the directory that contains
ffmpeg.exetoPATH. - Confirm it works by running
ffmpeg -version.