Logo by Trifox - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. April 20, 2024, 05:51:50 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Overlap on an IFS  (Read 4338 times)
Description: How to know if an IFS of kind "L-system" is gonna overlap ?
0 Members and 1 Guest are viewing this topic.
Endemyon
Forums Freshman
**
Posts: 14


« on: March 19, 2014, 08:54:16 PM »

Hello everybody !
I have created a program which creates IFS from L-system principle.
I start from a segment and i replace it by a some connex segments with a scaling process.
After that i replace each segment created by the same set of segments and i keep going.

How can i be sure that the curve i create this way isn't gonna overlap on itself  ?


With all respect,
Endemyon
Logged
youhn
Fractal Molossus
**
Posts: 696


Shapes only exists in our heads.


« Reply #1 on: March 19, 2014, 08:58:32 PM »

Easy. Visualize and check.

But I think you mean before actually doing stuff, like a general rule to prevent all situations that lead to self-intersect? I don't think there is. Can you show us the program? Looking at specific stuff leads to more specific answers.
Logged
Endemyon
Forums Freshman
**
Posts: 14


« Reply #2 on: March 19, 2014, 09:18:36 PM »

Yes, I mean before doing the stuff !
Because, how can I know, if it's just by looking, know if it's gonna intersect at the iteration after which I stopped !
It's a Matlab program, so it could not be easy for you to use it.
But it does pretty much the same thing as the program on this website :
http://www.kevs3d.co.uk/dev/lsystems/

If you try with angle=60, Axiom : F and rule 1: F=F+F--F+F
you get Von Koch's curve (no intersections)

But if you try the same angle and axiom but with rule 1 : F=F++F--F--F++F
you get a Sierpinski Triangle wich intersect itself (for this it's easy to see it's gonna intersect, but for more complicated stuff it may not be)
« Last Edit: March 19, 2014, 09:25:02 PM by Endemyon » Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.122 seconds with 23 queries. (Pretty URLs adds 0.008s, 2q)