+ 6
Challenge: Uniform Random Sampling
Circles are placed randomly in the canvas, but only if they are not overlapping with any previous circle. This is referred to as "Uniform Random Sampling". Create a program which adds new circle on each click to any random place and no circles should overlap each other. Note: You can't use any external library Shubhkaamanaen ( Best of Luck ) :)
5 Réponses
+ 4
@Kartikey Sahu:
Thanks for upvote, but doesn't it deserve the best answer mark?
It's the only submission you've got in 14 hours ^^
+ 4
It's a difficult one.. Can you give us something easy to do..
@Visph I don't think anyone will be able to do as close as you in this challenge. You are too good man..deserve to be best answer!
+ 2
@Apoorva I will try
+ 2
That wasn't as hard as it could appear ^^
If you are interested about how to, I can detail the process: feel free to ask me in code comments (or even here, but I've already experiemented that people doesn't ever necessarly appreciate when I'm too much verbose technically) if code itself isn't enough explicit for you ;)