Deno: OffscreenCanvas and CanvasRenderingContext2D

Created on 21 May 2020  路  1Comment  路  Source: denoland/deno

1629 is about WebGL, it will likely take a lot of time to implement.

I think add OffscreenCanvas & CanvasRenderingContext2D interface at first is a good idea for now.
A lot of server-side image process like shields.io can be done in OffscreenCanvas with 2d renderer
(and it should be able to load image from disk / web / memory.)

  • Maybe render text will be a problem
    Read from ttf directly? <- so we need a FontFace api with local file support
    Use system font registry?
cli suggestion

Most helpful comment

I've been eagerly awaiting canvas since I heard about Deno.

>All comments

I've been eagerly awaiting canvas since I heard about Deno.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zugende picture zugende  路  3Comments

ry picture ry  路  3Comments

xueqingxiao picture xueqingxiao  路  3Comments

justjavac picture justjavac  路  3Comments

davidbarratt picture davidbarratt  路  3Comments