# Outlines on dynamic created shapes

**URL:** <https://forum.kirupa.com/t/outlines-on-dynamic-created-shapes/260951>\
**Category:** Uncategorized\
**Created:** [May 21, 2008, 11:35am UTC](https://forum.kirupa.com/t/outlines-on-dynamic-created-shapes/260951 "2008-05-21T11:35:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pier25](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Post date:** [May 21, 2008, 11:35am UTC](https://forum.kirupa.com/t/outlines-on-dynamic-created-shapes/260951/1 "2008-05-21T11:35:32Z")

</div>

Hi

I was wondering if there was a way of drawing different shapes dyamically, and then somehow “join” them so that the resulting shape has only one outline, and not an outline for each shape.

For examples making a random cloud with circles, and only have the outline on the cloud, and not each circle.

---

<div class="post-metadata">

**Author:** ![Pier25](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Post date:** [May 21, 2008, 11:36am UTC](https://forum.kirupa.com/t/outlines-on-dynamic-created-shapes/260951/2 "2008-05-21T11:36:53Z")

</div>

Something similar to this regarding the outlines

[http://www.nulldesign.de/exp/expviewer.php?file=magnets3.swf&width=550&height=300](http://www.nulldesign.de/exp/expviewer.php?file=magnets3.swf&width=550&height=300)

---

<div class="post-metadata">

**Author:** ![rumblesushi](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Post date:** [May 21, 2008, 11:46am UTC](https://forum.kirupa.com/t/outlines-on-dynamic-created-shapes/260951/3 "2008-05-21T11:46:58Z")

</div>

Yep, you have an identical array of objects at a depth below your main shapes, let’s say like the example above, some white circles, then some slightly bigger black circles at a depth lower, when they converge you’ll only see an outline around the edge of the cluster of blobs, because any other white area of the blob is at a higher depth than any of the dark outline blobs.

And all you do, is have the Outline x/y coords correspond exactly to it’s designated parent, white blob.

---

<div class="post-metadata">

**Author:** ![Pier25](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@Pier25](https://forum.kirupa.com/u/Pier25)\
**Post date:** [May 21, 2008, 12:24pm UTC](https://forum.kirupa.com/t/outlines-on-dynamic-created-shapes/260951/4 "2008-05-21T12:24:18Z")

</div>

hmmm ok I see the idea

thanks 😉

---

<div class="post-metadata">

**Author:** ![rumblesushi](https://avatars.discourse-cdn.com/v4/letter/r/b38774/32.png) [@rumblesushi](https://forum.kirupa.com/u/rumblesushi)\
**Post date:** [May 21, 2008, 5:32pm UTC](https://forum.kirupa.com/t/outlines-on-dynamic-created-shapes/260951/5 "2008-05-21T17:32:32Z")

</div>

I’ve done it before, it was one of those things that seemed complex until you did it, then you realised how simple it was and wondered why you didn’t work it out sooner 😃
