Latitude Demonstration |
| latDemo005 | view, link (63 KB, 675×400) | | source (336 KB) | Thu, 10 Feb 05, 3:34pm UTC | |
|
Sun Path Diagram Maker |
| sunPathDiagram003 | view, link (24.4 KB, 300×310) | | source (750.5 KB) | Fri, 13 Feb 04, 4:50pm UTC | |
| The html code for embedding this file is:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="300" HEIGHT="310" id="sunPathDiagram003" ALIGN="">
<PARAM NAME=FlashVars VALUE="str1=A&str2=B&str3=C&lat=41&initAz=240&initAlt=35">
<PARAM NAME=movie VALUE="http://physics.unl.edu/~astrodev/flashdev2/sunPathDiagram/sunPathDiagram003.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="http://physics.unl.edu/~astrodev/flashdev2/sunPathDiagram/sunPathDiagram003.swf" quality=high bgcolor=#000000 WIDTH="300" HEIGHT="310" NAME="sunPathDiagram003" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
where str1 , str2 , and str3 are the labels for the summer, equinox, and winter sun paths, respectively. lat is the latitude for the stickfigure. initAlt and initAz are optional parameters that define the orientation of the celestial sphere on initialization.
| |
|
Sun and Moon Diagram Component |
| sunAndMoonDiagram003 | view, link (26.4 KB, 600×400) | | source (176 KB) | Mon, 10 Oct 05, 3:16pm UTC | |
| changes:
- added an event handler:
onViewerDirectionChanged
- added the function
getViewerDirection
- added the functions
getSunLocations and getMoonLocations
updated documentation | |
|
Vector Sketchpad |
| vectorSketchpad017 | view, link (32.3 KB, 900×650) | | source (392.5 KB) | Sat, 28 Jan 06, 12:54am UTC | |
| Flashvars capability has been added - see notes. Note that unlike almost all movies I've made this swf does not rescale, so the height and width can be set to whatever you want in the html block without distorting the movie. The flashvars that make the example movie above are:
viewOnly=true
&showPanel=false
&gridOriginX=1.5u
&gridOriginY=4.5u
&tailX1=100
&tailY1=100
&headX1=300
&headY1=300
&tailX2=1u
&tailY2=1u
&headX2=3u
&headY2=5u
&color2=0000ff
&selectable2=true
&draggable2=true
&uAlpha2=40
&tailX3=3u
&tailY3=-2u
&xComp3=4u
&yComp3=2u
&color3=ffa050
&tailX4=3u
&tailY4=-2u
&angle4=135
&mag4=2u
&color4=a0a050
| |
|
Lissajous Curve Explorer |
| lissajous001 | view, link (21.6 KB, 850×520) | | source (136 KB) | Fri, 23 Mar 07, 9:33pm UTC | |
| Example parameters to draw a figure-eight are:
{width: 200, height: 60, a: 1, b: 2, delta: 1.5707963267949}
| |
|
Figure Eight |
| figureEight001 | view, link (21.5 KB, 850×520) | | source (144 KB) | Fri, 23 Mar 07, 10:17pm UTC | |
|