3D Graph Explorer Examples

There is no bound on what you can create with UVModeller, and one can't put down everything that is possible in a webpage. So I won't even try. This page however, contains only a few samples to get your imagination started. You can download the zipped example files by clicking here.

// creates a star with tSteps number of points
n=2 // number of points to skip in each turn
t=2 n Pi t
r=1
x=r cos(t)
y=r sin(t)
	
// knot
t=2 Pi t
r=(1+sin(3t)*.6)*.3
x=r cos(2t)*1.5
y=r sin(2t)*1.5
z=(1+cos(3t)*.6)*.2-(1+.6)*.1
	
// sin surface
n=2.5 Pi
z=sin(n*x)+sin(n*y)
z=z/n
	
// frac surface
z=(frac(x)>.5)+(frac(y)>.5)
z=(z-1)/2
	
// blue torus
u=2 Pi u
v=2 Pi v
r=.6+.2cos(u)
z=.2sin(u)
x=r cos(v)
y=r sin(v)
	
// green torus
u=2 Pi u
v=2 Pi v
r=.6+.2cos(u)
x=.2sin(u)
z=r cos(v)
y=r sin(v)-.6
	
// red cone
u=2 Pi u
z=2(v-.5)
x=z cos(u)*.8-1
y=z sin(u)*.8+.6
	
// hex cylinder
u=2 Pi u
x=cos(u)*.8+.3
y=sin(u)*.8-.6
z=2(v-.5)
	
// blue cylinder
u=2 Pi u
x=cos(u)*.5+.7
y=sin(u)*.5+.7
z=2(v-.5)
	
// helix
u=1.2 Pi(u-.5); v=5 Pi v
r=.2
R=.6
d=R+cos(u)*r
z=sin(u)*r+v*.15-.15*5*Pi/2
x=d cos(v)
y=d sin(v)