
Basic spinning particles using the cross product.
A .vfl file that spins particles!
Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Tuesday July 29th, 2008 11:33 PM
/*
* Author: Dan Lynch
*/
pop
spun()
{
vector nP = P;
nP.y = 0;
nP = -nP;
v = cross(nP, {0,1,0});
}
/*
*
* Author: Dan Lynch
* Same thing as above, just different code
*
*/
pop
spun()
{
vector nP = -P * {1,0,1};
v = cross(nP, {0,1,0});
}
Downloads:
Download: spin1.vfl 117 B
Download: spin2.vfl 162 B
Please login or Click Here to register for downloads

Spin by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at www.3daet.com
Permissions beyond the scope of this license may be available at http://www.3daet.com