Sandspiel

创意细胞自动机浏览器游戏。(Creative cellular automata browser game)

Github星跟蹤圖

sandspiel

“想象一下当风吹落落叶时的凉爽现象。该游戏用粉末(点)模拟这种现象!” -- DAN-BAL。

这是一款基于 rust(通过 wasm)、webgl 和一些 JS 粘合在一起的落沙游戏。

您可以在线玩游戏或阅读有关该项目的更长的文章

我们的目标是创造一个有趣的细胞自动机环境,并支持与其他玩家分享有趣的创造。最终,我希望这个平台能够通过可编程的细胞自动机 API 支持编辑和上传你自己的元素。

构建

# build the wasm once:
cd crate && wasm-pack build && cd ..;
npm install;
npm run start;
# then in a seperate terminal:
cargo watch -s 'wasm-pack build'

继承了我之前在 javascriptlua 方面的努力。

流体模拟代码采用了 https://github.com/PavelDoGreat/WebGL-Fluid-Simulation,感谢!

(The first version translated by vz on 2020.07.05)

主要指標

概覽
名稱與所有者MaxBittker/sandspiel
主編程語言Rust
編程語言Rust (語言數: 8)
平台Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2018-10-21 02:48:17
推送於2025-10-22 01:23:01
最后一次提交2025-06-19 23:53:54
發布數0
用户参与
星數3.1k
關注者數25
派生數210
提交數337
已啟用問題?
問題數162
打開的問題數91
拉請求數34
打開的拉請求數36
關閉的拉請求數39
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?

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.

You can play online or read a longer post on the project

The goal was to produce an cellular automata environment 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 programmable cellular automata API.

?️ Build:

# build the wasm once:
cd crate && wasm-pack build && cd ..;
npm install;
npm run start;

# then in a seperate terminal:
cargo watch -s 'wasm-pack build'

a successor to my previous efforts in javascript and lua

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