Wednesday, November 17, 2010


Took more than five minutes, yes.

*edit* I hacked my paint app I've named 'JOOPaint' sufficiently that I can now haz colors.

  1. adjust image size/create new image - currently, when you start, it creates a 320x240 image.
  2. Scrollbars. It zooms to upper-left and that's it... 
  3. Also viewport
  4. Dropper
  5. Flood fill, also adjusting lineweight. Current 1px gets tiresome really fast....
  6. Layers

Enhanced by Zemanta


Chesu said...

At least it's a cute something?

Your paint program sounds interesting... Since you already have colors and are making a layering system, are you going to drop the erase tool?

Esa Karjalainen said...

Oh, no.
As layers aren't in yet, 'erase' has no meaning - well, not _much_ meaning, but erase as "set color to 0, alpha to 0" is a useful feature, esp. as the default save format is png.

Fill tool, eraser and adjustable pen size are on my list of near-critical features. Layers and such are on wishlist.

Still, even as-is, it's a slight tune-up away from passing grade in the class I made it for :)

Esa Karjalainen said...

Oh, and implemented a partial fill algorithm. It's imperfect right now, though, but still better than doing it by hand.

Esa Karjalainen said...

Actually, as it turns out I couldn't stop and now I can has flood fill, which... seems to work? (fingers crossed)

Anonymous said...

I like the top something. ^_^

Also, cool designing a paint program.

(Vader breath) "You have constructed your own light saber... Your skills are complete!"

Esa Karjalainen said...

That's... quite fitting, actually. I still have to implement undo, since my fingers automatically hit ctrl-z whenever I make a mistake... but it's relatively feature-complete for a proof-of-concept.
Oh, that canvas size adjustment is a must, though.