+ 1
I need tutor on how to create moving country flag using css and html
2 Respuestas
+ 3
Here is an algorithm you could use in canvas.
1 get the pixel values of img
- (from now on everything can be done in css)
2 slice by columns and make each one an individual object with y-position
3 move them in a sinusoidal manner depending on time
4 refresh canvas
5 increase time
6 return to 3