Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Thanks! I didn’t know what L-systems are and I didn’t use engines or premade physics stuff. Plants grow the following way: The likelyhood of randomly generating a new sub-branch above a branch is the sum of the distances to the lights (each ^(-0.5) with a maximum). The only other check is that the amount of branches in one height doesn’t exceed 10. Also, see the description, I did finish the game in time :), if you know a safe and easy way to “inject” built js into an html file, I’m all ears

(+1)

Oh, sorry, i didn't read all the way to the end on the description (just enough to understand how to move the shadows ;). I'm not well-versed in anything web, so sadly can't help you on the js to WASM part :(

If you like those kind of mechanics/procedural in-game generation, L-System are definitely worth checking out (you're already using them if i understood your algo correctly), they're used to generate 'natural-looking' trees, cities, landscapes, etc. in games and CGI movies (I  spent some time on a personal project where i used them to 'grow' a digital garden (never got to the point of user interaction though)).