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?
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Posts made by tmhrtly173
-
RE: Simple alarm device / home automation using a Raspberry Pi and Pythonista on the iPad
-
Crash report
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.
-
RE: Crash report
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...
-
RE: Mandelista, a Mandelbrot set explorer for Pythonista
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)