Giter Site home page Giter Site logo

semuconsulting / pymandel Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 41.56 MB

Mandelbrot and Julia Set GUI application written in Python & Tkinter

License: GNU General Public License v3.0

Python 100.00%
mandelbrot fractal julia numba mandelbrot-fractal mandelbrot-renderer mandelbrot-set mandelbrot-fractal-drawer julia-set julia-fractal

pymandel's People

Contributors

semuadmin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lanprijatelj

pymandel's Issues

pymandelcli: Weird behavior with Gray Scale Theme at certain zoom level

Describe the bug
I noticed a weird behavior when generating a Mandelbrot zoom with the pymandelcli and the Grayscale color theme. Somehow, the picture gets really messed up when it reaches a certain zoom level (see images below). I tried different zoom increments and zoom starting points (<1), but was always getting this weird blob (image 10).
The bug was not reproducible in the GUI.

To Reproduce

  1. Run the commandpymandelcli filename="zoom" width=3840 height=1080 frames=50 zoom=0.7 zoominc=1.04 zxoffset=-1.401155189 zyoffset=0 theme="BasicGrayscale"

Screenshots
Here are some images:
At the start of the generation, all looks fine:
zoom_001

Then it gets progressively worse (Image 8 - 10).
zoom_008
zoom_009
zoom_010

After that, the pictures slowly return to normal (Image 11 - 12)
zoom_011
zoom_012

Desktop:

  • OS: Ubuntu 22.04
  • Version v1.0.8

pymandelcli not zooming to the right places

For some reason, when I tried recreating the animation from the README using pymandeCLI, the pictures quickly started zooming into an unexpected part of the Mandelbrot set and quickly turned all black. I tried the same offsets in the pymandel app and it worked fine.

After installation, I typed this into the command line:

pymandelcli filename="zoom" width=400 height=300 frames=178 zoom=0.75 zoominc=1.2 zxoffset=-0.743643887037158704752191506114774 zyoffset=0.131825904205311970493132056385139 theme="Colorcet_CET_C1"

And here's what I got:

Attatched are the 16th and 24th generated images to show that its not zooming right.

zoom_016
zoom_024

This could totally be my own mistake somewhere from lack of experience, but if its a bug hopefully this will alert you of it. I'm on MacOS Big Sur

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.