Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-25T02:48:03.000Z (6 months ago)
- Last Synced: 2024-08-25T08:45:47.400Z (6 months ago)
- Topics: geometry, graphics, javascript, math, threejs, webgl
- Language: JavaScript
- Homepage: http://danieldelcore.com/lab/2
- Size: 5.93 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Experiment 2
![alt tag](thumb.jpg)
## 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