+ 8

Animating coordinates js-html?

I'm working on an entry for the Defend The Base challenge. I have been working only on JavaScript so far. I'm almost done with the numbers part. I have the coordinates of each square in the grid and the coordinates of movement of objects. How do I translate those to something visual? I want to know what I should look into to translate my js code to html/css. I've seen people use canvas?

9th Jul 2018, 2:48 AM
Alejandra Camus
Alejandra Camus - avatar
5 ответов
+ 4
✔ Canvas can solve your problems. ✔ You may create with html, CSS and work with javascript on them
9th Jul 2018, 3:03 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
The code uses Javascript move object LRUD directions https://code.sololearn.com/WiBmEEtaNcxk/?ref=app
9th Jul 2018, 3:01 AM
Calviղ
Calviղ - avatar
+ 1
javascript has a library for this, its called p5.js and it is used to make animations or games with javascript
9th Jul 2018, 8:01 AM
Dominique Abou Samah
Dominique Abou Samah - avatar
0
hey am sorry to say this thats my email I need to talk to you ntambihenry1@gmail.com hope you take it fine
21st Jul 2018, 6:02 PM
hank256
hank256 - avatar