4 ms·
This is fun to see on HN, which has shown a (justifiable) affection for L-systems. I wonder if an example that is closer to the original root of L-systems (bio
by mturmon 7y ago
This is fun to see on HN, which has shown a (justifiable) affection for L-systems.
I wonder if an example that is closer to the original root of L-systems (biological/botanical shapes, like trees) would be a nice addition the the initial basic examples?
- Rabidgremlin 7y agoPlant shapes animate particularly will. See the example about halfway through this post: http://blog.rabidgremlin.com/2014/12/09/procedural-content-generation-l-systems/ http://blog.rabidgremlin.com/2014/12/09/procedural-content-g...
- mturmon 7y agoThat's exactly the kind of rule system I had in mind, and it seems like it would fit into the scheme of the OP. Thanks.
- the_wack 7y agoyou tend to get more tree looking structures if you crank up the rule complexity (https://ehrenjn.github.io/LSystems/lsystems.html?FADE_TIME_MS=100&DISTANCE_PER_MOVEMENT=10&LINE_WIDTH=1&FS_PER_TURTLE_MOVE=21&MS_PER_TURTLE_MOVE=10&RANDOM_ANGLE_CHANCE=0.5&MIN_START_LENGTH=1&MAX_START_LENGTH=5&MIN_RULES=2&MAX_RULES=3&MIN_RULE_LENGTH=30&MAX_RULE_LENGTH=30&LSYSTEM_MAX_LENGTH=10000 https://ehrenjn.github.io/LSystems/lsystems.html?FADE_TIME_M...) But if I had a way of raising the average number of square brackets per rule then it would probably end up generating a lot more trees.