Added: 3 years ago
From: reg2800
Views: 103,474
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (37)

Sign In or Sign Up now to post a comment!
  • Wow. Beautiful tree! I wish I understood how to do that. Now make a garden!  :0)

  • From from watching bullfrogs in China to fractal trees?? *leaves to remember what sunlight feels like*

  • 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.

  • Fractal trees? More like Fractal tree.

  • Comment removed

  • @Altair565 here you have more trees and in 3d watch?v=9KmP2lMD5Lw :)

  • Seems like a long path to get a video. Why not skip the postcript step, and just output pngs?

  • lol I used to draw this trees

  • pretty!

  • Nice also looks like a kidney design.

  • Excelente!!!

    BUenísimo!

  • I tried drawing a Pythagoras Tree once....It didn't end well...

  • Only a bit geeky? :) Very nice though.

  • new sand falling game?

  • that is cool as hell

  • Comment removed

  • 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. 

  • can you post the code to this? its almost what im trying to do, except in Processing rather than C++.

  • cool!

  • I tried to program something like this in flash once, it turned into a huge mess though.

  • Treeeeeeeeeeeeee

  • reminds me of falling sand game

  • yeah, on a less techie note, TRIPPY AS FUCK!

  • I made one in pascal :P Pascal really sucks when making gfx :D okkk, pascal sucks at almost any level :))

  • @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 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

    Nah, that's C++/CLI, not familiar with that at all. I think you could use DirectX or OpenGL though.

  • look up "wonderfl", you might be making these trees a bit easier :)

  • I like.

  • Perfecto

    Kass

  • 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.

  • 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 :)

  • 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);

    }

  • Here is a more correct algorithm:

    drawTree(position,direction,le­ngth)

    {

    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 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?

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more