0
How to make a php animation
Please do
4 ответов
+ 3
You should use css or javascript. Its more easy
+ 2
You should use CSS keyframes
0
There's no php animation (or with a very low framerate, if you regurlarly refresh the page and send a new "frame-page" to the client -- browser -- from the server :P)...
... as stated in others answers, you really could only use php to generate html/css/svg/js animations (html + one or many of them, or eventually only svg).
Another "workaround" to be able to generate animation from php (not really efficient for real time generation) would be to generate animated gif (or eventually videos, but drasticaly increasing the amount of ressources needed with resolution and framerate growing) and serve an html file as container for the linked animation (through an <img> tag for the former, or a <video> tag for the later)... ;)
0
Thanks for the answers