<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/templates/xsl/lab.xsl"?>
<entry>
	<title>sine modified X axis random 3d particle cube (haXe &amp; flash 10)</title>
	<swf>
		<url>Random.swf</url>
		<width>800</width>
		<height>450</height>
	</swf>
	<info>
		<p>This example is a modified version of the 3d Partical cube where the X axis is a sine representation of time, and y/z are the same with random values added.</p>
	</info>
	<sources>
		<snip>
<pre>for( i in 0...PARTICLES ) {
	x = Math.sin(i/PARTICLES) * SCALE;
	y = ( ( Math.random() + Math.sin(i/PARTICLES) ) / 2 ) * SCALE;
	z = ( ( Math.random() + Math.sin(i/PARTICLES) ) / 2 ) * SCALE;
}</pre>
		</snip>
	</sources>
</entry>
