{ "info": { "author": "Teun van Wezel", "author_email": "vanwezelteun@gmail.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "\u00ef\u00bb\u00bf# Pybrot\nPybrot is a python package that you can use to create images of the mandelbrot set like this:\n\n![Image of mandelbrot set goes here.](mandelbrots/mandelbrot_ex_hq_1.png)\n`Mandelbrot(autoMaxIter=False, maxIterations=128, samples=5000, drawRadius=1.5, coloringFunc=MandelColoring.IterativeColor)`\n![Other image of mandelbrot set goes here.](mandelbrots/mandelbrot_ex_hq_2.png)\n`Mandelbrot(x=-0.9230110468224410331799630273585336748656, y=0.3103593603697618780906159981443973705961, drawRadius=0.00001, samples=1000, blacknessLimit=0.025, coloringFunc=SmoothColor)`\n\n# Installation\nPybrot is in the python package index. You can use pip to install pybrot.\n\n`pip install pybrot`\n\n# Use\n\nFirst, import the package:\n\n`from pybrot.Mandelbrot import Mandelbrot`\n\nThen, you can initialise a mandelbrot object like so:\n\n`m = Mandelbrot()`\n\n\n\nThen you can call\n\n`m.show()`\n\nto show the image, or use\n\n`m.SaveImg(\"Mandelbrot.png\")`\n\nto save it as an image.\n\n# DIY\n\nThe process described above creates the same image of the mandelbrot set each time. The Mandelbrot object initialiser takes a lot of arguments which you can use to customise the image that is produced. All arguments are keyword arguments.\n\n\nThe x and y co\u00c3\u00b6rdinates determine what point the image is centered around.\n\n`x (default: 0)`\n\n`y (default: 0)`\n\nThe drawing radius determines how zoomed in the image is. The bigger the drawing radius, the more zoomed out the image.\n\n`drawRadius (default: 2)`\n\nTo calculate whether a point lies within the mandelbrot set, a maximum iteration amount is required. If you are not sure what that means, or how that works, there is an option (which is enabled by default) to automatically calculate the ideal maximum iteration. \n\n`autoMaxIter (default: True)`\n\nWhen calculating the ideal number of maximum iterations, the module uses the amount of black pixels in the image in proportion to the total amount of pixels. You can change the maximum percentage of black pixels in the image by using the blackness limit. This is set to 0.3 (=30%) by default, which guarantees that the image will not contain more than 30% black pixels.\n\n`blacknessLimit (default: 0.3)`\n\nIf you want to manually select a maximum iteration value, that is also possible (but remember to set autoMaxIter to False).\n\n`maxIterations (default: 64)`\n\nWhen calculating whether a point lies within the mandelbrot set, you also need to specify the escape radius. If the absolute value of the point is bigger than this value before reaching the maximum iterations (see above), then it's considered outside of the set.\n\n`escapeRadius (default: 4)`\n\nDepending on how high quality you want your image to be, you can set the samples argument. This argument defines how many rows and columns of pixels are generated and have a color calculated for it, and thus the resolution of the image. This value also has a dramatic effect on performance (n times more samples means n\u00c2\u00b2 times the calculations).\n\n`samples (default: 250)`\n\nLastly, if you would like to create your own coloring function to create even more unique images, you can use the coloringFunc argument to specify your own function, or you can use one of the functions defined in the MandelColoring script.\n\n`coloringFunc (default: IterativeColor)`\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/teunvw14/pybrot", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pybrot", "package_url": "https://pypi.org/project/pybrot/", "platform": "", "project_url": "https://pypi.org/project/pybrot/", "project_urls": { "Homepage": "https://github.com/teunvw14/pybrot" }, "release_url": "https://pypi.org/project/pybrot/0.0.7/", "requires_dist": null, "requires_python": "", "summary": "A python package to create mandelbrot set images.", "version": "0.0.7" }, "last_serial": 4269824, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "5911c063cf088aaf019e6a2cb4318d2c", "sha256": "03a386852403a513172e2bbe4f06e97cc7b224cedc0ce11e9cab9ad853e79b95" }, "downloads": -1, "filename": "pybrot-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "5911c063cf088aaf019e6a2cb4318d2c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6792, "upload_time": "2018-09-08T14:47:57", "url": "https://files.pythonhosted.org/packages/76/e6/529b1cb970ade102279004de488688815db7e8211619597b17e4c74f6072/pybrot-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e31569b512c4531d55fea03c21db63de", "sha256": "03cc2aa327836b5bc1c8fe54dce3b8a66bda01293bdccb616ac49d2f199e4e5c" }, "downloads": -1, "filename": "pybrot-0.0.4.tar.gz", "has_sig": false, "md5_digest": "e31569b512c4531d55fea03c21db63de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5623, "upload_time": "2018-09-08T14:47:58", "url": "https://files.pythonhosted.org/packages/c4/4e/251ba3bc8da5311ddc2f336c1902e825efb16481907bcbcf7b8c0e28ad2b/pybrot-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "4ed42c2261493b9773f28bba9b92c2ee", "sha256": "9609479a220ddd39be4c32897b974439179e286e89519216b14c440e56806419" }, "downloads": -1, "filename": "pybrot-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "4ed42c2261493b9773f28bba9b92c2ee", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7142, "upload_time": "2018-09-09T12:39:33", "url": "https://files.pythonhosted.org/packages/d6/fc/e9497111f856fb27eed750dd1365903dc7f137a3d5618e51b0fe7b175995/pybrot-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d77fa20f08b0b46607c46b67984100dc", "sha256": "92e1faf77290660a5ff0874689ded03246f841bcea9c7e9f2412ee4cda75a9fc" }, "downloads": -1, "filename": "pybrot-0.0.5.tar.gz", "has_sig": false, "md5_digest": "d77fa20f08b0b46607c46b67984100dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5849, "upload_time": "2018-09-09T12:39:35", "url": "https://files.pythonhosted.org/packages/be/1e/811ae2e4e566dc09cbc0451437f0294037d2bac81c36c8893155bc6ddc95/pybrot-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "8fed3ba34288f131eee6eb65ca7c5e5d", "sha256": "1af0a1264c7666d7489f2fc72749e38b220256ee4f6b44a5b3be695228e09f48" }, "downloads": -1, "filename": "pybrot-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "8fed3ba34288f131eee6eb65ca7c5e5d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7160, "upload_time": "2018-09-10T10:33:35", "url": "https://files.pythonhosted.org/packages/87/f7/ad32c0f904d6ec93d5b4c7698a36819340d76c47a97a21fdc4bf77f190f5/pybrot-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1bb09df9bfcf06607839dd126a724257", "sha256": "6f8e1ca74e2c5038dfb4ee8d4c000fe5424713c64e5553efe88be5b98f33c72b" }, "downloads": -1, "filename": "pybrot-0.0.6.tar.gz", "has_sig": false, "md5_digest": "1bb09df9bfcf06607839dd126a724257", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5845, "upload_time": "2018-09-10T10:33:36", "url": "https://files.pythonhosted.org/packages/05/04/3d69cbc0d2139086808d9f40819ef7241213780189bbde5c376490829d8c/pybrot-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "4bfddfe3740cc423aca836394b074303", "sha256": "53535b7bcf57585011a5ea8fed66bac6195d0ead14da06e6f41af0489e1d8b7a" }, "downloads": -1, "filename": "pybrot-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "4bfddfe3740cc423aca836394b074303", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7469, "upload_time": "2018-09-13T19:45:43", "url": "https://files.pythonhosted.org/packages/95/47/892a27dce8075a69c3129590fc0d362e125848378b8691bda40f8fbf0b5e/pybrot-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a3e5b4769e062d90c2b332e04308df03", "sha256": "0c92c8fc6e64f0a2609cd08914d07cbf00e47fb76f6367fcbde73c95244cbf31" }, "downloads": -1, "filename": "pybrot-0.0.7.tar.gz", "has_sig": false, "md5_digest": "a3e5b4769e062d90c2b332e04308df03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6156, "upload_time": "2018-09-13T19:45:45", "url": "https://files.pythonhosted.org/packages/0e/33/b696b44c447b39ecab9586763dc743319664958beca8f9bd1926a8593a12/pybrot-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4bfddfe3740cc423aca836394b074303", "sha256": "53535b7bcf57585011a5ea8fed66bac6195d0ead14da06e6f41af0489e1d8b7a" }, "downloads": -1, "filename": "pybrot-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "4bfddfe3740cc423aca836394b074303", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7469, "upload_time": "2018-09-13T19:45:43", "url": "https://files.pythonhosted.org/packages/95/47/892a27dce8075a69c3129590fc0d362e125848378b8691bda40f8fbf0b5e/pybrot-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a3e5b4769e062d90c2b332e04308df03", "sha256": "0c92c8fc6e64f0a2609cd08914d07cbf00e47fb76f6367fcbde73c95244cbf31" }, "downloads": -1, "filename": "pybrot-0.0.7.tar.gz", "has_sig": false, "md5_digest": "a3e5b4769e062d90c2b332e04308df03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6156, "upload_time": "2018-09-13T19:45:45", "url": "https://files.pythonhosted.org/packages/0e/33/b696b44c447b39ecab9586763dc743319664958beca8f9bd1926a8593a12/pybrot-0.0.7.tar.gz" } ] }