Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Pixel plotting/access

edited October 2011 in Suggestions Posts: 8


First of all, great app!

It would be cool to have access to pixel plotting or direct access to the frame buffer. Take a look how it's done in Processing:

If implemented I could really use this app in my work doing procedural shader prototyping on the go!

Best Regards,

Max Persson


  • beebee
    Posts: 381


    If Codify really wants to be the Processing of Lua on iOS, there are still many features need to be provided on the next version. :)



  • SimeonSimeon Admin Mod
    Posts: 5,782

    True, it's something I want as well. I suspect, however, that iterating over a large image or even every pixel on the screen could potentially be quite slow in Lua on iPad.

    Definitely something that will be explored.

  • Sure it will not be the fastest. But at least for me that doesn't matter as I only want to use it as a canvas to paint procedural patterns.

    Also thinking about it and how it's done in Processing, there is a command for only drawing to screen once. That would be very useful together with the pixel plotting in my case.

    Best Regards,


  • SimeonSimeon Admin Mod
    Posts: 5,782

    Good point, Max. It sounds worthwhile when you put it like that.

  • Posts: 3

    I wonder if having access to pixel shaders would make this feasible. The new (unreleased 0.8) version of love2d has a cross compiler that takes simple effect code and outputs glsl. I don't know how well documented this is, but you can take a look at the start of it here: and

    I think that this would only work in post processing, and you wouldn't easily be able to get pixel values, just set them. So maybe not the most processing approach, more like gamemakers surfaces.

  • It would be cool to have pixel shaders in Codify but I wonder if it defeats some of that "simplicity" that influences the app...

Sign In or Register to comment.