nqpz / petals

A neat little animation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

petals

A neat little animation based on additive shape construction.

Requires Futhark and SDL2 and SDL2-ttf libraries with associated header files.

Building and running

First run futhark pkg sync once.

Then run make && ./petals -R -w 600 -h 600 to build and run in a window.

Starts with a random shape. Press:

  • Left arrow and right arrow to cycle the shapes
  • R to reset the time and the random number generator for all shapes

Screenshot

About

A neat little animation

License:Do What The F*ck You Want To Public License


Languages

Language:Futhark 97.6%Language:Nix 1.5%Language:Makefile 0.9%