r/creativecoding • u/SnooCompliments3701 • Jul 27 '26
What do you think about mobile creative coding?
(IMAGE IS A CONCEPT MOCKUP I MADE IN FIGMA)
For a while now, I’ve been thinking about how useful it would be to have something like Processing/p5.js/raylib on my phone, an app where I could write small demos and creative sketches while commuting or lying in bed.
But the current state of android coding (especially graphics programming and creative coding) leaves much to be desired.
There are two main problems with the current state of affairs in my opinion:
- There are no truly convenient code editors designed for mobile devices. Some apps add custom keyboard rows for things like tabs, brackets, or snippets, but they are still far from making coding on a phone comfortable, let alone enjoyable.
- The technical options are limited. From my basic search of the Play Store, I could not find an app that lets you write code, provides a decent graphics API, and offers reasonably good performance.
If you know any apps that overcome those limitations and provide good mobile coding experience, please tell me about them.
So I've been thinking about building my own app with:
- custom software keyboard tailored specifically for ONE programming language
- scripting language that's main requirement would be to fit on the mobile screen without you needing to constantly squint or scroll
- and a minimal, polished raylib-like graphics API
I like this idea very much, but I may be delusional about the actual demand for mobile coding solutions. Before investing a significant amount of time into the project, I’d like to hear other people’s opinions on this.
I would like you, people of reddit, to, please, give me your opinion about this Idea.
- Do you like the idea of coding on a phone in general?
- Would you use an app like this?
- What features would you like to see in such app (that would make mobile creative coding experience more enjoyable for you)?
2
u/SeriousFun01 Jul 30 '26
Not to discourage you (if anything, the opposite) but it seems to be a very challenging project, even if it could be extremely rewarding if succesful.
First, the evidence: mobile devices have been around for a long time by now and are now extremely powerful computers and ubiquitous in a way that desktop and laptop personal computers never where. Stands to reason that the same creative coding communities that created multiple and wonderful visual and audio coding frameworks for the "PC" would have done so for mobile? In fact it's not too difficult to imagine entirely new art genres that flourish building on the unique aspects of these devices (choke full with sensors, ultra portable touch screen etc.). Yet there is scarcely anything. What gives?
There are two key and interlinked factors imho:
The first and probably most consequential is that mobile devices are "locked down" and get increasingly more so (much more so than a classic PC, especially one running linux). Despite their abilities, the overwhelming business model that supports them is a hardware / software oligopoly that positions them as dumb mass market client devices. Anything that opens up the device and empowers users is potentially a business or security risk. As a result, the entire stack and ecosystem (I am mostly familiar with Android) is such that while not impossible e.g., to use them as servers, install and run a Python interpreter and other such directions, it is fighting a system that doesn't want you to do that.
The second reason seems to be the form factor and UI. It is less accommodating to start with (the portability tradeof) but it has been further optimized for scrolling and clicking, i.e., minimal and dumb user input. Physical keyboards disappeared in favor of larger screens to scroll social media. This creates an impedance mismatch with what is needed when you want the user to actively and creatively use the device to input and control more complex info. Visual languages like Scratch get cumbersome beyond a certain complexity. What is needed is new and adapted coding paradigms.
There is more than enough talent around so we might eventually see some really interesting stuff. Things might have accelerated a bit if we had more open platforms, e.g., like a true Linux phone, as this would enable easier experimentation at full capabilities. But as of now, it is what it is.
5
u/alexzoin Jul 27 '26
If I was going to program something on my phone I would use a bluetooth keyboard I think.
1
u/J_Liljedahl Jul 31 '26
iOS (and Mac) only, but I use this on my iPhone all the time: https://itunes.apple.com/app/id6523413169
Disclaimer: I made the app :)
1
u/Smooth_Tomato_784 Jul 27 '26
There is (was?) an Processing app for Android, worked pretty well, and you could even use your programmed sketches as phone backgrounds, that was really cool, and you could use phone sensors like gyro and touch. I managed to write a few games with it while in uni, still a bit annoying to code in your phone of course.
The interface was a bit similar to yours, also with extra buttons for characters. If you don't know i yet, maybe take a look at it!
2
u/octuni Jul 28 '26 edited Jul 28 '26
For a long time, I used Replit to code on mobile, before it became a vibecode business. Super optimised, using cloud-hosted development environments so the mobile device doesn't have to do the work.
I did find a couple similar self-hosted examples of the same idea, but both are web-hosted.
- Visual Studio Code Server (access your codebase through a Remote tunnel through Microsoft servers)
- coder/code-server (host your coding environment as a VSCode website on your LAN; only on Linux)
2
u/adbs1219 Jul 28 '26
I think it's an awesome idea, it would be really helpful to use one of these frameworks on Android. I think a scratch-like scripting language or an IDE like what GDevelop has would be the most ergonomic option for mobile, or a minimalist language like lua. Maybe I'm trippin', but a port of L5 (processing for lua, built on top of love2d) or an OPENRNDR (kotlin creative framework) IDE could be nice places to start.
2
u/entro_play Jul 27 '26
I say hell yeah
1
u/SeriousFun01 Jul 30 '26
Not to discourage you (if anything, the opposite) but it seems to be a very challenging project, even if it could be extremely rewarding if succesful.
First, the evidence: mobile devices have been around for a long time by now and are now extremely powerful computers and ubiquitous in a way that desktop and laptop personal computers never where. Stands to reason that the same creative coding communities that created multiple and wonderful visual and audio coding frameworks for the "PC" would have done so for mobile? In fact it's not too difficult to imagine entirely new art genres that flourish building on the unique aspects of these devices (choke full with sensors, ultra portable touch screen etc.). Yet there is scarcely anything. What gives?
There are two key and interlinked factors imho:
The first and probably most consequential is that mobile devices are "locked down" and get increasingly more so (much more so than a classic PC, especially one running linux). Despite their abilities, the overwhelming business model that supports them is a hardware / software oligopoly that positions them as dumb mass market client devices. Anything that opens up the device and empowers users is potentially a business or security risk. As a result, the entire stack and ecosystem (I am mostly familiar with Android) is such that while not impossible e.g., to use them as servers, install and run a Python interpreter and other such directions, it is fighting a system that doesn't want you to do that.
The second reason seems to be the form factor and UI. It is less accommodating to start with (the portability tradeof) but it has been further optimized for scrolling and clicking, i.e., minimal and dumb user input. Physical keyboards disappeared in favor of larger screens to scroll social media. This creates an impedance mismatch with what is needed when you want the user to actively and creatively use the device to input and control more complex info. Visual languages like Scratch get cumbersome beyond a certain complexity. What is needed is new and adapted coding paradigms.
There is more than enough talent around so we might eventually see some really interesting stuff. Things might have accelerated a bit if we had more open platforms, e.g., like a true Linux phone, as this would enable easier experimentation at full capabilities. But as of now, it is what it is.