Winterstorm
Posted: Sun Jul 14, 2019 10:45 pm
I got sentimental and started thinking about an old screensaver on my Amiga.
So I had to make my own variant of the same thing.
It simply creates the effect of how it looks when you are driving at night and the snow is falling with force. Well, use your imagination! Hope you like it.
This demo are using the canvas functions getImageData() and putImageData() with the drawImage() to copy the central part of the image, and in the next frame draw it back, this time a tiny bit stretched to the edges of the screen, giving the effect of zooming in.

It simply creates the effect of how it looks when you are driving at night and the snow is falling with force. Well, use your imagination! Hope you like it.
This demo are using the canvas functions getImageData() and putImageData() with the drawImage() to copy the central part of the image, and in the next frame draw it back, this time a tiny bit stretched to the edges of the screen, giving the effect of zooming in.