Well first thing: the Project Browser causes huge lag when it is refreshing the view of multiple objects while it is open. It is responsible for some strange glitches and weirdness in the IDE, but I can never pin it down. I always leave it closed unless I am specifically using it to go and access object details. The "processing" after the lines have been drawn will be the PB refreshing all the lines in the list over and over again while it tries to catch up with the new data for changed objects on screen.
For constructive thoughts, I would not delete the graphics and recreate, but preload the card with the graphic lines all with individual names ("tLink" & <number>) then you can just set the points of each line to the new points. I have made some handlers and new buttons that reset the lines (to blank) or in case of need, completely delete all the link line graphics and recreate from scratch (starting out invisible).
I have made some edits to your stack and provide it here, I admit to having no idea about the mathematics but I think your idea was pretty nifty so I have made a loop of multipliers 2 through 6 and it looks good.
Mirroring was achieved by subtracting the counter from 180 not subtracting 180 from the counter, I think!
It will probably need more calculation about the number of iterations for the different multipliers so that only a proper mirror of lines are drawn - it looks like there are some "extras" or "lopsided and asymetric" ones on some. So some more work to be done, but I hope it makes sense.
Graphic help needed
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Graphic help needed
- Attachments
-
- AJP mandelbrot v2.zip
- (10.21 KiB) Downloaded 217 times
Re: Graphic help needed
I am overjoyed with what you did. Thanks Sparkout.
I see what you mean about the anomalies with the lines, but usually, the cause is easy to find when you have a clear issue to hunt down. I admit I was a bit despondent with my efforts because of the slow refresh and although I realised what was wrong, I had no idea how to code it. I have spent a lot of time looking at other graphic stacks, but couldn't fathom them.
Your coding is easy to follow and I am grateful for that.
I may be a week or so before I can get back to this, and already my mind is nagging me to try colour and sound.
I see what you mean about the anomalies with the lines, but usually, the cause is easy to find when you have a clear issue to hunt down. I admit I was a bit despondent with my efforts because of the slow refresh and although I realised what was wrong, I had no idea how to code it. I have spent a lot of time looking at other graphic stacks, but couldn't fathom them.
Your coding is easy to follow and I am grateful for that.
I may be a week or so before I can get back to this, and already my mind is nagging me to try colour and sound.