A Simulation in which "plants" that use a L system to encode their own growth pattern compete against each other for "sunlight".
Find a file
2026-01-19 21:55:34 +00:00
Screenshots Leaf Width 2025-08-15 15:52:44 +01:00
shaders Moved_To_Cmake 2026-01-19 21:54:48 +00:00
source Moved_To_Cmake 2026-01-19 21:54:48 +00:00
.gitattributes Initial commit 2025-07-30 11:04:02 +01:00
.gitignore Moved_To_Cmake 2026-01-19 21:54:48 +00:00
CmakeLists.txt Moved_To_Cmake 2026-01-19 21:54:48 +00:00
CMakePresets.json Moved_To_Cmake 2026-01-19 21:54:48 +00:00
README.md Update README.md 2025-12-15 09:59:49 +00:00
vcpkg-configuration.json Moved_To_Cmake 2026-01-19 21:54:48 +00:00
vcpkg.json Moved_To_Cmake 2026-01-19 21:54:48 +00:00

L-System Sunlight Competition

Telegraphic rundown

what? - A Simulation in which "plants" compete against each other for "sunlight".

how? - The plants "growth patten" is encoded by an DOL-system rule-set which indicates how the plant should grow its superstructure of "sticks" and "leafs". (Each Successive plant will have some nominal variation from the parent plants rule-set). The competition emerges as the key recourse "Sunlight" is collected from only from the highest "leaf" (i.e. in any vertical line only the "plant" with the highest "leaf" will receive "sunlight")

why? - Different successful growth patterns will emerge depending on the conditions chosen at start (conditions are set in constants in LSSC.ccp).

Some Common structures

image

Early on different plants will emerge but the effects of competition will not appear until there are enough successful plants and they dense enough that availability of sunlight becomes the primary constraint.

image

In many cases like above wavy "grass" like plants will dominate. The main interesting effect that can be observed for this sort is the tendency for them to try and curl while still maximising height.

image

Though in many other cases (especially when "propagation" depends on getting a lot of sunlight and not just some) branching structures will dominate and compete.

Other resources used

Computational Models - DOL-System taken from here
Vulkan Interface - Used for the display