Skip to content

This is a simulation of particles that obey simple rules to become organisms.

License

Notifications You must be signed in to change notification settings

KhanMarauder/CellularClusters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

To modify the cellular logic and weights, modify gpu-code/particle.cl. This is the file that contains the code that runs on the CPU/GPU in parallel.


Bugs and Fixes

Date Description Reason & Fix
September 27-28, 2025 The particles were rendering in hyper colorful blobs. This was caused by the processing kernel thinking the species vector was a float instead of an int. This was because I forgot the change the cl_mem buffer DT from sizeof(float)*N to sizeof(int)*N. I needed to change this becasue the species vector was originally a float. not an int.
September 29, 2025 Windows couldn't build because of BASH-style Makefile. This was becasue I made the Makefile for Debian-based systems, not OS independant. Fixed by adding CMakeLists.txt.

Screenshots

Screenshot 2025-09-28 5 45 18 PM
Sep 28, 2025 @ 5:28 PM - The tuned version of the simulation so far.
image
Oct 9, 2025 @ 9:32 AM - After some more tuning, I have a more stable simulation.

Organsims

A 'rotifer' organism A 'rotifer' organism A 'rotifer' organism A 'rotifer' organism A 'rotifer' organism A 'rotifer' organism image image
Sep 28, 2025 @ 6-7 PM - Some 'rotifer' organism patterns.
image image
Sep 28, 2025 @ 7:13 PM - Some 'helizoan' organism patterns.
A 'jellyfish' organism A 'jellyfish' organism A 'jellyfish' organism A 'jellyfish' organism A 'jellyfish' organism A 'jellyfish' organism A 'jellyfish' organism
Sep 30, 2025 @ 1:24 PM - Some 'jellyfish' organisms.
A 'jellyfish' organism
Oct 9, 2025 @ 9:28 AM - Another 'jellyfish' organism.
image
Dec 12, 2025 @ 9:41 - Found yet another jellyfish. For clarification, a jellyfish isn't a rotifer. It looks like a rotifer, but it moves in the opposite way and has a shield of abiotic particles.

Notices


Dec 11, 2025 @ 7:47 PM - Feel free to post videos & pictures in the comments!

About

This is a simulation of particles that obey simple rules to become organisms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published