3D-Cellular-Automata-WGPU
3d Cellular Automata using WGPU in Rust (for the web and using compute shaders) (by LelsersLasers)
qcell
Statically-checked alternatives to RefCell and RwLock (by uazu)
3D-Cellular-Automata-WGPU | qcell | |
---|---|---|
4 | 2 | |
26 | 342 | |
- | - | |
0.8 | 4.5 | |
about 1 year ago | 9 months ago | |
Rust | Rust | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
3D-Cellular-Automata-WGPU
Posts with mentions or reviews of 3D-Cellular-Automata-WGPU.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-24.
-
[Media] Customizable 3D Cellular Automata on the web using WGPU!
GitHub link: https://github.com/LelsersLasers/3D-Cellular-Automata-WGPU (The branches are very messy... I recommend you get latest working downloads from the website at the top of this comment)
-
[Rust/WGPU] Customizable 3D Cellular Automata on the web!
Link to website: 3D Cellular Automata [WGPU/Rust]
-
3D Cellular Automata | Rust | WGPU | 2,6,9/4,6,8,9/10/M
This project is modeled after a similar project I did this summer in C++ and Raylib. For more information about that project, see its GitHub page: https://github.com/LelsersLasers/3D-Cellular-Automata-Raylib I choose to rewrite it in Rust using WGPU for 2 main reasons: 1) It could run on the web 2) I could use compute shaders to greatly increase performance (currently runs more than 10 times faster natively and 4 times faster on the web than the old version) You can play with this simulation without downloading anything by visiting: https://lelserslasers.itch.io/3d-cellular-automata-wgpu-rust This GitHub page from this project can be found here: https://github.com/LelsersLasers/3D-Cellular-Automata-WGPU The project has many branches, but only some work/are currently being updated (I recommend you get the latest working downloads from the itch.io link above). Cell rules: 2,6,9/4,6,8,9/10/M Survival: 2, 6, 9 Spawn: 4, 6, 8, 9 State: 10 Neighborhood: Moore This video is not sped up at all, it is running in real time at 40~50 ticks per second (a bit higher when not recording). Computer (Galaxy Book Flex) specs: - CPU: Intel® Core™ i5-1135G7 Processor @ 2.40 GHz - GPU: Intel® Iris® Xe Graphics (integrated) - RAM: 8 GB (LPDDR4x) Thanks for watching!
-
Questions about resizing: 1) How to keep aspect ratio, 2) How to allow resizing as wasm/on web?
Edit: GitHub link: https://github.com/LelsersLasers/3D-Cellular-Automata-WGPU/tree/main/cellular_automata
qcell
Posts with mentions or reviews of qcell.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-23.
-
QCell 0.5.0 release, with no_std support
An unsoundness issue in TCell and TLCell was discovered and fixed by GitHub user steffahn. This is due to Rust TypeId taking into account the lifetime, i.e. you get a different type-id for the same type with different lifetimes, and Rust will automatically cast between them. The solution is to force invariance with some type voodoo. This is a weird corner of Rust I'd never understood before. Ideally std::any::TypeId docs should be improved. (This bug does not affect the safety of correct use of the crate, but fixing it blocks a malicious coder from getting potential unsoundness through a code review.)
-
GhostCell: Separating Permissions from Data in Rust
This is slightly unrelated, but this thread made me dig up my own code that I was writing which was going to be essentially the same as the QCell crate, until I discovered that the QCell crate exists, at which point I stopped working on it and contributed to QCell instead (this PR).
What are some alternatives?
When comparing 3D-Cellular-Automata-WGPU and qcell you can also consider the following projects:
3D-Cellular-Automata-Raylib - 3d Cellular Automata using Raylib in C++
ghost-collections - Safe collections written in stable Rust, based on GhostCell and StaticRc.
oscli - Real time audio visualisation using WGPU
advisory-db - Security advisory database for Rust crates published through crates.io
nbody-wasm-sim - An N-body WebAssembly simulation using Web GPU
rust - Empowering everyone to build reliable and efficient software.
elodin - Physics simulation software for space + aerospace
samsara - a reference-counting cycle collection library in rust
deno - A modern runtime for JavaScript and TypeScript.
alacritty - A cross-platform, OpenGL terminal emulator.