College of Computer and Information Science, Northeastern UniversityAugust 12, 20151 CS G140 Graduate Computer Graphics Prof. Harriet Fell Spring 2007.

Slides:



Advertisements
Similar presentations
What is a Fractal? A fractal is a mathematical object that is both self-similar and chaotic. self-similar: As you magnify, you see the object over and.
Advertisements

ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Computer Graphics Computer Animation& lighting Faculty of Physical and Basic Education Computer Science Dep Lecturer: 16 Azhee W. MD.
Animation. 12 Principles Of Animation (1)Squash and Stretch (2)Anticipation (3)Staging (4)Straight Ahead Action and Pose to Pose (5)Follow Through and.
So far we’ve done… Dynamics and chaos Thermodynamics, statistical mechanics, entropy, information Computation, Turing machines, halting problem Evolution,
L systems (Aristid Lindenmayer)
Graphics Korea University Computer Animation Computer Graphics.
Chapter 9: Recursive Methods and Fractals E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
L-systems Presented by Luv Kohli COMP258 October 30, 2002 Images copyright © 1992 D. Fowler, P. Prusinkiewicz, and J. Battjes.
Fractals Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New.
The infinitely complex… Fractals Jennifer Chubb Dean’s Seminar November 14, 2006 Sides available at
Procedural Modeling L-Systems Procedural Terrain Procedural Behavior Based on the slides from Spring 2007.
Simulating Trees with Fractals and L-Systems Eric M. Upchurch CS 579.
CS39N The Beauty and Joy of Computing Lecture #11 Recursion III It has been a challenge to power electronic components implanted within a body.
Fractals Complex Adaptive Systems Professor Melanie Moses March
CS4395: Computer Graphics 1 Fractals Mohan Sridharan Based on slides created by Edward Angel.
The rapid display of a sequence of images or model positions in order to create an illusion of movement. ANIMATION.
Approaches To Infinity. Fractals Self Similarity – They appear the same at every scale, no matter how much enlarged.
1 GEM2505M Frederick H. Willeboordse Taming Chaos.
History, Principles & More. History: Pioneers of Animation J. Stuart Blackton ( ) Winsor McCay ( ) John Bray ( ) Max Fleischer.
05/09/02(c) 2002 University of Wisconsin Last Time Global illumination algorithms Grades so far.
Morphogenesis and Lindenmayer Systems (L-systems) Gabriela Ochoa
IlliDOL: A Framework for Exploration of L- Systems in Three Dimensions Vilas Dhar Math 198 Spring 2003.
Computing & Information Sciences Kansas State University Lecture 37 of 42CIS 636/736: (Introduction to) Computer Graphics Lecture 37 of 42 Monday, 28 April.
Structured Chaos: Using Mata and Stata to Draw Fractals
Algorithmic Art Mathematical Expansions –Geometric, Arithmetic Series, Fibonacci Numbers Computability –Turing Fractals and Brownian Motion, CA –Recursive.
Introduction to Flash FYS100 Creative Discovery in Digital Art Forms Spring 2007 Burg.
Fractals for Kids Clint Sprott Department of Physics University of Wisconsin - Madison Presented at the Chaos and Complex Systems Seminar in Madison, Wisconsin.
College of Computer and Information Science, Northeastern UniversityOctober 5, CS G140 Graduate Computer Graphics Prof. Harriet Fell Spring 2006.
CSC418 Computer Graphics n Animation Principles n Keyframe Animation.
® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH PROFESSIONAL CS5.
L-Systems and Procedural Plants CSE 3541 Matt Boggus.
College of Computer and Information Science, Northeastern UniversityOctober 13, CS U540 Computer Graphics Prof. Harriet Fell Spring 2007 Lecture.
The Artificial Life of Plants Przemyslaw Prusinkiewicz, Mark Hammel, Radom´ır Mˇech Department of Computer Science University of Calgary Calgary, Alberta,
Examining the World of Fractals. Myles Akeem Singleton Central Illinois Chapter National BDPA Technology Conference 2006 Los-Angeles, CA.
Computer Graphics 2 In the name of God. Outline Introduction Animation The most important senior groups Animation techniques Summary Walking, running,…examples.
L-Systems Lindenmayer Systems Prusinkiewicz and Lindenmayer
Summer School „Modelling and Simulation with GroIMP“ / Tutorial for beginners University of Göttingen (Germany), September, 2010 Winfried Kurth Some.
Lindenmayer systems Martijn van den Heuvel May 26th, May 26th, 2011.
L-system and SVG 2D SVG Tree 2002/10/16.
Evolutionary Robotics Using A Formal Grammar To Evolve Robot Bodies and Brains Hornby, G.S., Pollack, J. (2001) Creating high-level components with a generative.
How to Draw a Tree L-Systems in Computer Graphics Steven Janke.
1 10/27/ :26 UML Simplicity in Complexity. 2 10/27/ :26 UML Rewriting Systems Classic Example: Koch 1905 Initiator Generator.
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
David Chan TCM and what can you do with it in class?
College of Computer and Information Science, Northeastern UniversityNovember 22, CS U540 Computer Graphics Prof. Harriet Fell Spring 2007 Lecture.
LINDFERN Lindenmayer Systems in VPython Nick Langhammer.
UNC Chapel Hill M. C. Lin Basics of Motion Generation let X i = position,orient. of O i at t k = t 0,  i END = false while (not END) do display O i, 
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Fractals! Bullock Math Academy March 22, 2014 Brian Shelburne
Experimenting with Grammars to Generate L-Systems October 29, 2007
Lecture 9 Razia Nisar Noorani. 2 TWO DIFFERENT FORMS:  2-D evolved from traditional animation techniques.  3-D exploited capabilities unique to the.
Fractals Cassi Blum.
Introduction to Animation In animation, a series of images are rapidly changed to create an illusion of movement.
Animation Animation is about bringing things to life Technically: –Generate a sequence of images that, when played one after the other, make things move.
Fractals Lesson 6-6.
Development of structure. Additional literature Prusinkiewicz P, Lindenmayer A., 1990, The algorithmic beauty of plants, Springer Korvin G., 1992, Fractal.
Grafika Komputer dan Visualisasi Disusun oleh : Silvester Dian Handy Permana, S.T., M.T.I. Fakultas Telematika, Universitas Trilogi Pertemuan 12 : Realisme.
1 What did we learn before?. 2 line and segment generation.
Experimenting with Grammars to Generate L-Systems – in JFLAP March 31, 2011 Prof. Susan Rodger Computer Science Dept.
Grammars, L-Systems Jim Whitehead UC Santa Cruz School of Engineering courses.soe.ucsc.edu/courses/cmps265/Spring14/01 23 Apr 2014.
Fractals and L-Systems
A Look Into Photorealistic and Non-Photorealistic Rendering
Flash Interface, Commands and Functions
Computer Graphics Lecture 40 Fractals Taqdees A. Siddiqi edu
ATCM 3310 Procedural Animation
INTRODUCTION TO ADOBE FLASH CS4
CS5310 Graduate Computer Graphics
(c) 2002 University of Wisconsin
Prof. Susan Rodger Computer Science Dept
Presentation transcript:

