b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 9919209 (Thread)

# What is the processing code? Or is it quite long?
(, Mon 15 Feb 2010, 21:55, archived)
# It's a secret, dude.
(, Mon 15 Feb 2010, 21:58, archived)
# Secret codes, eh?
(, Mon 15 Feb 2010, 22:00, archived)
# Walls have ears.
Don't let Jerry know.
(, Mon 15 Feb 2010, 22:01, archived)
# Loose lips sink ships.
(, Mon 15 Feb 2010, 22:06, archived)
# It's just like the elusive upload codes

(, Mon 15 Feb 2010, 22:03, archived)
# I'll paraphrase the core of it:
recursive function(starting point, distance, angle){

draw a circle distance and angle from starting point;

if distance is greater than 0{
recursive function(newstartingpoint, distance shortened, angle modded);
recursive function(newstartingpoint, distance shortened, angle modded);
}
}

Follow? Each frame I change the starting angle. I just then tweaked the basics and added the whole sliding to a still image thing and some other fancy modifiers.
(, Mon 15 Feb 2010, 22:01, archived)
# No! The huns can read this!
Fritz knows our secrets.

And I've run out of WW2 era terms for Germans.
(, Mon 15 Feb 2010, 22:03, archived)
# they can have it
as they did really do all the hard work on developing magnetic tape.
(, Mon 15 Feb 2010, 22:06, archived)
# Hmmm. I see.
(, Mon 15 Feb 2010, 22:07, archived)
# There are probably lots of example code out there
on the subject of recursively drawn trees, ferns, etc. Thats a good place to start.
(, Mon 15 Feb 2010, 22:09, archived)
# I started a while ago :)
(, Mon 15 Feb 2010, 22:15, archived)
# i guess I mean
'start' as in getting into recursively drawn things such as this program... no real implications beyond that!
(, Mon 15 Feb 2010, 22:24, archived)
# Heh, I wasn't inferring. Weirdly, I just moved back to drawing chemical structures.
I suppose that could be done recursively, but not fractally.
(, Mon 15 Feb 2010, 22:27, archived)
# Where's the new starting point come from then?
(, Mon 15 Feb 2010, 22:12, archived)
# ?
(, Mon 15 Feb 2010, 22:17, archived)
# Well that would just draw circles in random positions.
They would be a certain angle and distance from each random position, and the angles and distances could be modified each time by small increments, and the results would still be random positions.
(, Mon 15 Feb 2010, 22:20, archived)
# The initial call sets the seed so to speak.
The rest inherit the previous on down the iterations, and can be moded on the way down.
(, Mon 15 Feb 2010, 22:18, archived)
# thats right
Whenever a circle is drawn, thats the new jump off point for the next two calls.
(, Mon 15 Feb 2010, 22:20, archived)
# OK.
Next question: how come the circles in your picture are evenly spaced, but the code says "distance shortened"?
Also what's going on in the middle bits that look like mushy peas or broccoli?
(, Mon 15 Feb 2010, 22:23, archived)
# well each successive series of brances is shorter but there are many circles on any given teir...
one circle in the center
two circles n distance away
four circles n-x distance away
eight circles n-(2x) distance away
sixteen n-(3x) beyond that
etc etc etc
(, Mon 15 Feb 2010, 22:27, archived)
# Heh
That doesn't seem to tell me anything.
Never mind, eh.
(, Mon 15 Feb 2010, 22:34, archived)
# Oh and they are leaving trails behind as they move.
(, Mon 15 Feb 2010, 22:27, archived)
# Ah, THAT was the vital bit of information I think.
I might make some of these in Blenderpython.
(, Mon 15 Feb 2010, 22:37, archived)