How do I randomly generate multiple random shapes within a given area WITHOUT overlapping?
Mostrar comentarios más antiguos
Hi, I have generated a random shape. I need to loop it over to randomly distribute such shapes within a given area WITHOUT overlapping. Area could be n by n units where n being a large integer number compared to the size of an individual shape.
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 25 de Nov. de 2017
0 votos
You can use my clouds program. It will generate gray scale images of clouds.

Of course you can then threshold the image and get a binary image with randomly-shaped, non-overlapping shapes.
1 comentario
Anuruddha Jayasuriya
el 27 de Nov. de 2017
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!