https://github.com/danieldelcore/experiment-2-sine-waves-disc
Sine waves applied to a circle geometry in Threejs
https://github.com/danieldelcore/experiment-2-sine-waves-disc
geometry graphics javascript math threejs webgl
Last synced: 23 days ago
JSON representation
Sine waves applied to a circle geometry in Threejs
- Host: GitHub
- URL: https://github.com/danieldelcore/experiment-2-sine-waves-disc
- Owner: danieldelcore
- Created: 2016-05-10T02:44:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T03:10:34.000Z (over 1 year ago)
- Last Synced: 2025-02-02T00:41:18.451Z (over 1 year ago)
- Topics: geometry, graphics, javascript, math, threejs, webgl
- Language: JavaScript
- Homepage: http://danieldelcore.com/lab/2
- Size: 6.06 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Experiment 2

## 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](http://danieldelcore.com/lab/2)
## 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