omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. tmhrtly173

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    tmhrtly173

    @tmhrtly173

    0
    Reputation
    681
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    tmhrtly173 Unfollow Follow

    Latest posts made by tmhrtly173

    • RE: Simple alarm device / home automation using a Raspberry Pi and Pythonista on the iPad

      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
      tmhrtly173
      tmhrtly173
    • 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.

      posted in Pythonista
      tmhrtly173
      tmhrtly173
    • 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...

      posted in Pythonista
      tmhrtly173
      tmhrtly173
    • 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)

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

      posted in Pythonista
      tmhrtly173
      tmhrtly173