# Generate squares

**URL:** https://forum.kirupa.com/t/generate-squares/178453
**Category:** flash
**Created:** [February 10, 2006, 5:12pm UTC](https://forum.kirupa.com/t/generate-squares/178453 "2006-02-10T17:12:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sigepmest37](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@sigepmest37](https://forum.kirupa.com/u/sigepmest37)
#### Post date: [February 10, 2006, 5:12pm UTC](https://forum.kirupa.com/t/generate-squares/178453/1 "2006-02-10T17:12:39Z")

</div>

Here is my problem:

I have an area of 730x334. I want to generate 77.3x66.8 squares that will fill the entire area. I will obvisouly need 5 lines of 10 squares. I need the squares to NOT be generated in order. They need to be generated randomly within the area. And I need the time to be about .5 seconds.

If anyone can give me a shove in the right direction it would be greatly appreciated!

Thanks
