UDLS by Andrej Karpathy How to spot them Has detail on every level - - PowerPoint PPT Presentation

udls by andrej karpathy how to spot them
SMART_READER_LITE
LIVE PREVIEW

UDLS by Andrej Karpathy How to spot them Has detail on every level - - PowerPoint PPT Presentation

UDLS by Andrej Karpathy How to spot them Has detail on every level Is self-similar at different sizes test Not magic Julia Sets: How are they generated? Function iteration c= some_complex_number() for all x,y in window of


slide-1
SLIDE 1

UDLS by Andrej Karpathy

slide-2
SLIDE 2

How to spot them

  • Has detail on every level
  • Is self-similar at different sizes
slide-3
SLIDE 3

test

slide-4
SLIDE 4

Not magic

slide-5
SLIDE 5

Julia Sets: How are they generated?

slide-6
SLIDE 6

Function iteration

  • c= some_complex_number()
  • for all x,y in window of interest:
  • z= x + iy
  • for i=1..1000:
  • z= z^2 + c
  • if |z|<4: color (x,y) black
slide-7
SLIDE 7

Function iteration

  • c= some_complex_number()
  • for all x,y in window of interest:
  • z= x + iy
  • for i=1..1000:
  • z= z^2 + c
  • if |z|<4: color (x,y) black

c= 1.23+0.7i c=0

slide-8
SLIDE 8

Mandelbrot set

  • always start at 0, and look at effect of changing c

for all x,y in square of length 2: c= x+iy z= 0 for i=1..1000: z= z^2 + c if z<2: color (x,y) black

slide-9
SLIDE 9

Demo of fractal eXtreme

slide-10
SLIDE 10

Geometric fractals

slide-11
SLIDE 11

Generating the Sierpinski Triangle

  • Geometric construction / L-system
slide-12
SLIDE 12

Generating the Sierpinski Triangle

  • Pascal’s triangle
slide-13
SLIDE 13

Generating the Sierpinski Triangle

  • Cellular automata
  • Rule 90
slide-14
SLIDE 14

Generating the Sierpinski Triangle

  • Chaos game

do like... 10000 times or something: p = randompoint() for i=1..100: p= (p+randomvertex())/2 plot black dot at p

slide-15
SLIDE 15

Koch Snowflake

L system basis and generator:

Iterations:

Perimeter calculation: Iteration 0: 3 Iteration 1: 3*(4/3) Iteration 2: 3*(4/3)^2 … Iteration n: 3*(4/3)^n

slide-16
SLIDE 16

Fractals in nature

slide-17
SLIDE 17

Fractals in nature

slide-18
SLIDE 18

3D fractals

slide-19
SLIDE 19

3D Fractals Video

slide-20
SLIDE 20

Fractal music

slide-21
SLIDE 21

END

return;