Playing with Texture Projection in Three.js
Learn how to project a texture on an object in Three.js, by Marco Fugaro
Installation
To install dependencies run
npm install
To compile the code for development and start a local server run
npm start
To compile the code run
npm run build
Credits
- Images from Unsplash
- Leaf model from Poly
- Three.js
- poisson-disk-sampling algorithm
- canvas-sketch-util for the util functions
- threejs-modern-app for the boilerplate
License
This resource can be used freely if integrated or build upon in personal or commercial projects such as websites, web apps and web templates intended for sale. It is not allowed to take the resource "as-is" and sell it, redistribute, re-publish it, or sell "pluginized" versions of it. Free plugins built using this resource should have a visible mention and link to the original work. Always consider the licenses of all included libraries, scripts and images used.
Misc
Follow Marco: Twitter, GitHub, Codepen
Follow Codrops: Twitter, Facebook, Google+, GitHub, Pinterest, Instagram