A Look Into L-Systems: Just Another Show & Tell

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 24

A look into L-Systems

Just another Show & Tell


by Au Ling Wei & Tan Beng Guan

Disclaimer!
Just sharing our discoveries.
Subject matter expert found in
resources section at the end.
1. Outline
Introduction
L-Systems?

L-Systems Algorithm with


Live Demo
Lets generate stuff!!

Applications Of L-Systems
Oooooo ahhhhhhh wowww..

Resources
Further reading & references
L.. System?
Lol- system?
Lan Gaming System?
Lidenmayer System
Benoit Mandelbrot
"Clouds are not spheres, mountains are not cones, coastlines are not
circles, and bark is not smooth, nor does lightning travel in a straight
line."
What is a
Fractal?
The term fractal (from the Latin
fractus, meaning broken) was
coined by the mathematician Benoit
Mandelbrot in 1975.

A fractal is a
natural phenomenon or a
mathematical set that exhibits
a repeating pattern that
displays at every scale
Zoom Level:
25%
Zoom Level:
50%
Zoom Level:
25%
A fractal is a natural phenomenon or a
mathematical set that exhibits a
repeating pattern that displays at
every scale
Fractals
We can define forms that are

Closer to simulating natural shapes in nature


Which is the real thing?
L-Systems
So what makes an L-
System?
Alphabet The characters that are allowed
in this particular L system.
The starting point that we are

Axiom going to begin with. We are


going to recursively generate
from here.
Ruleset Which method will be called
based on each alphabet.
0:

1:

2:

3:
Generating Simple
Fractal Patterns

A -> Move forward and draw a line


< -> Turn 45 degrees left
> -> Turn 45 degrees right A[<A>A]>A<A
[ -> Save state
] -> Revert state
Applications Of L-Systems: No Mans Sky
Takeaways
Piqued your curiosity
A rough idea on how game
developers create beautiful
vistas in games.
Seeing the concept of
recursion in Fractals
Create your own L-System
algorithm
Any
questions?
Thank you!
References & Learning Resources

http://natureofcode.com/book/

http://shiffman.net/

https://en.wikipedia.org/

https://youtu.be/6vX8wT1G798?
list=PLRqwX-V7Uu6aFlwukCmDf0-1-
uSR7mklK

If you have any further


questions, feel free to
ask Prof. Thanks. :)

You might also like