Skip to content

Circular Views

Latest

Choose a tag to compare

@jeffpar jeffpar released this 01 May 16:44

A new Mandelbot property, shape, can be set to select either a rectangular or circular view.

The site now includes a Circular View demo.

If you're setting the property on a page, then the property must be either 'rect' or 'circle'; the Jekyll include file "mandelbot.html" will ensure that the View canvas is properly styled for the selected shape, and it will pass the appropriate Mandelbot.SHAPE constant to the Mandelbot constructor function.

If you're calling the Mandelbot constructor directly, the shape parameter should be set to one of the Mandelbot.SHAPE constants (RECT or CIRCLE); if omitted, it will default to RECT.