Author: Ashley Alexander-Lee
-
Using a command terminal, run
npm install
in the root directory of your project to download dependencies. -
Run
npm start
and then go tolocalhost:5660
in your web browser.
This introductory project for CIS566 (Procedural Graphics) involved experimentation with Typescript and WebGL to produce an animated cube decorated with procedural noise.
I averaged three 3D Perlin Noise functions together at different frequencies and used the resulting value to pick a color from a gradient. These colors are based on the user's input color, and vary in transparency. The further from the camera z-position the fragments are, the more faded the noise becomes. I also have a control to turn on or off animation, which will move each vertex along a sine wave in the direction of its normal.
Live Demo: https://asalexan.github.io/hw00-webgl-intro/