Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simonsarris
on March 4, 2022
|
parent
|
context
|
favorite
| on:
It's always been you, Canvas2D
Unless I misunderstand you, you should be able to `ctx.drawImage` from one canvas to another, with `imageSmoothingEnabled` set to false, and it will do what you want.
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRende...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRende...