For assignment 1 in computer graphics I started to play with 3D shaders, I started with the test file we created in class.
First Attempt – Live Link
During my first attempt I decided to zoom into the ball so it took up the entire canvas, I then added user color interaction along the mouse X axis. I used the uTime variable to give it a pulsing nature along with sin and cosin.
Second Attempt – Live Link
For my second attempt I smoothed the interaction of cursor.x by dividing it by 1000, I also stretched the visible canvas to take up the entire screen. I changed the value of the canvas holding the ball to 1200×1200 to maintain a high resolution as not to pixelate the screen. I created a variable called zTime that resizes the ball.
No comments yet.