Lecture 5 (Fractal Geometry and Landscapes) Flashcards
WTF is a ‘Fractal’?
A geometric shape generated using a series of recursive rules
- i.e. has a pattern that repeats at different scales (self-similarity)
What are some manifestations of fractals?
Nature, geometry, computer graphics, cinema, etc.
Approaches to generating 3D landscapes with fractals?
- Brownian motion
- Diamond-square algorithm
WTF is ‘Brownian Motion’?
Used to make landscapes through random movement of particles e.g. pollen in water
- Creates a natural randomly generated landscape
WTF is ‘Diamond-Square Algorithm’?
Used to make landscapes through alternating between diamond & square steps
- Each time random variable is changed -> makes it look more natural
Elaborate on self-similarity
exact (strongest), quasi, statistical (weakest)
What is Exact Self-Similarity?
The fractal appears identical at different scales
- This is the strongest
What is Quasi Self-Similarity?
The fractal appears approximately (but not exactly) identical at different scales
- Contain small copies of the entire fractal in distorted and degenerate forms
What is Statistical Self-Similarity?
Certain statistical properties are repeated. Differences are based on statistical algorithm
- This is the weakest
Why would typical basic primitives (lines, circles, polygons) not be suitable for fractals?
Would need millions of these to work
How does the Diamond-Square Algorithm work?
- Start by setting the initial values for the corner points of the grid
- Alternate between performing a diamond step and a square step until completion.
- Diamond Step: for each square in the array, set the midpoint of that square to be the average of the intersecting points plus a random value
- Square Step: for each diamond in the array, set the midpoint of that diamond to be the average of the intersecting points plus a random value