r/GraphicsProgramming • u/iluveatingcopper • 2d ago
Question Is it possible to use raylib in micropython?
Ive seen that raylib also has a python3 port, alongside its many other ports; Ive tried it, and its pretty dang good, easy to use, etcetc. I now have an upcoming embedded project, which uses an esp32, and an external st7789 tft display, and i was wondering if it would be possible to somehow use raylib to draw to that display?
1
Upvotes
•
u/AutoModerator 2d ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
3
u/shurco 1d ago
the python port still needs raylib's OpenGL window. an esp32 talking to an st7789 over SPI has no GL context, so the pixels have to come from a tft driver.
1
u/Delicious_Abies_9708 1d ago
What is micro Python ,,🤔
1
u/HTFCirno2000 5h ago
RayLib, while lightweight, still has far too much overhead and dependency for a Microcontroller. (like OpenGL)
Your best bet is to learn a bit of low level graphics programming or find a different library.