Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

how to manage shapes on sketchpad in grid form

any function that automatically realign shapes from the sketchpad(circles, squares) and then can manage to shuffle from designated position ? I have 26 shapes which needs to be randomised only on designated position on sketchpad (I have managed to randomised them but could not able to position them . Any help would be great help.

++
from random import shuffle
positions = xy_random(26, 900, 600, min_dist=90)
shuffle(positions)


Comments

  • HI,

    i think I helped you already here. So I will close this discussion. Feel free to ask anything in the other discussion.

    Eduard

This discussion has been closed.