# Spiral flowers!

**URL:** https://forum.kirupa.com/t/spiral-flowers/186354
**Category:** flash
**Created:** [April 20, 2006, 6:21pm UTC](https://forum.kirupa.com/t/spiral-flowers/186354 "2006-04-20T18:21:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)
#### Post date: [April 20, 2006, 6:21pm UTC](https://forum.kirupa.com/t/spiral-flowers/186354/1 "2006-04-20T18:21:32Z")

</div>

I am looking to draw some simple flower stem shapes (not the actual flower heads) in actionscript. I have been experimenting with various different methods of spirals and drawing lines but I am having difficulty putting it all together. Any help would be much appreciated.

The main difficulty I am having is that I want the flower stems to draw over a set amount of time (i.e dependent on a variable for time.) and develop new “branches” as if they were growing. I also want the number of branches, length, thickness, curvyness etc to be controlled by variables which will allow me to replicate but vary the stems.

I have included a jpeg of a couple of examples of what I am after.

Again any help or direction on this would be greatly appreciated. I am a graphic designer and not a great actionscripter!!!

---

<div class="post-metadata">

### Author: ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)
#### Post date: [April 21, 2006, 3:35am UTC](https://forum.kirupa.com/t/spiral-flowers/186354/2 "2006-04-21T03:35:15Z")

</div>

This might interest you:  
[http://www.ffiles.com/view\_listing.php?sid=183&cat=18](http://www.ffiles.com/view_listing.php?sid=183&cat=18)

:rambo:

---

<div class="post-metadata">

### Author: ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)
#### Post date: [April 21, 2006, 3:46pm UTC](https://forum.kirupa.com/t/spiral-flowers/186354/3 "2006-04-21T15:46:01Z")

</div>

Thats an excellent link thank you - my only problem is I can’t understand that actionscript to tailor it to what I need!

Whilst thats actual true fractal generation, I’m not sure what I need is so complex.

At the moment, I have a movieclip that allows me to generate simple spirals that can be different by changing variables. I can also generate the main stem using the curveto actionscript.

What I need is to be able to generate a stem that grows over time but attach the spirals movieclip to it at different points.

My problem is I not only don’t know how to “attach” moviclips to a spline drawn by actionscript but also to then move it along with the spline as it grows bigger.

---

<div class="post-metadata">

### Author: ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)
#### Post date: [April 22, 2006, 7:57pm UTC](https://forum.kirupa.com/t/spiral-flowers/186354/4 "2006-04-22T19:57:43Z")

</div>

I think I need to keep this simple.

I just want to be able to draw a curve and then attach movieclips at different points to it i.e flowers, leaves, spirals. Then be able to adjust the curve and get the movieclips to move with it.
