HOME | DD

Published: 2011-09-11 16:56:45 +0000 UTC; Views: 2629; Favourites: 39; Downloads: 442
Redirect to original
Description
Apo 2.08JKHi to all!
On the picture above the interaction of JuliaRandomN with several Blurs is demonstrated. On each level of itterations N randomly changed: 4, 2, 3, ...and one from 4 Blurs is selected. Here is short story of how it's possible.
I'm not professional programmer. So I don't know a deep structure of Apo program. But it was very interesting to investigate IFS process. So I've found some compromise.
The standard Apo procedure for rendering IFS fractal is the next:
1)Apo chooses Transform according to the rules of chaos game;
2)sends FTx, FTy to plugin which is responsible for that Transform;
3)plugin calculates FPx, FPy and returns their values to Apo;
and so on...
It is possible to reorganize this process as following:
1)We introduce static variables in plugin. They will play the role of FTx, FTy. Their values are kept inside plugin.
2)We determine the rules of Transform choice inside plugin (all Transforms are determined as inside subroutines).
3)plugin calculates FPx, FPy,FPc (for color) and returns their values to Apo.
So we have absolute control on IFS!!!
In SphTiling3.c, SphTiling4.c,SphTiling5.c you can find the realization of this idea for simple IFS without coloring. In JuliaRandomN.c you can see how it's possible to organize more complicated IFS. The important instrument is a function DN1(m), which generates the sequence of random numbers and gives the possibility for its exact repetition any time we need.
In Truchet.c you can find what can be done through direct coloring in simple Sierpinski.The Truchet coloring scheme is superimposed on Sierpinski carpet.You can choose coloring scheme with the help of several constants. The usage of Z=fmod(A*Z+B,1) (instead of simple linear Z=A*Z+B) was introduced by Jed Kelsey. It gives more possibilities for deep coloring, but it is the source of dusty noise on the other side.
So it is short introduction in my experiments with controlled IFS in Apo.
In download file you can find samples with source code and .dll.
All the best.
eralex61.
Related content
Comments: 11
dark-beam [2017-08-23 10:23:59 +0000 UTC]
I have ported one of those plugins for the current Apo:
👍: 0 ⏩: 0
GraphicLia [2012-01-13 01:15:17 +0000 UTC]
It's next year, so I'll give it a go. Maybe I'll have dumb luck!
👍: 0 ⏩: 0
IDeviant [2011-09-13 11:49:16 +0000 UTC]
Well, I can't quite get my head around this conceptually, but it sounds interesting! I see more plugin juggling coming up
👍: 0 ⏩: 0
guagapunyaimel [2011-09-12 05:41:36 +0000 UTC]
kinda confused. but surely will try it.
Thank you so much for sharing.
👍: 0 ⏩: 0
GraphicLia [2011-09-11 17:10:28 +0000 UTC]
Something just flew overhead at supersonic speed. I think I'll leave this until, hmm, next year!
👍: 0 ⏩: 0
SuicideBySafetyPin [2011-09-11 17:03:01 +0000 UTC]
well i know what i will be doing all day today!!!
thank you so much!
👍: 0 ⏩: 0