THREEp.js. - an extended alpha version is now available on GitHub
- It works with three.js r87.
- The spherical wedges can be closed at the side (default).
- The equator gap is now available as a function.
With the equator gap - now as a function - a small monster opens and closes its mouth.
With parameter t - Time.
screenshots exampleA2. html
var parameters = {
equator: 4,
equatorGap: function( u, t ) { return 0.5 *( 1 + Math.cos( 6.28 * u)) *( 0.5 - u )*( 0.5 - u ) * ( 1 + Math.sin( t ) ) },
stretchSouth: function ( u, v, t ) { return ( 1 + Math.cos( 6.28 * u)) *( 0.5 - u )*( 0.5 - u ) * ( 1 + Math.sin( t ) ) },
wedges: 11,
usedWedges: 8,
topCircle: 7,
withTop: true,
bottomCircle: 3,
withBottom: true,
}