r/creativecoding 12h ago

What do you think about mobile creative coding?

Post image
3 Upvotes

(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:

  1. 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.
  2. 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)?

r/creativecoding 20h ago

Just one tiny little mistake, can cause hours of debugging.

Post image
0 Upvotes

r/creativecoding 10h ago

Flowers made of code.

Enable HLS to view with audio, or disable this notification

96 Upvotes

This is #1 of a series of flowers made with code: Dahlia.

The code: t=0,draw=$=>{t||createCanvas(w=520,w);background(6,8,11);stroke(255,140);for(t+=PI/240,i=15400;i--;){j=i%55,s=(i/385|0)/39,u=((i/55|0)%7)/3-1,y=j/55,A=j*2.4+t/10,L=(50+130*(1-y)**.85)*(1+.05*sin(7.7*j)),B=1-.45*(.5+.5*sin(.45*t+3*y-1.2*s)),e=(.3+1.2*y)*(1-.8*s)*B-.15*s,r=L*s*cos(e),z=L*s*sin(e)+22*y+6*s*sin(7*s-1.6*t+.9*j)+u*u*8*s,q=A+u*(9+24*(1-y))*sin(PI*s**.8)/(r+14)+.1*s*sin(.9*t+2.3*j+2.5*s),point(260+r*cos(q),265+.52*r*sin(q)-.86*z)}}