I don't know of any frameworks that work on iPad with Pythonista....
Code from neural networks and deep learning does mostly work with Pythonista and will get you going quickly. This code works good for prototyping and small networks.
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.
I don't know of any frameworks that work on iPad with Pythonista....
Code from neural networks and deep learning does mostly work with Pythonista and will get you going quickly. This code works good for prototyping and small networks.
@dgelessus thanks again!!!! That is much more elegant than the code I was using. I have now carefully gone through all the argtypes with the OpenGL function I was going to use and made sure they are correct. I have updated the code on github. Thanks!
Thank you both @dgelessus and @JonB !! ..... I use to be good at C but Python has spoiled me :-). Without the OpenGLES-Pythonista project I am not even sure I would of gotten this far. What confuses me is I can't just pass glShaderSource a c-string with the shader code it is an array of string pointers, OpenGL ES function definition
But your answer(s) at least got me further down the road and I will continue to explore.
Thanks JonB uncommenting argtypes and giving it a c_void_p it is now working....I have a different error but at least I got past that line. Thank you!
Greetings,
I am having a heck of a time trying to get a simple OpenGL example to run....this is an example that I have used on the Mac and Raspberry Pi that just draws a simple triangle. I started with example code from @omz then got stuck on the function glShaderSource. My code is on GitHub and it fails on line 86 with the error message "ctypes.ArgumentError: argument 3: <class 'TypeError'>: wrong type".
Any help you can provide would be much appreciated. I am using Python 2.7 with the latest version of Pythonista. Thanks!