All Projects â†’ athas â†’ diving-beet

athas / diving-beet

Licence: GPL-3.0 license
A port of Falling Turnip from Haskell to Futhark and Go 🚗 💥

Programming Languages

Futhark
8 projects
go
31211 projects - #10 most used programming language
Makefile
30231 projects
Nix
1067 projects

Diving Beet

Diving Beet is a port of Falling Turnip from Haskell to Futhark and Go. It is a physics imitation that uses cellular automata to implement fascimiles of gravity and (al)chemical interactions between various elements. For example, water plus fire gives steam, lava melts sand and metal (the latter at a slower rate), plants grow into water, etc.

You can look at a video of it in action - note that the choppiness (especially near the end) is due to the screen recorder not being able to keep up (it runs out of memory and starts writing to disk).

Usage

$ make
$ ./diving-beet

Controls

Action Consequence
Left-click Insert particles
Right-click Delete particles
Scroll Change modification radius
Ctrl+Scroll Zoom
Ctrl+drag Move
PageUp/PageDown Select particle to insert
Space Single-step
Return Unpause

Using the GPU

Set the environment variable FUTHARK_BACKEND to opencl or cuda before compiling.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].