A downloadable game for Windows, macOS, and Linux

Download NowName your own price

Slime Simulation

A "slime" simulation "game" that runs on the GPU able to simulate thousands of agents with configurable parameters leading to very stunning simulations.

Simulation Parameters

  • Width - Simulation width in pixels
  • Height - Simulation height in pixels
  • Update Count - The amount of times the simulation runs in one frame
  • Decay Rate - Global pixel fade out rate
  • Diffuse Rate - Global pixel diffuse rate
  •  Spawn Type - Different ways to spawn agents upon restarting the simulation
  • Border Type - Different ways tho handle borders. Repeating - agents teleport, Contained - agents bounce off
  • Base Color (HEX) - The background color of the simulation 

Species Parameters

  • Speed - The species speed
  • Turn Speed - How fast the agents turn
  • Sensor Angle - The spacing between the three different sensing zones (Visualization below)
  • Sensor Distance - How far away the agents sense trails
  • Sensor Size - How big of an area the agent senses (!!Keep this at one unless you have a beefy GPU!!)
  • Trail Weight - How strong of a trail the species leave
  • Color (HEX) - Color of the species

Controls

  • Left Click - Spawn Agents
  • Right Click - Spawn Agents
  • Escape - Toggle full screen view
  • E - Reset agent positions
  • R - Reset simulation
  • Space - Pause simulation
  • Right Arrow - Advance one frame
  • F11 - Take screenshot  

How the simulation works

Helps visualize how Sensor Angle, Sensor Distance and Sensor Size impact the agents behavior.


I did not draw this. Source

Other notes

Simulation tested only on Windows with a GTX 660 gpu.

There is a save load system implemented so you can save your configurations aswell as the ability to screenshot! (For Windows they save under AppData/LocalLow/AllInTw0/SlimeSim)

There are a maximum of three species at a time.

The project was inspired by a video made by Sebastian Lague.


Published 2 hours ago
StatusPrototype
PlatformsWindows, macOS, Linux
AuthorAllInTw0
GenreSimulation
TagsUnity

Download

Download NowName your own price

Click download now to get access to the following files:

v0.2.0-alpha-linux.zip 30 MB
v0.2.0-alpha-macOS.app.zip 41 MB
v0.2.0-alpha-Windows.zip 32 MB

Leave a comment

Log in with itch.io to leave a comment.