Omnimaga
Calculator Community => TI Calculators => General Calculator Help => Topic started by: Malcolm Forde on April 18, 2015, 10:03:07 pm
-
Is it possible to do this on the TI Nspire CX? Or will I have to learn C/C++ to do anything graphical on my calculator?
-
There is a simple graphics library for micropython, look at the demo that comes with it.
-
Thanks!
-
I actually thought about writing an interface to use nGL from within Micropython, but in the end it'll be too slow.
I would have to implement a new data type (GLFix, fixed point) that is not supported by python directly, using floats wouldn't be fast enough.
It would definitely work, but it won't be fun.
Anyway, I designed nGL in a way that makes it fairly easy to use, without any complex language constructs.
Knowledge of C should be enough (although the files have to be C++) to get a decent nGL app running.
Also, to just do some basic 2D graphics I'd recommend looking at other libs which aren't optimized for "heavy" 3D graphics like SDL or n2Dlib.
-
I was considering attempting to learn C again just for programming on the TI-Nspire. And I probably will since compiled C code is a whole lot faster than any compiled language. I've done a fair bit of javascript and a tiny bit of C already, so learning C for this purpose shouldn't be all that hard.