230 likes | 327 Views
U SIGN L OGO TO M ODEL AND A NIMATE. Pavel Boytchev E UROLOGO 2005, W ARSZAWA 27-31 A UGUST 2005. A BOUT THE P RESENTATION. Why using Logo to model and animate? Tree models Spying eyes Water waves Ghost stories Final words. W HY L OGO ? W HY A NIMATIONS ?.
E N D
USIGN LOGOTOMODELAND ANIMATE Pavel Boytchev EUROLOGO 2005, WARSZAWA 27-31 AUGUST 2005
ABOUTTHEPRESENTATION • Why using Logo to model and animate? • Tree models • Spying eyes • Water waves • Ghost stories • Final words
WHY LOGO ? WHY ANIMATIONS ? • A language for childrenDeveloped low threshold and not well utilized high ceiling • Myths enforced by industryProfessional programming languages and Logo • Logo is as strong as the combined power of all Logo dialectsStudents' questions help us show the power of Logo
SPYING EYESPROBLEMS • The most expressive part of the face • People have special sense of eyes • Synchronizing eyes movements • Real-looking eyes, not cartoon-like ones
to EYE :x:y local "eye make "eye sphere (point :x:y0) 60 to ondrawimage end end make "left_eye EYE -1000make "right_eye EYE 1000 SPYING EYESMODEL • Using a sphere for the shape • Using texture for the details- a hand-made texture- no need to be too detailed
SPYING EYESANIMATION • Eye movement- synchronization- close-object focusing (non-parallel look) • 3D variant of Logo’s TOWARDS- eigen axis of an object- vector from the eye to the target- individual processing of each of the eyes
SPYING EYESDEMONSTRATIONS 0 - EYE MODEL 1 - PAIROF EYES 2 - FLYON NOSE 3 - RINGOF EYES 4 - READING EYES 5 - TWO PAIRS
WATER WAVESPROBLEMS • Water is all around us, and students naturally want to model it • Always in movement • Too complex to model precisely
WATER WAVESMODELAND ANIMATION • A model cannot exist apart of the animation • A grid of points oscillating up and down • Interpolation of intermediate points
WATER WAVES DEMONSTRATIONS 6 - SIMPLE WAVES 7 - DETAILED WAVES 8 - TEXTURED WAVES 9 - POOL & FOUNTAIN
GHOST STORIESPROBLEMS • Ethereal appearance • semitransparent bed-sheet body • traditional ghostly head, hands; lack of lower body • Roving movements • floating in the air • soft, smooth transitions
GHOST STORIESMODEL • A virtual sheet • a grid of 5x5 points • Ghost hands • left and right sides of the sheet • Head and torso • middle of sheet as head • front and back sides for the torso
GHOST STORIESANIMATION • Similar control as in water waves • Hands control points moved at once • Various body parts move asynchronously • Each movement based on oscillation
GHOST STORIESDEMONSTERATIONS 10 - MAKINGA GHOST 11 - ANIMATING 12 - GHOST STORIES