How to make a php animation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a php animation

Please do

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