+ 1

I need tutor on how to create moving country flag using css and html

25th Apr 2017, 9:33 AM
Emmanuel - avatar
2 ответов
8th Sep 2017, 3:35 AM
Sahil Singh
Sahil Singh - avatar
+ 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
25th Apr 2017, 10:14 AM
Bebida Roja
Bebida Roja - avatar