top of page

Week 9

Pixel

This week we learned about the pixels. 

I was trying to make a filter of my image which has a feeling of coming from blurry to clear. I chose one image first, and load the pixel then make the same size rectangular with the image.  Next, I made a class function called Particle. Set up lines that have vertical and horizontal speed movement. Also, they can get the color from the same position of the original image. By setting up the speed to control the process to be shown in 30 seconds to make sure constrain with Rachel's part in 1 minute. 

(There is a function I used here called splice in js which is used to reduce the load of the for loop of those lines.)

截屏2019-11-0601.54.01.png
截屏2019-11-0601.45.44.png
bottom of page