@darrellpActually I meant to open a new topic for the Align to Spline issue, but that seems to be already solved.
Anyway, now, we are here, I'll link the other thread to this one.
Thanks for packaging the Koch Snowflake into a Capsule and making it an asset.
I'm afraid in meanwhile I had moved on a bit here. I hope you don't mind to do the packaging once more. 😉
I have to say, I really enjoy this. Not only the fractal topic, but this mutual idea process. I picked up the idea of the One Spline option and also centering of the snowflake. These two in combination lead to the next idea and you will see, I chose a bit different approach to achieve this...
Before going on, I need to emphasize, of course @OleK's L-system approach is of course the more scientific and way more versatile approach to such fractals. Also Ole is way more proficient in Scene Nodes, than I will ever be. I really recommend to dive into his L-System setup (see other thread at the end). If there are Scene Node setups to learn from, then Ole's. I hope Björn, Hrvoje and Mododo forgive me. Each of them has already shown very neat setups on their own and there's much to learn from these as well. I hope Björn and Hrvoje at least agree, that's more a Yoda/Luke situation we have here...
Nevertheless I stuck with my poor man's approach for the following reasons:
Mainly because in it's current state it performs a bit better than the L-system. But that does not mean, the L-system couldn't be brought up to speed as well. Pretty sure it can. But I leave that to Ole.
I wanted to play with Scene Nodes and work with the editor, so simply using the ready made L-system was too boring.
I'm stubborn.
That said, here's a new version:
test_nodes_koch_fractals_2.c4d
It now supports a few new variations from Koch Snowflake
It supports a bunch of different shapes
Darrelp's One spline mode
There's an example of a conditionally enabled parameter (see Single Spline param in Resource Editor)
@darrellp I'm not sure, if it's a good idea to write beyond arrays. The system seems reasonably robust in this regard, but I agree with you, one can not be sure. So, rather safe than sorry. I hope my setup behaves well in this regard.
To prove that nerds are like cruise ships (once picked up speed, it's a bit difficult to brake), I created another setup for a Dragon Curve:
test_scene_nodes_dragon_curve_2.c4d
My approach to the flattened corners of the dragon curve is a bit cumbersome and awkward. If one used the copy/rotation approach of building it, it would probably be easier. With my dissecting approach, well, I have the feeling, it's not a really good solution. Would be cool to see different approaches.
I hope, someone has as much fun with these fractals as I (and probably darrellp) currently have...
Edit: I had messed up the link to the other thread. Now corrected links below.
Lastly the first thread on Koch Snowflakes:
In this thread one finds Ole's L-system setup: