webOS devlog 5
two-in-one?? paint app and start menu!
in record time (yes, 4 hours is record time), i managed to create a basic painting app and a start menu!
carrying over my knowledge about localStorage to making the save and new functions of Paint really sped things up. that said, setting up the viewport of the canvas so that you could edit a whole screen worth of content was a bit of a headache:
i tried setting the paint window to just clip content, but that meant when it was resized from a larger to smaller then larger size again, only the content visible in the smaller size was preserved. so i had to set up a big, invisible viewport and a window so that you can scroll the viewport, and the whole beautiful art you made can be restored.
features included in Paint™:
- draw. can u believe that? can u believe u can draw in a Paint app?
- change the brush colour (i know, mindblowing)
- fill the canvas with your choice of colour
- erase (this took me wayyyy too long to figure out wth)
- make multiple paintings and save each. that’s right, u can make and save as many incomplete art panels as the average manga artist (no shade).
- view all of your paintings. each painting is saved like a clickable file on the desktop. that’s so cool, as long as you don’t refresh the page because idk how to write to ur pc storage. sue me.
start menu was very easy, probably cuz it’s so basic but i’m not really building it beyond that for now.
unfortunately for the 0.5 people that have been following along, this might be my last devlog… before my first ship! i want to account for all the progress i’ve made thus far, so i’ll be shipping the first rendition of donOS X later today for the world to enjoy (or hate on, whichever fits ur personality).
thanks for reading! like this devlog. now. 
Comments 3
I love this!
@OhKay404 Thank you!! I love your work tooo
@boredon thank you! 💗
Sign in to join the conversation.