Analysis: Replace Processing for Web (TeaVM) and Android Support#16
Closed
Analysis: Replace Processing for Web (TeaVM) and Android Support#16
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Copilot
AI
changed the title
[WIP] Replace processing with LWJGL
Analysis: Replace Processing with LWJGL
Nov 24, 2025
Member
|
@copilot I want to support the web with teawm and maybe android. |
Contributor
Author
For web (TeaVM) and Android support, LWJGL alone won't work - it's desktop-only with native bindings. Better options for your goals:
Would you like me to proceed with a libGDX migration plan, or do you have a specific framework in mind for the cross-platform support? |
Copilot
AI
changed the title
Analysis: Replace Processing with LWJGL
Analysis: Replace Processing for Web (TeaVM) and Android Support
Nov 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Request to replace Processing framework to enable web support (TeaVM) and Android platforms.
Current Situation
Processing is deeply integrated across 31+ files (~5,500 LOC):
AppletextendsPApplet, all graphics viaPGraphicsPImage,PFontthroughoutMouseEvent,KeyEventPShaderfor OpenGL shadersProcessing is desktop-only and cannot be compiled to:
Migration Options
Option 1: libGDX (Recommended for Multi-Platform)
Option 2: Custom Abstraction Layer
Option 3: Processing.js / p5.js for Web
Platform Support Comparison
Note: LWJGL alone won't solve web/Android - it's desktop-only. For multi-platform, libGDX is the more practical choice.
Recommendation
For web + Android support, consider libGDX as it:
Next Steps
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.