# LineTo really CPU-intensive in fractal

**URL:** <https://forum.kirupa.com/t/lineto-really-cpu-intensive-in-fractal/150880>\
**Category:** flash\
**Created:** [June 11, 2005, 7:43am UTC](https://forum.kirupa.com/t/lineto-really-cpu-intensive-in-fractal/150880 "2005-06-11T07:43:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seticus](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@Seticus](https://forum.kirupa.com/u/Seticus)\
**Post date:** [June 11, 2005, 7:43am UTC](https://forum.kirupa.com/t/lineto-really-cpu-intensive-in-fractal/150880/1 "2005-06-11T07:43:48Z")

</div>

When flash has drawn a lot of lines on the screen, it starts to slow down. I noticed this a long time ago, but didn’t really care. But now I’m making a fractal (made out a couple of for-loops to draw lines and some complicated formula) and it’s kinda CPU-intensive: [http://www.lbr-designs.be/fractalkirup.html](http://www.lbr-designs.be/fractalkirup.html)

This is a great way to test the speed of your pc (when flash askes to abort the script, you can say ‘no’)

My question: is there a way to convert all the lines drawn by lineTo (and in my example there are a lot) to an image or something similar or anything that could avoid the slowdown.

Oh and to prove that is slows down when there are a bunch of lines: [http://www.lbr-designs.be/fractal2.html](http://www.lbr-designs.be/fractal2.html) (You don’t have to wait until it is drawn to go to the next step (“volgende stap”)). Here you notice around step 17 is starts of good, but after a while it almost doesn’t move anymore (if you can’t see it, zoom in)

Thanks
