Hacker News
Read post

Lindenmayer systems

Lindenmayer systems, also known as LSystems, consist of an alphabet of symbols, production rules, an initial axiom, and a mechanism for translating the generated strings into geometric structures. By defining an axiom, a set of rules, and an angle, beautiful ferns and other fractal patterns can be created. The process involves generating a sequence, drawing a canvas based on the sequence, and coloring the canvas using a linear gradient.

    #generative-art#rust#webdev
Nov 19, 2023•6m read time•From vsekar.me
Post cover image
Table of contents
Fractal TreeFractal Tree 2Dragon Curve32 Segment CurvePeano Gosper CurveKoch SnowflakeKoch Snowflake 2Koch Snowflake 3Quadratic Koch IslandQuadratic Koch Island 2IslandsIslands 2Sierpinski TriangleSierpinski SquareHilbert CurveFrec Fractal
6 Impressions
Hacker News's image
Hacker News

Hacker News is a community-driven platform for sharing and discussing technology news, startups, and...

17.4K Followers

•

141.8K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard