How to make a php animation | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite

How to make a php animation

Please do

23rd Apr 2020, 3:54 PM
James - avatar
4 Réponses
+ 3
You should use css or javascript. Its more easy
23rd Apr 2020, 4:28 PM
Cmurio - avatar
+ 2
You should use CSS keyframes
23rd Apr 2020, 4:13 PM
Emir TanńĪr
Emir TanńĪr - avatar
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)... ;)
25th Apr 2020, 6:30 AM
visph - avatar
Thanks for the answers
22nd May 2020, 8:09 AM
James - avatar