Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

MandelbrotSetMBS(Threaded as Integer, width as Integer, height as Integer, fx as Double = 4.0, fy as Double = 4.0, dx as Double = -2.0, dy as Double = -2.0, dest as picture = nil) as picture
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Graphics & Pictures MBS Picture Plugin 10.0 Yes Yes Yes Yes No
Function: Calculates the mandelbrot picture.
Backdrop = MandelbrotSetMBS(0,300,300)
Threaded parameter specifies how many threads you want to use:
A negative value disables threading, zero will use one thread for each CPU core and a positive number specifies the thread count.

Width & Height specifiy the output image size.
fx and fy are the scale values and dx/dy specify the the position of the mandelbrot image.

You can pass destination picture. If dest is not nil and size matches, the plugin reuses the picture object which increases performance as no new picture is created.

Some examples using this method:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Picture Plugin.

MBS Xojo Chart Plugins