Mandelbrot plot (2002)

Author's sample script, wroks, hints.
Post Reply
User avatar
3DfromNULL
Site Admin
Posts: 43
Joined: 2018-Jul-13 9:35

Mandelbrot plot (2002)

Post by 3DfromNULL » 2018-Aug-11 8:51

This script gives a demonstration of plotting Mandelbrot set and coloring trueSpace (tS) objects. Each pixel's color and height are calculated by x and y coordinates of the point using Python's "complex" type. To get a spectrum of color in RGB, the script uses hsv_to_rgb() of "colorsys" standard module.

Image

You may change some parameter for the range, precision, etc. to get result you want, but too high precision may cause tS crash.

Image

edited on Mar 12 2019:
This script cannot run with Python2. Please use ptsxpy-for-Python3.
Updated the attached script file, 1b->1c so that it can be run with ptsxpy 0.0.7.

Image
Image Image Image Image Image
Attachments
mandel1c.py
script file
(2.63 KiB) Downloaded 515 times

arribre
Posts: 2
Joined: 2021-Sep-22 1:03
Location: Cook Islands
Contact:

order cialis now

Post by arribre » 2021-Sep-23 11:48

http://buyzithromaxinf.com/ - generic azithromycin price

Post Reply