News for hackers. Stuff that matters.
Re:Show HN: Animating randomized L-Systems in real time by v01dlight on Friday March 06, 2020 @12:26PM (#22505418)
Re:Show HN: Animating randomized L-Systems in real time by qubex on Friday March 06, 2020 @03:20PM (#22506939)
Anybody who enjoys this should definitely check out Clifford Pickover’s book “The Pattern Book: Fractals, Art, and Nature” (1995) (https://books.google.com.mt/books?id=e77sCgAAQBAJ&pg=PA235&l...)
Re:Show HN: Animating randomized L-Systems in real time by carapace on Friday March 06, 2020 @12:54PM (#22505662)
I didn't see the source linked from there, so: https://github.com/ehrenjn/LSystems
Re:Show HN: Animating randomized L-Systems in real time by mkchoi212 on Friday March 06, 2020 @01:46PM (#22506118)
Lowkey looks like a Windows screen-saver. But very cool explanation of the visualization!
Re:Show HN: Animating randomized L-Systems in real time by davidhyde on Friday March 06, 2020 @12:45PM (#22505593)
Wow that's so cool! Wish I could turn this into a screen saver.
Re:Show HN: Animating randomized L-Systems in real time by cmauniada on Friday March 06, 2020 @06:19PM (#22508307)
same here, ill do some digging once i get home and report back if i find a way.

edit: couldn't wait until I got home so I found a solution for mac users. You can use this[0] package to load screensavers from urls.

[0] https://github.com/liquidx/webviewscreensaver

Re:Show HN: Animating randomized L-Systems in real time by mturmon on Friday March 06, 2020 @12:26PM (#22505417)
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?

Re:Show HN: Animating randomized L-Systems in real time by Rabidgremlin on Friday March 06, 2020 @01:43PM (#22506092)
Plant shapes animate particularly will. See the example about halfway through this post: http://blog.rabidgremlin.com/2014/12/09/procedural-content-g...
Re:Show HN: Animating randomized L-Systems in real time by mturmon on Friday March 06, 2020 @02:24PM (#22506414)
That'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.
Re:Show HN: Animating randomized L-Systems in real time by the_wack on Friday March 06, 2020 @02:43PM (#22506589)
you tend to get more tree looking structures if you crank up the rule complexity (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.

Re:Show HN: Animating randomized L-Systems in real time by dunky11 on Friday March 06, 2020 @05:47PM (#22508095)
Just a detail on styling. The white text/ black background combination is kind of hard on the eye since it's too much contrast. I would use a lighter shade of black for the background. Something like #0f0f0f would work.
Re:Show HN: Animating randomized L-Systems in real time by AtomicOrbital on Saturday March 07, 2020 @09:40AM (#22511690)
nicely done ... I wonder what the laptop battery draw difference would be if this had been written for WebGL rather than canvas ?
Re:Show HN: Animating randomized L-Systems in real time by StreamBright on Friday March 06, 2020 @01:38PM (#22506050)
This is wild. I really like L-Systems.