Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
How to make an image appears and disappears in random positions in canvas?
JavaScript
2 Antworten
+ 3
[image].x = Math.random() * [canvas].width - [image].width;
[image].x = Math.random() * [canvas].width - [image].width;
is this what you mean?
0
I'll try it and tell you