+ 6
Friends suggest me for further ideas..
5 ответов
+ 6
hmmm......beautiful.....
1. make all squares and circles intersect each other at the same time.
2. add a speed input.....to add fun
3. make a changing background colour when the objects collide.....
+ 6
sir @chirag ghosh tell me how to change colors while intersection....can we have to write script in js
+ 6
its very similar to background color ..i already applied bro
//<body bgcolor="cyan"> this is very similar to
your advice i.e
//document.body.style.background="cyan";....
both are looking very similar....but i learnt a new thing from your advice and am expecting how to chage the colors of the background from you
+ 5
yes....
use this when need
document.body.style.backgroundColor = "YOUR COLOUR"
+ 5
u can see this small code related to colour changing
here --->
https://code.sololearn.com/WEpeFW7oyEg5/?ref=app