Do any of you code head morons realize that the reason this whole thing is fractal is because the Pythagorean theorem compromises the first integer it needs to condition the set. The whole integer one becomes an endless .99999 which creates the endless spiral. You fucking math cognitive s need to wake up to the reality that Pythagoras was the birthplace of a murderous cult that beheaded its own members.
@TheAntiFascist2010 Your all supposed to be smart yet in your infinite knowledge of whatever bullshit the university sold you you have bought into the biggest lie that has ever predominated the planet earth. You cannot break the president integer in a system. (In most cases that would be one) because in a physical sense that first integer defines the volume for each following integer. Here is the proof. 1 + 1 = 2.
Nah, Pascal is a good learning language for beginners because it has a very clear syntax compared to other languages. I am using mostly C++ myself, but I do curse the syntax "niceties" like weird static member initialization and stuff like that from time to time.
@narutofan9999 I'm in college now, and I'm working in c++ too. Right now I have an assignment to make a program like apophysis, but with better animation, dimension control and stuff like that :P
Do you know a fast way to manipulate pixels in a Visual Studio forms application?
You could turn the frames into video more efficiently. I could give some standard c++ code that generates saves to Windows Bitmap format files (extension usually *.bmp). From the bitmap sequence, you can use virtual dub or probably ffmpeg to convert the frame sequence to video. c++ program -> frame sequence -> video program(ie. ffmpeg) -> video.
My guess is that he used c++ to generate a sequence of drawing commands for each frame. More specifically, he wrote a vector graphics file in postcript format. If you used c++ before, it would be easier to understand. pseudo code for a single frame:
drawBranch(position,direction,length)
{ if (length<1) return; drawBranch(position of branch end,direction-30 degrees,length/2); drawBranch(position of branch end,direction+40 degrees,length/2);
/* adjust line width and colour based on length. */
drawLine(position,position of branch end);
drawTree(position of branch end,direction-30 degrees,length/2);
drawTree(position of branch end,direction+40 degrees,length/2);
}
The growth can be simulated by making the "length/2" expression dependent on the frame number like: "length/(2-frameNumber/1500)" assuming frameNumber<1000.
@joshig1983 Hi joshig1983, i noticed you pasted some code into a comment about a year ago. I have learned the c++ programming language for the past few months, and have had an amateur curiosity in fractals for a while. can i produce fractals like that, however simple, with c++?
Wow. Beautiful tree! I wish I understood how to do that. Now make a garden! :0)
MolecularMoonlight 4 days ago
From from watching bullfrogs in China to fractal trees?? *leaves to remember what sunlight feels like*
sissyfrosty 1 month ago
Hey, this is the tree that I liked to draw when I was young. I called it Brain Tree and I already registered it, it has copyright. Hahaha.
off99555 1 month ago
Fractal trees? More like Fractal tree.
Altair565 5 months ago
Comment removed
furcino 3 months ago
@Altair565 here you have more trees and in 3d watch?v=9KmP2lMD5Lw :)
furcino 3 months ago
Seems like a long path to get a video. Why not skip the postcript step, and just output pngs?
realisticHomeboy 8 months ago
lol I used to draw this trees
mindtoonz262 8 months ago
pretty!
jollyrogers011 9 months ago
Nice also looks like a kidney design.
PantheraAtrox 10 months ago
Excelente!!!
BUenísimo!
estebanoliverosm 1 year ago
I tried drawing a Pythagoras Tree once....It didn't end well...
sellingpens 1 year ago
Only a bit geeky? :) Very nice though.
TimmermanV 1 year ago
new sand falling game?
Legoking45 1 year ago 7
that is cool as hell
ueiwqoak 1 year ago
Comment removed
TheAntiFascist2010 1 year ago
Do any of you code head morons realize that the reason this whole thing is fractal is because the Pythagorean theorem compromises the first integer it needs to condition the set. The whole integer one becomes an endless .99999 which creates the endless spiral. You fucking math cognitive s need to wake up to the reality that Pythagoras was the birthplace of a murderous cult that beheaded its own members.
TheAntiFascist2010 1 year ago
@TheAntiFascist2010 Your all supposed to be smart yet in your infinite knowledge of whatever bullshit the university sold you you have bought into the biggest lie that has ever predominated the planet earth. You cannot break the president integer in a system. (In most cases that would be one) because in a physical sense that first integer defines the volume for each following integer. Here is the proof. 1 + 1 = 2.
TheAntiFascist2010 1 year ago
@TheAntiFascist2010
O.O
ItsMovieTimeProd 1 year ago
can you post the code to this? its almost what im trying to do, except in Processing rather than C++.
colbynat 1 year ago
cool!
notfunny103 1 year ago
I tried to program something like this in flash once, it turned into a huge mess though.
UnlimitedDrillWorks 1 year ago
Treeeeeeeeeeeeee
LordOfTheGnus 2 years ago
reminds me of falling sand game
deliciousd2 2 years ago 7
yeah, on a less techie note, TRIPPY AS FUCK!
420orion727 2 years ago 2
I made one in pascal :P Pascal really sucks when making gfx :D okkk, pascal sucks at almost any level :))
s23b 2 years ago
@s23b
Nah, Pascal is a good learning language for beginners because it has a very clear syntax compared to other languages. I am using mostly C++ myself, but I do curse the syntax "niceties" like weird static member initialization and stuff like that from time to time.
narutofan9999 9 months ago
@narutofan9999 I'm in college now, and I'm working in c++ too. Right now I have an assignment to make a program like apophysis, but with better animation, dimension control and stuff like that :P
Do you know a fast way to manipulate pixels in a Visual Studio forms application?
s23b 9 months ago
@s23b
Nah, that's C++/CLI, not familiar with that at all. I think you could use DirectX or OpenGL though.
narutofan9999 9 months ago
look up "wonderfl", you might be making these trees a bit easier :)
iwantcoolname 2 years ago
I like.
roguehearts 3 years ago
Perfecto
Kass
Kassandrakass 3 years ago
You could turn the frames into video more efficiently. I could give some standard c++ code that generates saves to Windows Bitmap format files (extension usually *.bmp). From the bitmap sequence, you can use virtual dub or probably ffmpeg to convert the frame sequence to video. c++ program -> frame sequence -> video program(ie. ffmpeg) -> video.
joshig1983 3 years ago
Wow man, this is great!
Is it flash?
Are all objects already created at start of the movie, and then just expand?
broadsmile (dot) info
On this site You will see my flash fractal tree :)
Broadsmile1987 3 years ago
My guess is that he used c++ to generate a sequence of drawing commands for each frame. More specifically, he wrote a vector graphics file in postcript format. If you used c++ before, it would be easier to understand. pseudo code for a single frame:
drawBranch(position,direction,length)
{ if (length<1) return; drawBranch(position of branch end,direction-30 degrees,length/2); drawBranch(position of branch end,direction+40 degrees,length/2);
}
joshig1983 3 years ago
Here is a more correct algorithm:
drawTree(position,direction,length)
{
if (length<1) return;
/* adjust line width and colour based on length. */
drawLine(position,position of branch end);
drawTree(position of branch end,direction-30 degrees,length/2);
drawTree(position of branch end,direction+40 degrees,length/2);
}
The growth can be simulated by making the "length/2" expression dependent on the frame number like: "length/(2-frameNumber/1500)" assuming frameNumber<1000.
joshig1983 3 years ago
@joshig1983 Hi joshig1983, i noticed you pasted some code into a comment about a year ago. I have learned the c++ programming language for the past few months, and have had an amateur curiosity in fractals for a while. can i produce fractals like that, however simple, with c++?
if not, then what do i need to use?
is it easy to learn from scratch?
jimmyshitbags 1 year ago