College of Computer and Information Science, Northeastern UniversityAugust 12, CS G140 Graduate Computer Graphics Prof. Harriet Fell Spring 2007 Lecture 9 – March 26, 2007

College of Computer and Information Science, Northeastern UniversityAugust 12, Today’s Topics Animation Fractals

College of Computer and Information Science, Northeastern UniversityAugust 12, Animation Keyframing  Set data at key points and interpolate. Procedural  Let mathematics make it happen. Physics-based  Solve differential equations Motion Capture  Turn real-world motion into animation.

College of Computer and Information Science, Northeastern UniversityAugust 12, Key Principles of Animation John Lasseter 1987 Squash and stretch Timing Anticipation Follow through and overlapping action Slow-in and slow-out Staging Arcs Secondary action Straight ahead and pose-to-pose action Exaggeration Solid drawing skill Appeal »Siggraph web referenceSiggraph web reference

College of Computer and Information Science, Northeastern UniversityAugust 12, PowerPoint Animation

College of Computer and Information Science, Northeastern UniversityAugust 12, Animated gif Johan Ovlinger’s Trip to Earth and Back

College of Computer and Information Science, Northeastern UniversityAugust 12, Pyramid of 35 Spheres Rendered by Blotwell using POV-Ray and converted with Adobe ImageReady.Blotwell

