Back Pixel perfect drawing 16 | ♥ 23

EDIT: this was actually implemented in Aseprite :) Good news! See the discussion here.

Based on an idea by Carduus, I’ve made a small prototype of a pixel perfect drawing algorithm.

With Photoshop or similar tool, when you paint using the Brush/Pencil tool, you get this kind of ugly line:


Here what can be done with some tricks:


Here is a demo (maintain left click to paint). It lacks support for some special cases like drawing a line that crosses itself, but you get the idea.

[ The Flash-based demo isn’t available anymore ]

Maybe it would be a nice idea to create a pixel painting software based on this? What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. JustIO:

    Yes i too think its a great idea (sorry for my bad eng im just a ussr gamedev noob)

    March 12, 2017 at 19:54
  2. PifyZ:

    This was added to Aseprite (

    November 10, 2015 at 11:35
  3. LinX:

    This is such a great idea….

    July 22, 2014 at 19:48
  4. Tyler:

    Hi, I'm really interested in your algorithm, it looks really cool. Can you tell us what the algorithm is? I'd really like to implement this in my own drawing program. If you don't want to post it here, I don't mind you emailing to me. Thanks in advance!

    April 19, 2014 at 03:06
  5. Kaleb Elmore:

    This is really cool, I would pay for it. Please continue working on this. Btw, I love your pixel art in your games so much. It's inspiring.

    February 21, 2014 at 18:12
  6. Ace:

    Would you mind releasing the algorithm here so someone can make use of it?

    January 14, 2014 at 20:30
    • Sébastien Bénard:

      Thanks for the comment :) Actually, I'm working on a (free) pixel art app myself, so this tool will be available in it.

      January 14, 2014 at 21:10
    • Ace:

      I've been dreaming of a pixel art program with a feature like that. I'm a Graphics Gale guy, but it's too limited where drawing large tiles are concerned (which your pen tool could fix). Gale's focus is animation, but with a pen tool like this, yours could beat it where larger sprite animations are concerned (if you go that route).

      Hopefully you'll also add the ability to right-click to color-pick, right-click and drag to select an area to move around, allow exporting frames to a .PNG strip, and possibly implement some color-ramp generation features like the ones I suggested in this thread:

      Dude, if you made a pixel art tool like the one I described above, almost every pixel artist out there would love you for it. There's a reason why Graphics Gale is the standard for general purpose pixel art. But even it doesn't have anything on a tool like that.

      January 15, 2014 at 05:18
  7. Ace:

    That's so damn awesome dude! You have no idea how useful this is!

    January 14, 2014 at 20:28
  8. Xue:

    yes please

    January 8, 2014 at 17:32
  9. Ooya:

    This is simply awesome !! App of the year ;)

    January 8, 2014 at 15:49
  10. Fogs:

    This is awesome, I'm up for it! Drawing fur is a breeze with this tool. I'd use it for sure!

    January 8, 2014 at 14:28
  11. Kapi:

    Nice. Very nice.

    January 8, 2014 at 12:36
  12. ArnoChux:

    It will be very useful for quick lineart… Actually there is not much tools for pixel art. Your little prototype combined with a tablet will be helpful for many pixel artists. If you keep on working on it, I would see the progress.

    January 7, 2014 at 19:04
  13. Pierre B.:

    I want it and I want it NOW !

    In fact I try to make some apps on Android with pixel perfect icons. I make them with gimp and it's a nightmare.

    Such a tool would be very useful for a developer like me.

    January 7, 2014 at 15:01

Links to this post