A simple Lorenz attractor interactive toy written in Janet using the Raylib bindings for Janet.
On Linux, the following libraries are required to use RayLib: libxcursor-dev
, libxrandr-dev
, libxinerama-dev
and libxi-dev
. On Debian you can install them with sudo apt install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev
.
Finally, build with: jpm build
and launch the program with ./build/lorenz
- Move the camera with the mouse
ESC
closes the application1
and2
slow down/speed up the animationR
to randomize (reset) the particles to a random locationSpace
toggles the FPS displayD
changes between the particle display modes (points, lines, cubes, etc.)- Holding
C
does the same, but quickly
- Holding
M
toggles the mouse cursorP
changes the color paletteO
cycles fast through the color palettesF
toggles windowed mode or full-screen