• tmhrtly173

    Ahh, I love it! Awesome work. How are you communicating between the pi & pythonista? Presumably there's some software running on the pi, what language is it in?

    posted in Pythonista read more
  • tmhrtly173

    https://gist.github.com/4467595

    Running this code in pythonista causes the app to crash entirely... It's related to the bug in my code (after d[0]=0 I should return d, if I add in that line then it works a charm). It's funny that an app so stable might have one tiny little circumstance which would probably never happen... I'd be interested in hearing about what in the app's code caused this bug :D

    Edited to use a gist cos otherwise a distinct lack of tabulation occurs.

    posted in Pythonista read more
  • tmhrtly173

    I was running that on an iPad 3.

    I have just restarted my iPad (to free up memory) but it still crashed when I ran it. I checked sys.getrecursionlimit() and it gives me 256, so not excessively high...

    posted in Pythonista read more
  • tmhrtly173

    Here's a little script I wrote a while ago, and then ported to work with Pythonista. It renders the Mandelbrot set.

    It uses the canvas module, not the scene module, so the output can be saved as an image, however it is not interactive like your program.

    It also uses some techniques described on the Wikipedia page to smooth the image so that you don't get the bands of colour visible in the images your script produced. Feel free to take any code you want from it, and nice work! (Mine only renders colours from black to white ATM, but that can be changed fairly easily)

    https://gist.github.com/2bce53115d4ed6e4a0ca

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!