home *** CD-ROM | disk | FTP | other *** search
- {
- spiral2.cal: Create a spiral
-
- igensurf -v -s 20 -t 10 spiral2.cal | writetddd >spiral2.obj
- }
-
- #name spiral2
- #scale 100
-
- height : 5; { Height of spiral }
- n_turns : 3; { Number of turns }
-
- x(s,t) = t * cos(n_turns * 2 * PI * s);
- y(s,t) = t * sin(n_turns * 2 * PI * s);
- z(s,t) = height * s;
-