E N D
End-Listener License Agreement The next presentation is provided "as is" without warrantyof any kind. The entire risk is assumed by you, the listener. There is no warranty of any kind, either express or implied, including but not limited to the warranties of merchantability and fitness for purpose. The next presenter is not liable for any direct, indirect, consequential or incidental damages (including damagesfor loss of business profits, business interruption, loss of business information, and the like.) arising out of the listening to or the inability to listen to the presentation. EuroLogo 2007 Bratislava August 19-24 2007
Design and Implementationof a Logo-based CG Course Pavel Boytchev boytchev@fmi.uni-sofia.bg Dept of Information Technologies, Faculty of Mathematics and Informatics, Sofia University EuroLogo 2007 Bratislava August 19-24 2007
Cheating teaching Teaching cheating Contents(unordered incomplete list) • Vegetables • Segregation • Exhibitionism • Mythology • TeaCHing EuroLogo 2007 Bratislava August 19-24 2007
Challenges • Logo courses at Sofia University • 2005 – switching to new Logo • Pedagogical challenges • Cover wider range of students • Cover wider range ot topics • Suitable for Bachelor’s & Master’s • Attended by students from Informatics, Math, Applied Math, Mechanics, Math&Inf EuroLogo 2007 Bratislava August 19-24 2007
More Challenges • Development challenges • Complete redesign of the course • Changing all teaching materials (software, tools, practices) • Psychological challenges • Finding charm in Computer Graphics • Maintaining wowness EuroLogo 2007 Bratislava August 19-24 2007
Introduction Core section Advanced section Course Structure • Duration 15 weeks • 30 lectures + 30/45/60 lab classes • Golden section • Flexible structure layout • Accustomed to students’ skills • Accustomed to students’ speciality EuroLogo 2007 Bratislava August 19-24 2007
Course Sections • Introduction • Compuer graphics and vegetables • Course goals: cheating; building blocks • Learning Logo and OOP • Core section • Computer graphics • Non-turtle and Turtle graphics • Advanced section • Advanced algorithms • Custom topics EuroLogo 2007 Bratislava August 19-24 2007
Class Structure • Similar layout to the course structure • Golden ratio: intro, core and advanced • Dynamically adjusted • Progressive examples from theory to art • Examples available online • Interactive communication EuroLogo 2007 Bratislava August 19-24 2007
Real-time Programming • Programs written on-the-fly • Software exhibitionism • Risk of bugs – pogrammer’s nightmare, daymare and softmare • Resolving bugs in real-time • Public debugging • Benefiting from bugs • Mastering the art of debu… oops… thinking • Gathering new ideas EuroLogo 2007 Bratislava August 19-24 2007
Multidisciplinarity andKnowledge Segregation • Main ideas • No boundary strip between subjects (sciences) • Reusing facts, knowledge and ideas • Demonstration of applicability of CG • Implementation • New contexts for known things • Multiple multidisciplinarity within a single class EuroLogo 2007 Bratislava August 19-24 2007
Introduction Core section Advanced section Class examples Points Bouncing balls Relative transformationalgraphics + Turtle graphics EuroLogo 2007 Bratislava August 19-24 2007
Points • Week 4 • First introduction to Computer Graphics • Points and segments, 3D space, colours • Multiple Multidisciplinarity • Computer science: loops, conditional execution, counters • Analytics: function composition • Analytical Geometry: Cartesian and polar coordinates, equations for cubes and spheres, volumes • Applied Statistics and Probability • Biology: visual perception • Psycology EuroLogo 2007 Bratislava August 19-24 2007
Examples from “Points” 13. Random points in a cube . . . . 17. Points in a sphere . . . . . . . . . . How many? =? 21. Pincushion . . . . . . . . . . . . . . . . 24. Segment selection . . . . . . . . . . See something but cannot point it? 30. Colour transition . . . . . . . . . . . 3D colour space EuroLogo 2007 Bratislava August 19-24 2007
Bouncing Balls • Week 6 • Animation of several objects • Blending simple movements into one complex • Multiple Multidisciplinarity • Computer Science: parallelism, synchronisation • Calculus: function approximation • Geometry: solids, path in space • Physics: rotation, bouncing, friction, gravity • Trigonometrics: application of (co)sine EuroLogo 2007 Bratislava August 19-24 2007
Bouncing Balls Problem Create the following animation: • Two balls • Bounce up and down (unsynchronized) • Cast shadows on a platform • Two shadows • Shadows fade while balls go up • Shadows decrease while balls go up • Platform • Rotates clockwise-counterclockwise with smooth change of directions • Starts vibrating after being hit by a ball (any ball) • View-point • Makes circular movements around the objects • Moves up-down in a wavy manner EuroLogo 2007 Bratislava August 19-24 2007
Using Sine and Cosine • (Co)sine heavily used for movements • Bouncing is • Platform rotation is • Platform vibration is • View-point circular rotation is • Hit triggers are Bouncing balls Example from another lesson EuroLogo 2007 Bratislava August 19-24 2007
Relative Geometry/Turtle Graphics • Flexible coordinate system • Nested 3D worlds EuroLogo 2007 Bratislava August 19-24 2007
Examples 8a. Nested world (Baba Yaga) . . . 8b. Extraterrestial Dandelion . . . . 8c. Grass in the Wind . . . . . . . . . . 8d. Lernaean Pentapus . . . . . . . . . and The Matrix . . . . ? ?. Circus Dancer . . . . . . . . . . . . . EuroLogo 2007 Bratislava August 19-24 2007
The Exam • Course project • Topic suggested by students • Submitted as e-mail • Project support • Advanced section of the course • Through e-mail • Detailed info about current score and required changes EuroLogo 2007 Bratislava August 19-24 2007
Course Projects Helicopter . . . . . . . . . . . . . . . . . . . and another one . . Rubic Cube . . . . . . . . . . . . . . . . . . Dog . . . . . . . . . . . . . . . . . . . . . . . . and Pigs . . . . . . . . . Ants . . . . . . . . . . . . . . . . . . . . . . . . Solar System . . . . . . . . . . . . . . . . . . EuroLogo 2007 Bratislava August 19-24 2007
Be Patient There are only 3 slides left (except this one) EuroLogo 2007 Bratislava August 19-24 2007
Observations • Course Evaluation • Increasing number of students (6, 12, 40) • From elective to obligatory • Conquering other departments • Anonymous qestionary EuroLogo 2007 Bratislava August 19-24 2007
Problems • Hard to teach • Accept the risk to make public mistakes • Public debugging • Fluidal curriculum • Course materials • Snapshots of parallel versions of the same world • No textbook Help needed EuroLogo 2007 Bratislava August 19-24 2007
The End Of Part I EuroLogo 2007 Bratislava August 19-24 2007