I'm still discovering the infinite applications of the sine wave. This time, applied to a SphereGeometry.
A wave is calculated by measuring the distance between each vertex on the sphere and a Vector3 aptly named 'warpVector'.
Play around with the size and speed variables and see how it behaves.
npm install --global gulp-cli
: Install gulp globallynpm i
Install dependencies
gulp dev
: Build files will be output to the '.tmp' directory.
gulp build
: Build files will be output to the 'deploy' directory.
gulp build
: Compile local changesgit add .
: Stage changesgit commit -m"change description"
: comment on your changesgit tag -a v1.0.0 -m "Change description"
: Add a new tagged releasegit push --follow-tags
: Push staged changes and tags