68

GitHub - MaxBittker/sandspiel: Creative cellular automata browser game

 5 years ago
source link: https://github.com/MaxBittker/sandspiel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

sandspiel

"Imagine the cool phenomenon when the wind blows the falling leaves. This game simulates the phenomenon with powder (dots)!" -DAN-BALL

This is a falling sand game built in rust (via wasm), webgl, and some JS glueing things together.

The goal is to produce an cellular automata enviroment that's interesting to play with and supports the sharing and forking of fun creations with other players. Ultimately, I want the platform to support editing and uploading of your own elements via a programable cellular automata API.

?️ Build:

wasm-pack build;
npm run start

a successor to my previous efforts in javascript and lua

Fluid simulation code adopted from https://github.com/PavelDoGreat/WebGL-Fluid-Simulation


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK