News for hackers. Stuff that matters.
Re:Show HN: My animated website, rendered entirely in HTML5 ... by nailer on Sunday March 15, 2015 @06:36PM (#9208505)
> As it stands, there's a way of saying 'I put some text on the canvas' but no way of saying when it was removed. The whole canvas could be cleared, or a particular region could be cleared, or over-written, or the canvas could be resized, which would result in it being cleared.

Indeed. That's a solvable problem - you can track pixels and estimate with a degree of certainty - but it certainly does exist.

You'd also have to determine prominence of the text, which again is solvable assuming the size and weight and zoom level of the text has some bearing on the importance.

And you note the temporal aspect too - you'd have to track whether something was visible, ie sufficiently contrasts against the background, not opaque etc.

And indeed, there's no hierarchy asides from prominence.

All of that, plus more, is far more easier than getting the entire world to avoid, or write fallbacks for canvas.

There are no comments on this comment yet.