News for hackers. Stuff that matters.
Re:Investigating MacPaint's Source Code by jwstarr on Friday April 04, 2025 @11:56PM (#43590582)
By "pixel accurate", do you mean the user interface or the rendering? Is she able to leverage the HTML 2D Canvas API or does she have to go lower level than that?
Re:Investigating MacPaint's Source Code by allthreespies on Saturday April 05, 2025 @04:03AM (#43591794)
I’m using a buffer pool and raw bitmaps with calls to drawImage - the canvas api doesn’t play very well with trying to do things in a pixel perfect way.

I’ve gone on a lot of rabbit holes digging into original source code and dev manuals for this project, hopefully one day I’ll write some of it up somewhere. I think what’s been interesting is iterating towards the most elegant solutions has often meant ending up with pretty similar approaches to what Atkinson originally used.