Search Tools Links Login

OccupiedSpaceFun, this function allocates randomly many objects (differerent size), no collision!


Populates container (form or picture) with objects, using the 'non-occupied space' concept.
Any added item, while populating the container, takes some cells from the 'unoccupied space':
it is a very fast process. Accurate demo and function design. Don't miss it!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
OccupiedSpaceFun demo features:
- 2 switchable containers for the objects
- viewable 'non-occupied space' cells
- design/run time object sizes

On ideas proposed by Gunnar g68_se@yahoo.se, THIRD EMAIL (23rd August 2K1):
Thank you very much for your time and efforts Pietro !
It works very fine, except for one small thing:
My labels are all in different sizes, so it would
have to be some kind of combination of no-collision
and non-occupied space if i was to be able to
implement it :)
Best regards,
Gunnar.
++++++++++++++++++++++++++++++++++++++++++++++++++
This program has been written in Visual Basic 6.
I hope yow like the effort, have fun (ction...) :)

Original Author: Pietro ing. Cecchi

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 81 times

Categories

Visual Basic 6

Attachments

OccupiedSp256458312001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 56,294 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.