College of Computer and Information Science, Northeastern UniversityAugust 12, Deformation

College of Computer and Information Science, Northeastern UniversityAugust 12, Blender free software, under the terms of the GNU General Public License

College of Computer and Information Science, Northeastern UniversityAugust 12, Character Animation

College of Computer and Information Science, Northeastern UniversityAugust 12, Physics-Based Animation

College of Computer and Information Science, Northeastern UniversityAugust 12, Flash Animation POWER OF THE GEEK

College of Computer and Information Science, Northeastern UniversityAugust 12, Keyframing A frame is one of the many still images that make up a moving picture. A key frame is a frame that was drawn or otherwise constructed directly by the user. In hand-drawn animation, the senior artist would draw these frames; an apprentice would draw the "in between" frames. In computer animation, the animator creates only the first and last frames of a simple sequence; the computer fills in the gap. This is called in-betweening or tweening.

College of Computer and Information Science, Northeastern UniversityAugust 12, Flash Basics Media objects  graphic, text, sound, video objects The Timeline  when specific media objects should appear on the Stage ActionScript code  programming code to make for user interactions and to finely control object behavior

College of Computer and Information Science, Northeastern UniversityAugust 12, Lord of the Rings Inside Effects

College of Computer and Information Science, Northeastern UniversityAugust 12, Fractals The term fractal was coined in 1975 by Benoît Mandelbrot, from the Latin fractus, meaning "broken" or "fractured". (colloquial) a shape that is recursively constructed or self-similar, that is, a shape that appears similar at all scales of magnification. (mathematics) a geometric object that has a Hausdorff dimension greater than its topological dimension.

College of Computer and Information Science, Northeastern UniversityAugust 12, Mandelbrot Set Mandelbrotset, rendered with Evercat's program.Evercat

College of Computer and Information Science, Northeastern UniversityAugust 12, Mandelbrot Set

College of Computer and Information Science, Northeastern UniversityAugust 12, What is the Mandelbrot Set? We start with a quadratic function on the complex numbers. The Mandelbrot Set is the set of complex c such that

College of Computer and Information Science, Northeastern UniversityAugust 12, Example

College of Computer and Information Science, Northeastern UniversityAugust 12, (Filled-in) Julia Sets The Julia Set of f c is the set of points with 'chaotic' behavior under iteration. The filled-in Julia set (or Prisoner Set), is the set of all z whos orbits do not tend towards infinity. The "normal" Julia set is the boundary of the filled-in Julia set. c = – 1c = –.5 +.5ic = – 5 +.5i

College of Computer and Information Science, Northeastern UniversityAugust 12, Julia Sets and the Mandelbrot Set Some Julia sets are connected others are not. The Mandelbrot set is the set of c   for which the Julia set of f c (z) = z 2 + c is connected. Map of 121 Julia sets in position over the Mandelbrot set (wikipedia)

College of Computer and Information Science, Northeastern UniversityAugust 12, A fractal is formed when pulling apart two glue-covered acrylic sheets.

College of Computer and Information Science, Northeastern UniversityAugust 12, Fractal Form of a Romanesco Broccoli photo by Jon Sullivan

College of Computer and Information Science, Northeastern UniversityAugust 12, Time for a Break

College of Computer and Information Science, Northeastern UniversityAugust 12, L-Systems An L-system or Lindenmayer system, after Aristid Lindenmayer (1925–1989), is a formal grammar (a set of rules and symbols) most famously used to model the growth processes of plant development, though able to model the morphology of a variety of organisms.L-system or Lindenmayer system L-systems can also be used to generate self- similar fractals such as iterated function systems.

