summaryrefslogtreecommitdiff
path: root/graphics/asymptote/examples/roll.asy
blob: 4d15ac0febe4728c80b60362e68c7084948c0378 (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,render(merge=true));