<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5877356244911267140</id><updated>2011-09-28T15:08:37.388-07:00</updated><title type='text'>Animations for Physics and Astronomy Education</title><subtitle type='html'>This blog is a byproduct of a an &lt;a href="http://phys23p.sl.psu.edu/phys_anim/Phys_anim.htm"&gt;animations project&lt;/a&gt; where I've created many short animations for use in teaching introductory physics and astronomy.  I'll try to hit on technical aspects of making animations, personal aspects of that creative process as well as  the impact the animations have had in the classroom. -Mike Gallis</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://physanim.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5877356244911267140/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://physanim.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dr Mic</name><uri>http://www.blogger.com/profile/01951027689355261452</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_e4glIRhtilk/R4EMw-Q1w3I/AAAAAAAAAAM/ny8n7uv9lNg/S220/fractal_dig_octa_thm.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5877356244911267140.post-5276735538500039453</id><published>2010-12-31T10:40:00.000-08:00</published><updated>2010-12-31T10:40:52.847-08:00</updated><title type='text'>Fun with the Bright Star Catalog</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_e4glIRhtilk/TR1spnzvP0I/AAAAAAAAABU/mLFEvkJAwqo/s1600/simple_celestial_sphere_image.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="300" src="http://1.bp.blogspot.com/_e4glIRhtilk/TR1spnzvP0I/AAAAAAAAABU/mLFEvkJAwqo/s400/simple_celestial_sphere_image.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;In addition to teaching introductory physics courses (both conceptual and technical), I have the privilege of teaching conceptual astronomy.  One of the topics that arises early in the course is the Celestial Sphere, which provides a simple framework for describing the motions of objects through the heavens.&amp;nbsp; In order to represent the heavens somewhat accurately, I needed a source of data describing the positions of the stars.&amp;nbsp; The &lt;a href="http://en.wikipedia.org/wiki/Bright_Star_Catalogue"&gt;Bright Star Catalog&lt;/a&gt; (BSC) came to my rescue!&lt;br /&gt;&lt;br /&gt;The BSC is essentially a directory listing of the visible stars in our sky.&amp;nbsp; It can be found on the internet in a number of places, such as the &lt;a href="http://tdc-www.harvard.edu/catalogs/bsc5.html"&gt;Smithsonian Astrophysical Observatory Telescope Data Center&lt;/a&gt; and the &lt;a href="ftp://cdsarc.u-strasbg.fr/cats/V/50/"&gt;Centre de Données astronomiques de Strasbourg&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There is quite a bit of information for each star in the BSC, most importantly each star's coordinates (right ascension and declination), visual magnitude (apparent brightness) and parallax angle (a measure of distance).&amp;nbsp; The BSC data file has some handy documentation which describes how the ASCII data file is set up.&amp;nbsp; With the help of a &lt;a href="http://phys23p.sl.psu.edu/phys_anim/astro/star_chart/bsc5.xls"&gt;quick and dirty spreadsheet&lt;/a&gt; and some text file editing, the desired subset of data was converted&amp;nbsp; into &lt;a href="http://phys23p.sl.psu.edu/phys_anim/astro/star_chart/decimal_bsc5.csv"&gt;something more easily digested by POV-Ray&lt;/a&gt;. For convenience, the final data file was sorted by the visual magnitude of the stars, to make it easier to plot only the brightest of stars.&lt;br /&gt;&lt;br /&gt;I also wanted to include constellation lines in the visual depiction of the sky.&amp;nbsp; After a bit of internet sleuthing I found &lt;a href="http://starchart.sourceforge.net/"&gt;Starchart&lt;/a&gt;, an open source sky charting program, which also used the BSC and had a similar data file for constellations.&amp;nbsp; A little spreadsheet magic and final editing yielded a &lt;a href="http://phys23p.sl.psu.edu/phys_anim/astro/star_chart/pattern.star.csv"&gt;constellation data file&lt;/a&gt; for use with the BSC.&lt;br /&gt;&lt;br /&gt;POV-Ray uses its own scene description language in which objects are easily described via geometric&amp;nbsp;primitives and Constructive Solid Geometry. &amp;nbsp; In my animations, I simply place a sphere at a set distance from the center of&amp;nbsp;the&amp;nbsp;scene (or a distance&amp;nbsp;inversely&amp;nbsp;scaled by the star's parallax angle) at a location determined by the star's right ascension and declination. &amp;nbsp;The size and brightness of the sphere is determined by the star's&amp;nbsp;apparent&amp;nbsp;magnitude.&amp;nbsp;&amp;nbsp;Constellation lines are created by placing cylinders which go from specified point to specified point on the celestial sphere, as determined from &lt;i&gt;Starchart's &lt;/i&gt;constellation data file. The complete set of source files for the image at the top of this page can be found in &lt;a href="http://phys23p.sl.psu.edu/phys_anim/astro/star_chart/simple_celestial_sphere.zip"&gt;this zip file&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;On of the first animations I made using this data was a portrayal of the Celestial Sphere, illustrating how the rotation of this&amp;nbsp;imaginary&amp;nbsp;sphere gave a mechanical description of the&amp;nbsp;apparent daily motion of the objects in the heavens:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://0.gvt0.com/vi/S21dGzLS5wA/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/S21dGzLS5wA&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/S21dGzLS5wA&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;To reinforce the observational evidence at the time of Galileo &lt;i&gt;against &lt;/i&gt;a heliocentric cosmos, I created an animation to show how the constellations would distort over the course of a year if the Earth actually moved:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://2.gvt0.com/vi/qXJy04Sb-l4/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/qXJy04Sb-l4&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/qXJy04Sb-l4&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Of course we now know that the choices faced at the time was that either the Earth does not move &lt;i&gt;or&lt;/i&gt; the stars are very, very far away compared to the Earth-Sun distance. &amp;nbsp;The second case is what we actually have, which makes the&amp;nbsp;measurement&amp;nbsp;of any&amp;nbsp;apparent&amp;nbsp;shift in the position of stars impossible without a very good telescope.&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;Using the parallax data in the BSC, I created an animation the shows (with great&amp;nbsp;exaggeration) the shift in the positions of stars due to Earth's motion:&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://3.gvt0.com/vi/SG7RfZoc2M8/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/SG7RfZoc2M8&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/SG7RfZoc2M8&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;The BSC data was also used in an animation which illustrated how the&amp;nbsp;apparent&amp;nbsp;daily motion of the stars was created by the rotation of the earth:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://0.gvt0.com/vi/JCr_Pz4h2Bw/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/JCr_Pz4h2Bw&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/JCr_Pz4h2Bw&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Stellar backgrounds were required for animations on the Horizon System:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://1.gvt0.com/vi/QlDBQcrgmSk/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/QlDBQcrgmSk&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/QlDBQcrgmSk&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;the Equatorial&amp;nbsp;System:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://0.gvt0.com/vi/iGgOSfYTxFA/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/iGgOSfYTxFA&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/iGgOSfYTxFA&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;and the reasons for the seasons:&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://3.gvt0.com/vi/-thDt_50rfs/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/-thDt_50rfs&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/-thDt_50rfs&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;In a similar project, I've also managed to use &lt;a href="ftp://ftp.lowell.edu/pub/elgb/astorb.html"&gt;data on the asteroids in our solar system&lt;/a&gt; to create a 3-D map of the asteroid locations:&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://2.gvt0.com/vi/crAGTOHWqNY/0.jpg"&gt;&lt;param name="movie" value="http://www.youtube.com/v/crAGTOHWqNY&amp;fs=1&amp;source=uds" /&gt;&lt;param name="bgcolor" value="#FFFFFF" /&gt;&lt;embed width="320" height="266" src="http://www.youtube.com/v/crAGTOHWqNY&amp;fs=1&amp;source=uds" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;but I should note there are&amp;nbsp;several more detailed animated maps on &lt;a href="http://www.youtube.com/user/szyzyg"&gt;szyzyg's youtube channel&lt;/a&gt;.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;While many of these visual demonstrations can be done with wonderful programs such as &lt;a href="http://www.stellarium.org/"&gt;Stellarium&lt;/a&gt;, &lt;a href="http://www.shatters.net/celestia/"&gt;Celestia &lt;/a&gt;and others, I've found it easier in a live classroom setting to have a canned animation for many situations to eliminate some of the set up and configuration (not to mention IST administration requests) of additional programs.&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5877356244911267140-5276735538500039453?l=physanim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://physanim.blogspot.com/feeds/5276735538500039453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5877356244911267140&amp;postID=5276735538500039453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5877356244911267140/posts/default/5276735538500039453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5877356244911267140/posts/default/5276735538500039453'/><link rel='alternate' type='text/html' href='http://physanim.blogspot.com/2010/12/fun-with-bright-star-catalog.html' title='Fun with the Bright Star Catalog'/><author><name>Dr Mic</name><uri>http://www.blogger.com/profile/01951027689355261452</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_e4glIRhtilk/R4EMw-Q1w3I/AAAAAAAAAAM/ny8n7uv9lNg/S220/fractal_dig_octa_thm.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_e4glIRhtilk/TR1spnzvP0I/AAAAAAAAABU/mLFEvkJAwqo/s72-c/simple_celestial_sphere_image.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5877356244911267140.post-926537151920803640</id><published>2008-01-15T08:59:00.000-08:00</published><updated>2008-01-15T18:32:07.743-08:00</updated><title type='text'>Getting Started With POV-Ray</title><content type='html'>All the animations that I've developed have been created with the 3-D ray tracing program &lt;a href="http://povray.org/"&gt;POV-Ray&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;One of the best ways to learn about using  POV-Ray is the documentation that comes along with the program.  That documentation is also&lt;a href="http://www.povray.org/documentation/" class="external text"&gt; available online&lt;/a&gt; and in particular there is an excellent section on &lt;a href="http://www.povray.org/documentation/view/3.6.1/13/" class="external text" title="http://www.povray.org/documentation/view/3.6.1/13/" rel="nofollow"&gt;getting started&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.f-lohmueller.de/pov_tut/pov__eng.htm"&gt;Friedrich A. Lohmueller&lt;/a&gt; has a wonderful selection of  descriptions, samples and examples for POV-Ray.  In particular, his &lt;a href="http://www.f-lohmueller.de/pov_tut/animate/pov_anie.htm"&gt;animation tutorial&lt;/a&gt; will certainly help the beginner get started.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.econym.demon.co.uk/"&gt;Mike Williams&lt;/a&gt;  has a number of galleries and tutorials.  I continually refer to his &lt;a href="http://www.econym.demon.co.uk/isotut/index.htm" class="external text" title="http://www.econym.demon.co.uk/isotut/index.htm" rel="nofollow"&gt;Isosurface Tutorial&lt;/a&gt; when working with isosurfaces or using functions as texture maps.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.imagico.de/raytracing.html"&gt;Christoph Hormann&lt;/a&gt; has useful examples, tutorials, tools and include files relating to ray tracing in general, POV-Ray in particular as well as POV-Ray's unofficial enhancement, &lt;a href="http://megapov.inetart.net/"&gt;MegaPOV&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Finally, a sample POV-Ray file for a very simple animation to illustrate the essentials for creating a simple animation. Below is the source for the file &lt;span style="font-style: italic;"&gt;simple.pov&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;#include "colors.inc"    //this lets us use common color names&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;#include "finish.inc"    //use some generic finishes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;background{Gray}         // set the color of the background&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;camera {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  location  &lt;0,&gt;          //location in POV-Ray vector notation&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  look_at   &lt;0,0,0&gt;       //where the camera is pointed&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;}&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;light_source {&lt;/span&gt;&lt;br /&gt; &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;-20, 40, -20&gt;          // light's position&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  color rgb &lt;1,1,1&gt;       // light's color specified as a rgb "vector"&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;}&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;//hang a pendulum from the origin&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;union{                         // it is a combo object, CSG fun&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  cylinder{&lt;0,0,0&gt;,&lt;0,-4,0&gt;,.1  // sphere start,end, radius&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;    pigment{Blue}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;    finish{Shiny}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  sphere{&lt;0,-4,0&gt;,.5            // sphere center, radius&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;    pigment{Red}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;    finish{Dull}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  }&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  rotate z*30                   // the vertical tilt of the pendulum&lt;/span&gt; &lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;  rotate y*clock*360            // swing it around in a horizontal circle&lt;/span&gt;&lt;br /&gt;    &lt;span style="color: rgb(0, 51, 0);"&gt;                           // DYNAMIC with clock variable&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt; &lt;/span&gt; &lt;span style="color: rgb(0, 51, 0);"&gt;translate y*2                 // lift it back into center of view&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;which is run with the following ini file simple.ini&lt;br /&gt;&lt;pre&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;; POV-Ray animation ini file    ala Lohmueller&lt;/span&gt; &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Antialias=on&lt;/span&gt; &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Antialias_Threshold=0.2&lt;/span&gt; &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Antialias_Depth=3&lt;/span&gt;  &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Input_File_Name=simple.pov&lt;/span&gt;  &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Initial_Frame=1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;Final_Frame=30&lt;/span&gt; &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Initial_Clock=0&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;Final_Clock=1&lt;/span&gt;  &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Cyclic_Animation=on&lt;/span&gt; &lt;span style="color: rgb(0, 51, 0);"&gt;&lt;br /&gt;Pause_when_Done=off&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;and then sewn together using &lt;a href="http://www.virtualdub.org/"&gt;virtualdub&lt;/a&gt; to produce this animation:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-6ddfc47aebb8bab6" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v16.nonxt2.googlevideo.com/videoplayback?id%3D6ddfc47aebb8bab6%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330327657%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D43ABA41CBD191ECB5B2BBA9020C79D4EABE9E951.19552AC5A473FD294650E5539CAEFD78556FA8F6%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D6ddfc47aebb8bab6%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dz-afbrk9WgS8alXxpn3VbtR5FoU&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v16.nonxt2.googlevideo.com/videoplayback?id%3D6ddfc47aebb8bab6%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330327657%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D43ABA41CBD191ECB5B2BBA9020C79D4EABE9E951.19552AC5A473FD294650E5539CAEFD78556FA8F6%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D6ddfc47aebb8bab6%26offsetms%3D5000%26itag%3Dw160%26sigh%3Dz-afbrk9WgS8alXxpn3VbtR5FoU&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;A simple version of the conical pendulum.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5877356244911267140-926537151920803640?l=physanim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://physanim.blogspot.com/feeds/926537151920803640/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5877356244911267140&amp;postID=926537151920803640' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5877356244911267140/posts/default/926537151920803640'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5877356244911267140/posts/default/926537151920803640'/><link rel='alternate' type='text/html' href='http://physanim.blogspot.com/2008/01/getting-started-with-pov-ray.html' title='Getting Started With POV-Ray'/><author><name>Dr Mic</name><uri>http://www.blogger.com/profile/01951027689355261452</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_e4glIRhtilk/R4EMw-Q1w3I/AAAAAAAAAAM/ny8n7uv9lNg/S220/fractal_dig_octa_thm.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5877356244911267140.post-8501541165657684980</id><published>2008-01-06T08:04:00.000-08:00</published><updated>2008-01-06T09:07:22.255-08:00</updated><title type='text'>An Introduction</title><content type='html'>This blog is an experiment.  Actually, an experiment about an experiment.  It is an outgrowth of an informal project that grew in response to the encouragement of friends, colleagues and students. I have no idea what the response may be or who might make up my audience, so I'm sure  the blog will evolve in response to whatever feedback I get.&lt;br /&gt;&lt;br /&gt;This blog is about computer animations, their creation and use in the classroom.  It will also cover many technical aspects of the process by which the animations are created, so that even if no one else reads it, I can use it as a technical diary.  This blog will also be in part about what I find satisfying about the creative process that goes into making a short animation.&lt;br /&gt;&lt;br /&gt;I teach introductory physics and astronomy, and as such I am very aware of the need for visual aids for my students.  Since many of the topics are dynamic, it seemed obvious even very early on in my teaching career that dynamic visual aids would be an asset.  I few years ago, I discovered a wonder 3D graphics program called &lt;a href="http://www.povray.org/"&gt;POV-Ray&lt;/a&gt;, when used with &lt;a href="http://www.virtualdub.org/"&gt;VirtualDub&lt;/a&gt;, that opened a whole a wide door to the creation of 3D animations for use in the classroom.&lt;br /&gt;&lt;br /&gt;One of the first animations I created dealt with a problem scenario that students faced in mechanics when dealing with circular motion.  A diagram in the text is a static figure, and the students would look at the figure and mentally toss out the fact that the object was actually moving in a circle and hence accelerating.  The conical pendulum (a mass suspended from a string swung in a horizontal circle) is a great example.  To help the students see what was going on, I created the following animation: (original animation &lt;a href="http://phys23p.sl.psu.edu/phys_anim/mech/indexer_mech.html#2.204" target="_new"&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;object width="320" height="266" class="BLOG_video_class" id="BLOG_video-1109a6eef28adb27" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v7.nonxt1.googlevideo.com/videoplayback?id%3D1109a6eef28adb27%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330327657%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D14D5D51A40C1DBF01E8B551D4EA1F5C380103D4A.506F5883EE6FCEF6BDC9AE868895C72C5081D646%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D1109a6eef28adb27%26offsetms%3D5000%26itag%3Dw160%26sigh%3DdyRDFn_wcDSbviJGYe2p5mzwVO0&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="320" height="266" bgcolor="#FFFFFF"flashvars="flvurl=http://v7.nonxt1.googlevideo.com/videoplayback?id%3D1109a6eef28adb27%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330327657%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D14D5D51A40C1DBF01E8B551D4EA1F5C380103D4A.506F5883EE6FCEF6BDC9AE868895C72C5081D646%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D1109a6eef28adb27%26offsetms%3D5000%26itag%3Dw160%26sigh%3DdyRDFn_wcDSbviJGYe2p5mzwVO0&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;In the classroom, I use looping mode when playing the animation so that it cycles over and over.  The students can see the dynamics of the scenario while we discuss the physics.  I can pause the animation at the particular frame where the animation matches the static diagram from the text. &lt;br /&gt;&lt;br /&gt;While the advance in curricular materials may have been incremental for my students, it was revolutionary to me.  Over the last few years I've created about 200 short animations on a variety of topics.  I have received pretty good reception of the project from friends and colleagues at my local institution as well as regional and national meetings of the AAPT. I also continue to find the creative process itself very satisfying.&lt;br /&gt;&lt;br /&gt;I' ll wrap this up here.  My next post will be a survey of what I think are the most important and useful tools and tutorials for those similarly inclined to get started.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5877356244911267140-8501541165657684980?l=physanim.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=1109a6eef28adb27&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://physanim.blogspot.com/feeds/8501541165657684980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5877356244911267140&amp;postID=8501541165657684980' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5877356244911267140/posts/default/8501541165657684980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5877356244911267140/posts/default/8501541165657684980'/><link rel='alternate' type='text/html' href='http://physanim.blogspot.com/2008/01/introduction.html' title='An Introduction'/><author><name>Dr Mic</name><uri>http://www.blogger.com/profile/01951027689355261452</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://bp3.blogger.com/_e4glIRhtilk/R4EMw-Q1w3I/AAAAAAAAAAM/ny8n7uv9lNg/S220/fractal_dig_octa_thm.jpg'/></author><thr:total>3</thr:total></entry></feed>