College of Computer and Information Science, Northeastern UniversityAugust 12, L-System References Przemyslaw Prusinkiewicz & Aristid Lindenmayer, “The Algorithmic Beauty of Plants,” Springer,

College of Computer and Information Science, Northeastern UniversityAugust 12, L-System Grammar G = {V, S, ω, P}, where  V (the alphabet) is a set of variables  S is a set of constant symbols  ω (start, axiom or initiator) is a string of symbols from V defining the initial state of the system  P is a set of rules or productions defining the way variables can be replaced with combinations of constants and other variables. A production consists of two strings - the predecessor and the successor.

College of Computer and Information Science, Northeastern UniversityAugust 12, L-System Examples Koch curve (from wikipedia) A variant which uses only right-angles.  variables : F  constants : + −  start : F  rules : (F → F+F−F−F+F) Here, F means "draw forward", + means "turn left 90°", and - means "turn right 90°" (see turtle graphics).turtle graphics

Turtle Graphics class Turtle { double angle;// direction of turtle motion in degrees double X;// current x position double Y;// current y position double step;// step size of turtle motion boolean pen;// true if the pen is down public void forward(Graphics g) // moves turtle forward distance step in direction angle public void turn(double ang) // sets angle = angle + ang; public void penDown(), public void penUp() // set pen to true or false }

College of Computer and Information Science, Northeastern UniversityAugust 12, My L-System Data Files Koch Triangle Form// title 4// number of levels to iterate 90// angle to turn F// starting shape F:F+F-F-F+F// a rule F F+F-F-F+F F+F-F-F+F+F+F-F-F+F-F+F-F-F+F- F+F-F-F+F+F+F-F-F+F Go to Eclipse

College of Computer and Information Science, Northeastern UniversityAugust 12, More Variables Dragon When drawing, treat L and R just like F L L:L+R+ R:-L-R LL+R+L+R+ + -L-R + L+R+ + -L-R L+R+ - -L-R +

College of Computer and Information Science, Northeastern UniversityAugust 12, A Different Angle Sierpinski Gasket 6 60 R L:R+L+R R:L-R-L R L-R-L R+L+R- L-R-L -R+L+R

College of Computer and Information Science, Northeastern UniversityAugust 12, Moving with Pen Up Islands and Lakes 2 90 F+F+F+F F:F+f-FF+F+FF+Ff+FF-f+FF-F-FF-Ff-FFF f:ffffff// f means move forward with the pen up F+F+F+F next slide F+f-FF+F+FF+Ff+FF-f+FF-F-FF-Ff-FFF

College of Computer and Information Science, Northeastern UniversityAugust 12, Islands and Lakes One Side of the Box F+f-FF+F+FF+Ff+FF-f+FF-F-FF-Ff-FFF

College of Computer and Information Science, Northeastern UniversityAugust 12, FF-[-F+F+F]+[+F-F-F] Using a Stack to Make Trees Tree1 [ push the turtle state onto the stack 4 ] pop the turtle state from the stack 22.5 F F:FF-[-F+F+F]+[+F-F-F] and I add leaves here

Stochastic L-Systems seed: 2454 // different seeds for different trees derivation length: 3 axiom: F F--> F[+F]F[-F]F : 1/3 F--> F[+F]F : 1/3 F--> F[-F]F : 1/3

College of Computer and Information Science, Northeastern UniversityAugust 12, D Turtle Rotations Heading, Left, or, Up vector tell turtle direction. +(θ) Turn left by angle θ◦ around the U axis. −(θ) Turn right by angle θ◦ around the U axis. &(θ) Pitch down by angle θ◦ around the L axis. ∧ (θ) Pitch up by angle θ◦ around the L axis. \(θ) Rollleftbyangleθ◦ around the H axis. /(θ) Roll right by angle θ◦ around the H axis. | Turn around 180◦ around the U Roll the turtle around the H axis so that H and U lie in a common vertical plane with U closest to up.

College of Computer and Information Science, Northeastern UniversityAugust 12, A Mint A model of a member of the mint family that exhibits a basipetal flowering sequence.