show indexes - size
floor ---
complete
cover
map
... ( with firefox )
radius ..... height / radius ..... height segments
Geometry
BufferGeometry ...
circular open
FUNCTIONS: function ( ) ...
- 1 - radius circular height (u,v,t)
- 0 - center X (v,t)
- v - center Y (v,t)
- 0 - center Z (v,t)
- 0 - unroll cover (v,t)
- 0 - waffle deep (u,v,t)
waffled grid
- 0 - move X (u,v,t)
- 0 - move Y (u,v,t)
- 0 - move Z (u,v,t)
- 1 - end circular angle (v,t)
- 0 - start circular angle (v,t)
- u - scale circular angle (u,t)
- 1 - top segment height (u,t)
- 0 - bottom segment height (u,t)
- v - scale segment height (v,t)
- 0.1 - material top (u,t) with top
- 0.1 - material bottom (u,t) with bottom
- 0.1 - material cover (u,v,t)
material: double side
flat shading
wireframe
color 1
copy functions, note u, v, t and material limit:
0.2+0.8*Math.cos(10*u*t)
5*Math.sin(u)*Math.cos(u)
(u-1)*(u-1)*Math.cos(0.2*t)
0.75+(u-0.5)*(u-0.5)
3*(u-0.5)*(u-0.5)+0.25
1-1.8*(u-0.5)*(u-0.5)
Math.sin(6.28*u) + 0.1
0.5*Math.sin(3.14*(u+ 0.15))
Math.atan(1/ u)
2*Math.sqrt(u-u*u)
0.5*(1+Math.sqrt(u))
1 / (4*u+1)
Math.exp(-3*u)
Math.log(u)+1
(u<=0.125 || (u>0.375 && u<0.625 ) || u>0.875 ) ? 0.5 : 1.0
u < v ? 0.1+0.4*(1+Math.sin(0.5*t+u)) : 0.4
use the array of center points
Note!
replaces heightSegments, scale segment height(), centerX(), centerY(), centerZ()
array of arrays of coordinates [ [ x0, y0, z0 ], .. ] values normally 0 .. 1
If material ..(u,v,t) becomes greater then 1.099.., the script will crash.
Describe fixed materials:
(face rows , separeted) faces from left top to right bottom: digit 0 .. 9
<--> (don't enter)
MATERIALS: material index 0 .. 9, grey 10 ( function result * 10 )
0
1
2
3
4
5
6
7
8
9