Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nqpz/petals
A neat little animation
https://github.com/nqpz/petals
Last synced: 26 days ago
JSON representation
A neat little animation
- Host: GitHub
- URL: https://github.com/nqpz/petals
- Owner: nqpz
- License: wtfpl
- Created: 2021-08-22T09:56:46.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-22T20:13:45.000Z (6 months ago)
- Last Synced: 2024-05-22T20:25:34.986Z (6 months ago)
- Language: Futhark
- Size: 73.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# petals
A neat little animation based on additive shape construction.
Requires [Futhark](http://futhark-lang.org) 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](screenshot.png)