/
EPS 109 Final EPS 109 Final

EPS 109 Final - PowerPoint Presentation

pasty-toler
pasty-toler . @pasty-toler
Follow
373 views
Uploaded On 2016-03-01

EPS 109 Final - PPT Presentation

Project An Attempt at Fractal Plants Natalie Mezaki Sweet Cherries The Method Goals C reate a plant that showed fractal like self similarity Make that plant beautiful The Code Two different scripts ID: 237788

linewidth plant color line plant linewidth line color fractal branches color

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "EPS 109 Final" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

EPS 109 Final Project:An Attempt at Fractal PlantsNatalie Mezaki

Sweet

CherriesSlide2

The MethodGoals:

C

reate a plant that showed fractal like self similarity

Make that plant beautiful

The Code:

Two different scripts

a function that draws the arms (branches and flowers) and shortens/rotates them as it iterates (modified twice for different

colors and the other trees)

Uses two rotation matrices to angle the branches, tries to color every other branch drawn a different color

The main script which draws the stems, sets the background, and calls the

plantarms

function

The Outcome:

Original idea for the angles of the branches proved difficult to get right, so I decided to lengthen the stems into tree trunks and try to make something aesthetically pleasing but still reminiscent of a fractal plant Slide3

Sweet Cherries

Run my movie:

Open

-

plantarms.m

-

pinkarms.m

-

redarms.m

Run

-

plant.m

Change theta and eta for different shaped treesSlide4

A Learning Experience line([m1(1) m2(1)], [m1(2) m2(2)], '

Linewidth

', 7, '

Color’,

[.35 .6 .43]

);

line

([n1(1) n2(1)], [n1(2) n2(2)], '

Linewidth', 4, 'Color', [.35 .6 .43]);line([p1(1) p2(1)], [p1(2) p2(2)], 'Linewidth', 4, 'Color’, [.35 .6 .43]);