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
发布数0
创建于2018-10-20 18:48:17
推送于2024-02-05 20:48:42
最后一次提交2024-01-17 09:26:12
星数2.9k
关注者数26
派生数194
提交数334
已启用问题?
问题数160
打开的问题数91
拉请求数34
打开的拉请求数35
关闭的拉请求数38
已启用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

去到顶部