MeshSpin.js

Meshspin.js is a simple and lightweight JavaScript library that lets you spin a 3D mesh object in your browser using SVG and JavaScript without dependencies. A default MeshSpin is defined as follows, but you can also define your own shapes and have it rotate by mouse movement. var mesh = new MeshSpin(); mesh.setup(‘wrapper’); mesh.run(); See …

Meshspin.js is a simple and lightweight JavaScript library that lets you spin a 3D mesh object in your browser using SVG and JavaScript without dependencies.

A default MeshSpin is defined as follows, but you can also define your own shapes and have it rotate by mouse movement.

var mesh = new MeshSpin();
mesh.setup('wrapper');
mesh.run();

See the Pen
MeshSpin.js
by Bramus (@bramus)
on CodePen.

MeshSpin.js →


Print Share Comment Cite Upload Translate
APA
Bramus! | Sciencx (2024-03-29T14:25:28+00:00) » MeshSpin.js. Retrieved from https://www.scien.cx/2022/02/05/meshspin-js/.
MLA
" » MeshSpin.js." Bramus! | Sciencx - Saturday February 5, 2022, https://www.scien.cx/2022/02/05/meshspin-js/
HARVARD
Bramus! | Sciencx Saturday February 5, 2022 » MeshSpin.js., viewed 2024-03-29T14:25:28+00:00,<https://www.scien.cx/2022/02/05/meshspin-js/>
VANCOUVER
Bramus! | Sciencx - » MeshSpin.js. [Internet]. [Accessed 2024-03-29T14:25:28+00:00]. Available from: https://www.scien.cx/2022/02/05/meshspin-js/
CHICAGO
" » MeshSpin.js." Bramus! | Sciencx - Accessed 2024-03-29T14:25:28+00:00. https://www.scien.cx/2022/02/05/meshspin-js/
IEEE
" » MeshSpin.js." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2022/02/05/meshspin-js/. [Accessed: 2024-03-29T14:25:28+00:00]
rf:citation
» MeshSpin.js | Bramus! | Sciencx | https://www.scien.cx/2022/02/05/meshspin-js/ | 2024-03-29T14:25:28+00:00
https://github.com/addpipe/simple-recorderjs-demo