glennchun / free-form-deformation

As my first coding exercise in JavaScript, I implemented the FFD algorithm in ffd.js. See Sederberg and Parry's '86 paper, Free-Form Deformation of Solid Geometric Models. The index.html contains my JavaScript code that consumes ffd.js and a modified version of the webgl_modifier_subdivision example from threejs.org.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

free-form-deformation

As my first coding exercise in JavaScript, I implemented the FFD algorithm in ffd.js. See Sederberg and Parry's '86 paper, Free-Form Deformation of Solid Geometric Models. The index.html contains my JavaScript code that consumes ffd.js and a modified version of the webgl_modifier_subdivision example from threejs.org.

Visit this URL to execute the script. http://glennchun.github.io/free-form-deformation/

This works best on Firefox where all edges of the lattice are always displayed. Some edges disappear or reappear on Chrome, depending on how you rotate the view.

About

As my first coding exercise in JavaScript, I implemented the FFD algorithm in ffd.js. See Sederberg and Parry's '86 paper, Free-Form Deformation of Solid Geometric Models. The index.html contains my JavaScript code that consumes ffd.js and a modified version of the webgl_modifier_subdivision example from threejs.org.


Languages

Language:JavaScript 99.9%Language:HTML 0.1%