algorithmic modeling for Rhino
Since no one has posted in a while I thought I'd make something up. It's a very simple one, but it might be fun.
So the goal is to make this:
A sphere traveling along a circle. The orbit should be continuous (looping) - super simple - But the challenge is animating it.
Rules are that you can't use the following:
1. the "animate" slider option
2. counters from other plugins (firefly, kangaroo, etc)
3. any scripting
And you should try to do it in 8 components or less.
Well done for reviving.
added bonus... tick tock
genius.. (EDIT Until tomorrow :))
This is exactly what ghoffee is all about
These are great! I didnt think to use the time parameter so that was pretty clever. The only downfall is that no matter how fast your timer is firing, you can only get movement every second.
Danny - that clock is awesome :) Also your method was similar to mine except for the number incrementing (I probably would have done it that way had I thought of using a time parameter)
Also Luis' Point Polar solution was really clever, I've never used that one either :)
And he did the whole thing is 7 components instead of 8, so I think I have to say Luis is the winner on this one.
Here's my file - there are two versions in it. Top one is the original file, bottom has two added components for changing the number of steps in the orbit. The nice thing about this one is that the sphere will move every time the timer fires.
Polar Pt is a trusty one. Anything dealing with continuous rotation can be driven by this handy component.
I cannot accept the award as it was just a rework of Danny's initial definition. It provides no additional functionality, just might do it in less components.
I like your use of the data recorder...the Polar Pt would work here as well, maybe translating the number of stored values to degrees and converting them to rads...
My apologies Luis and Danny, I just opened each file quickly and picked the one with the fewest components.
the time parameter is definitely the quickest way to create a GH native quasi-counter.
Since Danny came up with the counter, and Luis came up with the clever orbit method, I'd have to say it's a tie.
Here's a 6 component method using pt Polar
I love the fact that this last one you posted has the aggregated knowledge of all of the methods...power of collective thought!
If the objective is to orbit, then yes, the pt Polar does the trick without having to evaluate a circle. On the other hand, the curve evaluation method would be nice if you have a path curve you wanted to use as the basis for the animation.
Wow I checked out Luis' solution. Smart, really smart. Thanks for this challenge. I put panel components in a bunch of places to see what is going on behind the scenes and I have to say very cool.