6th Jun 2017, 7:38 AM
â€čUm@â€șM@hesw@r
â€čUm@â€șM@hesw@r - avatar
5 Answers
+ 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.....
6th Jun 2017, 8:01 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 6
sir @chirag ghosh tell me how to change colors while intersection....can we have to write script in js
6th Jun 2017, 8:14 AM
â€čUm@â€șM@hesw@r
â€čUm@â€șM@hesw@r - avatar
+ 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
6th Jun 2017, 8:48 AM
â€čUm@â€șM@hesw@r
â€čUm@â€șM@hesw@r - avatar
+ 5
yes.... use this when need document.body.style.backgroundColor = "YOUR COLOUR"
6th Jun 2017, 8:17 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 5
u can see this small code related to colour changing here ---> https://code.sololearn.com/WEpeFW7oyEg5/?ref=app
6th Jun 2017, 9:04 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar