lundi 13 novembre 2017

Adding random weighted point

Let's say I have a blank canvas with 2 red points in it.

Is there an algorithm to randomly add a point in the canvas but in a way where it's more bias to the red points with a supplied radius?

Here's a crude image as an example: enter image description here

Even though this question is for Python it really applies for any language.




Aucun commentaire:

Enregistrer un commentaire