User Tag List

Results 1 to 2 of 2

Thread: Example: Custom Fractal Tree 🌳

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5+ DLC (Steam)
    Linky's Avatar
    Join Date
    Mar 2020
    Location
    Egypt
    Posts
    258
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Example: Custom Fractal Tree 🌳

    I have shared this example on Click Converse Discord Server but thought it will be a good idea to also share it on the forum so it can reach more Fusion users (From now on I might do that for my other examples as well)

    Pasted Directly from Discord:
    So I have been experimenting with Fractal Trees and I finally managed to implement them!
    I only implemented the most symmetrical tree approach, there are still other methods that allow for more dynamic trees with more randomness and such

    The tree is created from start to finish inside a loop, if want to apply the changes made to the values visually you would have to clear the screen (or delete the segment objects if you use actives instead of surface) then redraw (or recreate the segments) again based on the new values (basically every time you want to change the tree you would have to regenerate it)

    The more Levels, the more expensive it gets
    Surprisingly if you used Actives to draw the Tree instead of Surfaces the performance impact is not that big, even tho actives are constantly being deleted and recreated again

    I might later implement a real actual OOP approach with this, but this would require a different method, for now this what I got, please let me know of what you think and how this can be used in different projects

    Example: Fractal Tree.mfa

  2. #2
    Forum Moderator Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleFirefly 3D Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Mac Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    NaitorStudios's Avatar
    Join Date
    May 2010
    Location
    Brazil
    Posts
    1,437
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    @prester, that's working as intended.
    What it actually does is that it draws the same thing but using multiple active objects instead of one Surface object, because Surface isn't compatible with other runtimes.

Similar Threads

  1. Custom Highscore table with custom font - is this possible
    By DEKE15 in forum HTML5 Export Module 2.5
    Replies: 8
    Last Post: 30th September 2014, 08:22 AM
  2. Oh Tree object..Oh darling Tree object..Problem
    By Orpa1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 39
    Last Post: 2nd August 2009, 09:00 PM
  3. Julia set fractal
    By Algul in forum File Archive
    Replies: 25
    Last Post: 21st March 2009, 07:24 PM
  4. Tree Control, save and load tree bug?
    By Decal in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th April 2008, 01:13 PM
  5. Xml to tree?
    By Horn in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th August 2007, 12:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •