Tao Ju, Ron Goldman Rice University

Slides:



Advertisements
Similar presentations
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Advertisements

7.3 Rotations Advanced Geometry.
Do Now:.
MCC8.G.1, 2, and 3 Translation Reflection Rotation.
Answer the following questions using yesterday’s Translation Task: 1.What is a transformation? 2.What are vertices? 3.When does it mean when geometric.
L systems (Aristid Lindenmayer)
L-systems Presented by Luv Kohli COMP258 October 30, 2002 Images copyright © 1992 D. Fowler, P. Prusinkiewicz, and J. Battjes.
REFLECTIONS, ROTATIONS AND TRANSLATIONS. Reflections.
Dragon Curve Drawn in Project 4… How to generate the string of drawing commands? How does the dragon curve come about? 1.
LOGO SOFTWARE BY: SAVE 9S. INTRODUCTION Logo is a software that can be found at : Shared area> High School > ICT > take home software > LOGO32. This is.
L-Systems and Procedural Plants CSE 3541 Matt Boggus.
Microsoft® Small Basic
Draw rotations in the coordinate plane.
1 CSC 221: Computer Programming I Fall 2011 Fun with turtle graphics  turtle module  relative motion (setup, reset, left, right, forward, backward) 
Main Points: - Python Turtle - Fractals
A SIMPLE COMPUTER LANGUAGE LOGO. LOGO Introduction Logo is the simplest programming language. It.
Class 2 Introduction to turtle graphics
Introduction to Algorithms using Netlogo. What’s an Algorithm Definitions of Algorithm on the Web: –A procedure or formula for solving a problem.
TURTLE GRAPHICS IP MR. MELLESMOEN. LOGO IN THE 1970’S THERE WAS A SIMPLE BUT POWERFUL PROGRAMMING LANGUAGE CALLED LOGO THAT WAS USED BY A FEW.
Logo For beginners By Dali Matthews 9S What is logo?
An introduction to Logo Mike Warriner Engineering Director, Google Note: This course is not an endorsement of Logo by Google. All views in this document.
Objectives Define and draw lines of symmetry Define and draw dilations.
Linear Algebra THURSDAY, AUGUST 14. Learning Target I will understand what is meant by turn or rotational symmetry and how each point in a figure is related.
Copyright © Curt Hill Visualization of 3D Worlds How are these images described?
Warm up What type of transformation is shown? Write the algebraic representation. Write the coordinates of the original triangle after reflection over.
Transformations Objective: to develop an understanding of the four transformations. Starter – if 24 x 72 = 2016, find the value of: 1)2.8 x 72 = 2)2.8.
CS559: Computer Graphics Lecture 8: Warping, Morphing, 3D Transformation Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Answer the following questions using yesterday’s Translation Task: 1.What is a transformation? 2.What are vertices? 3.When does it mean when geometric.
Coordinate Grids Ms. Cuervo.
10-1(B) and 10-2(D) Translations and Reflections on the Coordinate Plane.
Review from Friday The composition of two reflections over parallel lines can be described by a translation vector that is: Perpendicular to the two lines.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
1.2: Transformations CCSS
Logo for Beginners By Chris 9S.
Activation—Unit 5 Day 1 August 5 th, 2013 Draw a coordinate plane and answer the following: 1. What are the new coordinates if (2,2) moves right 3 units?
Adobe Illustrator CS5 - Illustrated Unit B: Performing Essential Operations.
Chapter 7 Vector Editing © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Geometry 7.1: Transformations GOAL: Learn the three major types of geometric transformations.
Main characteristics of Vector graphics  Vector graphics provide an elegant way of constructing digital images (diagrams, technical illustration and.
Examining the orientation and congruence of transformations by bobcatmath8th.weebly.com NAME DATE The Unit Organizer BIGGER.
Grammars, L-Systems Jim Whitehead UC Santa Cruz School of Engineering courses.soe.ucsc.edu/courses/cmps265/Spring14/01 23 Apr 2014.
TRANSFORMATION GEOMETRY
Using the Python Turtle
Geometry 4-3 Rotations.
Python Turtle Graphics
LOGO BY Kaotip 9S.
Transformations and Symmetry
Transformations By: Christina Chaidez Math 1351.
Chapter 7 Vector Editing
Transformations Example Draw the line Draw 1 at , ,
البرمجة مع لغة PYTHON TURTLE
A movement of a figure in a plane.
A movement of a figure in a plane.
A movement of a figure in a plane.
Lesson 4-3 Rotations or Turns.
Performing Essential Operations
What is a transformation? What are vertices?
Rotation: all points in the original figure rotate, or turn, an identical number of degrees around a fixed point.
9.3 ROTATIONS.
Congruence Transformations
Logo Programming.
Reflect the shapes in the mirror lines
Warm Up 1. A point P has coordinates (1, 4). What are its new coordinates after reflecting point P across the x-axis? [A] (-1, 4) [B] (1, 4) [C] (1, -4)
Transformations Translation Reflection The FRAME Routine
Question 29.
Transformations Maria Garcia.
Transformations - Rotations
Draw the line… y = 5.
Warm-up Question (not in your book)
Presentation transcript:

Tao Ju, Ron Goldman Rice University Hodograph Turtles Tao Ju, Ron Goldman Rice University

Introduction LOGO Turtle Geometry Drawing with FORWARD and TURN Polygons, stars, … and fractals Turtle Geometry Local and coordinate free geometry Morphing, L-systems, Plant modeling, theory of relativity…

Classical Turtle Turtle state: Position (P), Direction (w) Turtle commands: FORWARD d Pnew = P + d w TURN a w1new = w1 cos(a) - w2 sin(a) w2new = w1 sin(a) + w2 cos(a) PEN_UP, PEN_DOWN w P

Classical Turtle Turtle program Initial state: P = {0,0} and w = {1,0} Sequence of turtle commands Plots the trace of position P Turtle Program Turtle Geometry

Hodograph Turtle Motivation: Plot the trace of direction w Hodograph: tangential trajectory Turtle state: Direction (w) Not affected by FORWARD Command Classical Turtle Hodograph Turtle w FORWARD 1: w P Pnew wnew wnew TURN /6: w w P

Classical vs. Hodograph Classical Turtle Hodograph Turtle Local vs. Global coordinate frame

Shapes Inscribed In Circles Hodograph turtle makes programming easier Rosette Classical Turtle Hodograph Turtle

Shapes Inscribed In Circles Hodograph turtle makes programming easier Circle & Star Classical Turtle Hodograph Turtle

Resize RESIZE s: wnew = s w Program Classical Turtle Hodograph Turtle

Fractals – Classical Turtle Recursive Turtle Program (RTP) Base case + Recursion body RTP 1 Sierpenski Triangle 1 2 3 4 5

Fractals – Classical Turtle RTP 2 Sierpenski Triangle

Fractals – Hodograph Turtle Hodograph path helps to Reveal how the fractal is drawn Reflect the simple recursive structure Classical Hodograph I Hodograph II

Fractals – Hodograph Turtle Classical “Koch Snowflake” Hodograph New way of generating fractals

Fractals – Hodograph Turtle Classical “C-Curve” Hodograph New way of generating fractals

Anchor Commands Motivation: Free the poor creature (from being tethered to the origin) ! Augmented hodograph turtle (P’, w) Draws the trace of ( P’ + w ) Initial state: P’ = {0,0} Anchor_Down: P’ stays fixed Anchor_Up: P’ moves with P

Augmented Hodograph Turtle Program Hodograph Aug. Hodograph

Anchors and Fractals The augmented hodograph turtle generates the same fractal in the limit as the classical turtle if : Both the pen and the anchor are up in the recursion body. In the base case, the pen is down and either The anchor is up, or The anchor is down and the turtle commands introduce no net change in the classical turtle's position vector P.

Anchors and Fractals Classical Turtle Augmented Hodograph Turtle 1 3 5

Augmented Hodograph turtle Summary Classical Turtle Hodograph Turtle Augmented Hodograph turtle State P, w w P’,w Commands F,T,P T,P F,T,P,A Geometry Arbitrary Concentric Coordinate Frame Local Global Hybrid F: FORWARD, T: TURN, P: PEN, A: ANCHOR

Summary Hodograph turtles can Simplify drawing of shapes inscribed in circles Reveal how the classical turtle geometry is drawn Reflect recursive structure of turtle programs Generate new fractals As powerful as classical turtles !

Open Questions Extending theories of classical turtle to hodograph turtles Looping Lemma, Space-time warping, non-conformal mappings, etc. Easier than classical turtle for teaching? No FORWARD command Single transformation: rotation