Results 1 to 5 of 5

Thread: Mandelbrot 3D set

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Mandelbrot 3D set

    testing the forum 3d mandelbrot set example in thinbasic with some variations, it is excelent. but trying the same (almost) in PB 9 result in a confusing status
    Mandel3D thinbasic example: display 3d mandel set and it will also save the set as points so we can view the points in meshlab as xyz model.
    Read_3D_Points TB example: will read the dataXYZ.xyz file produced by the Mandel3D and display it quickly.

    Read_3D_Points.Bas : will read the dataXYZ.xyz file produced by the Thinbasic first example
    note if we used leng = calcleng2(x,y,z) it will display the Set okay, but use leng = calcleng(x,y,z) and it will display it as spherical
    can't believe since the 2 subs is the same, arn't the vars inside the subs protected and local ? why it works in thinbasic excellently

    Mandel3D.bas: in PB in line 137 if we use leng = calcleng(x,y,z) it will display spherical shape. but if we use instead leng = calcleng2(x,y,z) which is the same but changing the variables names, it will display the set as if it is compressed
    Attached Files Attached Files

Similar Threads

  1. Api Mandelbrot
    By peter in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
    Replies: 0
    Last Post: 20-02-2014, 22:21
  2. TB Mandelbrot Time
    By peter in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
    Replies: 16
    Last Post: 13-12-2013, 07:41
  3. canvas_setpixel (mandelbrot)
    By largo_winch in forum UI (User Interface)
    Replies: 14
    Last Post: 31-10-2011, 17:30
  4. 3D Mandelbrot Set
    By zak in forum General
    Replies: 11
    Last Post: 29-11-2010, 06:40
  5. Benoit Mandelbrot, RIP
    By LanceGary in forum Shout Box Area
    Replies: 6
    Last Post: 05-11-2010, 03:35

Members who have read this thread: 1

Posting Permissions

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