All Projects → hakolao → sandbox

hakolao / sandbox

Licence: Apache-2.0 license
2D Pixel Physics Simulator

Programming Languages

rust
11053 projects
GLSL
2045 projects
shell
77523 projects

Projects that are alternatives of or similar to sandbox

rlifesrc
A Game of Life pattern searcher written in Rust. 用 Rust 搜索生命游戏中的图样。
Stars: ✭ 15 (-80.26%)
Mutual labels:  cellular-automata
Mixed Cell Cellullar Automata
The Mixed-Cell Cellullar Automata (MCCA) provides a new approach to enable more dynamic mixed landuse modeling to move away from the analysis of static patterns. One of the biggest advantages of mixed-cell CA models is the capability of simulating the quantitative and continuous changes of multiple landuse components inside cells.
Stars: ✭ 33 (-56.58%)
Mutual labels:  cellular-automata
HCA saliency codes
Codes for HCA (Hierarchical Cellular Automata for Visual Saliency) accepted by IJCV 2018.
Stars: ✭ 18 (-76.32%)
Mutual labels:  cellular-automata
ws-ldn-10
Generative design workshop (Clojure/ClojureScript)
Stars: ✭ 26 (-65.79%)
Mutual labels:  cellular-automata
logic-life-search
Cellular automata search program
Stars: ✭ 23 (-69.74%)
Mutual labels:  cellular-automata
ALPACA
A Language for the Pithy Articulation of Cellular Automata
Stars: ✭ 21 (-72.37%)
Mutual labels:  cellular-automata
cabasa
A generic 2D cellular automaton simulator
Stars: ✭ 21 (-72.37%)
Mutual labels:  cellular-automata
flocc
Agent-based modeling in JavaScript in the browser or on the server.
Stars: ✭ 26 (-65.79%)
Mutual labels:  cellular-automata
The Powder Toy
Written in C++ and using SDL, The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, it simulates air pressure and velocity as well as heat.
Stars: ✭ 3,128 (+4015.79%)
Mutual labels:  cellular-automata
webgpu-cca
Experiment implementation of Multiple Neighborhoods Cellular Automata using WebGPU
Stars: ✭ 31 (-59.21%)
Mutual labels:  cellular-automata
Generative-Art-Sketches
A Generative Art Gallery with the idea of creating a virtual Art Gallery with my creations. I have tried my hands on creating some visually appealing art using Cellular Automata, Recursive Grammar, Phyllotaxis, Sandpiles, Perlin Noise, IFS, Tiling.
Stars: ✭ 24 (-68.42%)
Mutual labels:  cellular-automata
python-algorithms-and-simulations
Different algorithms and simulations from gravity simulations to cellular automata, implemented in python.
Stars: ✭ 21 (-72.37%)
Mutual labels:  cellular-automata
ton-lang
A visual programming language, evaluated as a cellular automaton
Stars: ✭ 60 (-21.05%)
Mutual labels:  cellular-automata
conwayste
Multiplayer Conway's Game of Life (desktop app + server) implemented in Rust
Stars: ✭ 22 (-71.05%)
Mutual labels:  cellular-automata
convoca
Predict and analyze cellular automata using convolutional neural networks
Stars: ✭ 66 (-13.16%)
Mutual labels:  cellular-automata
evoplex
Evoplex is a fast, robust and extensible platform for developing agent-based models and multi-agent systems on networks. It's available for Windows, Linux and macOS.
Stars: ✭ 98 (+28.95%)
Mutual labels:  cellular-automata
Roguelike-Procedual-Cave-Generator
A procedurally generated, cave-like dungeon/map creator for rogue-like games using the cellular automata method. During its development, I solved a common/limiting problem with this algorithm that might explain why it is not more commonly implemented in such games.
Stars: ✭ 26 (-65.79%)
Mutual labels:  cellular-automata
artistoo
CPM implementation in pure JavaScript
Stars: ✭ 25 (-67.11%)
Mutual labels:  cellular-automata
xentica
GPU-accelerated engine for multi-dimensional cellular automata
Stars: ✭ 29 (-61.84%)
Mutual labels:  cellular-automata
cellular
A simple command-line tool that generates gif images and animations from elementary cellular automata
Stars: ✭ 28 (-63.16%)
Mutual labels:  cellular-automata

Sandbox

CI Apache

Sandbox is a pixel physics simulator inspired by other such like Sandspiel and Noita. It's also a precursor for an ongoing game project. Sandbox is written in Rust.

Screenhot

Download for MacOS, Windows and Ubuntu

Download from Releases. MacOS release build still requires VulkanSDK to be installed and libs found in /usr/local/lib. Linux and Windows should work as is.

Features

  • Vulkan renderer with Vulkano
  • Gui with Egui using egui_winit_vulkano
  • Cellular Automata simulation with Compute Shaders (Why? To see if I can)
  • Deformable pixel objects with Matter from .png images
  • Customizable matters & their reactions
  • Simple physics using Rapier
  • More

Development

Windows

Ensure following libs are installed: cmake, ninja, python

Ubuntu

sudo apt-get install build-essential git python cmake libvulkan-dev vulkan-utils libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev

MacOS

See MacOS installation. Basically you need Vulkan SDK on mac and it should then work out of the box.

Running

cargo run --package sandbox --release

Run tests & checks with ./run_checks.sh before pushing & making a PR.

Building Cross Compiled Releases on Ubuntu

Run run_build_dist.sh.

Notes

I'd be very happy to see improvement suggestions. This is very unoptimized at this point, thus there are plenty of things to improve on. For example, there is barely any parallelization apart from some par_iters.

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].