summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples/roll.asy
blob: 088da3177f4e8f62a91cbe8479ee7b2dbbce27d5 (plain)
1
2
3
4
5
6
7
8
9
10
import graph3;

size(200,0);

triple f(pair t) {
return(t.x+t.y/4+sin(t.y),cos(t.y),sin(t.y));
}

surface s=surface(f,(0,0),(2pi,2pi),7,20,Spline);
draw(s,olive);