Skip to content
Sine waves applied to a circle geometry in Threejs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.eslintrc
.gitignore
.scss-lint.yml
README.md
gulpfile.js
package.json
thumb.jpg

README.md

Experiment 2

alt tag

Sine Waves 2

Sine waves applied to a circle geometry in THREE.js. Using a similar method to experiment #1, A sine wave is applied around the circumference of the geometry using the distances between the vertices creating a warped effect around the centre vertex. Again, using the two variables size and magnitude to allow us to manipulate the vertical deviation and wave length.

Live demo

Initial setup

  • npm install --global gulp-cli : Install gulp globally
  • npm i Install dependencies

Building for development

  • gulp dev : Build files will be output to the '.tmp' directory.

Building for production

  • gulp build : Build files will be output to the 'deploy' directory.

Pushing a new release

  • gulp build : Compile local changes
  • git add . : Stage changes
  • git commit -m"change description" : comment on your changes
  • git tag -a v1.0.0 -m "Change description" : Add a new tagged release
  • git push --follow-tags : Push staged changes and tags
You can’t perform that action at this time.