Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Morphing with Three.js

I'm working on an online tool using Three.js, more precisely it's about morphing and scaling various parts of a 3d object. I enquiry if there's a way to morph an object in Three.js like this http://n-e-r-v-o-u-s.com/cellCycle/ (with the bar on the top to right) , so in a free way.

And how I can model a Mesh like a Torus but with a rectangular section and not circular. Anyone had this kind of problems? Thanks in advance.

like image 527
LowFieldTheory Avatar asked Jun 09 '12 12:06

LowFieldTheory


1 Answers

if you are looking at creating procedural geometry, you can try looking at http://mrdoob.github.com/three.js/examples/webgl_geometries2.html

they can also be animated, checkout the code in http://jsdo.it/zz85/rVta

like image 89
zz85 Avatar answered Nov 04 '22 13:11

zz85