Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. COThanks for helping out with one of my questions again. The environment that I'm running this in very much favors a preemptive solution over a reactive one ("deleting" a pixel is an involved process, especially when you consider drawing over something that already exists). The issue here is deciding whether or not that one pixel should *really* be deleted. What if the user intended to draw the "L" shape in your diagram? The algorithm would blindly delete it. I'd find it hard to believe Adobe's implementation is insanely complicated with prediction and trajectory tracking...
      singulars
    2. CO@Xenethyl If the user is picky about the corners in Photoshop, he will probably use another tool, and not a freehand pencil. But I agree in that PShop may have better algorithms in there. As for drawing over something pre-existent, I thought you have an "undo" command, so Unmarking != Deleting.
      singulars
    3. COAgreed that user preference comes into this a little bit. Unfortunately, this issue is at the core of my drawing algorithm for any other drawing/painting tools (ie. pencil with different tips, paintbrush, etc). Every line that the user draws is treated as a 1px line, and if a tip (ex. a star) is being used it's just stamped at each pixel coordinate. Undo is not implemented yet, but the process would be similarly involved. Changing pixel data requires a copy, read, change, and write in this environment, unfortunately.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload