Hi,I made a little code to animate balls but i'm wondering :How can i remove the tiny and ugly white trail when circles cross ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Hi,I made a little code to animate balls but i'm wondering :How can i remove the tiny and ugly white trail when circles cross ?

https://code.sololearn.com/WE8si3YuuNMa/?ref=app

24th Jun 2018, 7:11 PM
AOYAGI Hugo
AOYAGI Hugo - avatar
2 Respostas
+ 5
You are erasing the old ball position with a white circle, which is making your trail. Try this: https://code.sololearn.com/WKEQeejUhobU
24th Jun 2018, 8:32 PM
John Wells
John Wells - avatar
+ 1
Oh right, thanks so much :-)
25th Jun 2018, 12:29 PM
AOYAGI Hugo
AOYAGI Hugo - avatar