text poc
This commit is contained in:
parent
a875e36df8
commit
5073e03b6a
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,10 @@ async function init() {
|
|||
const render = () => {
|
||||
instance.exports.frame_entry();
|
||||
ctx.putImageData(image, 0, 0);
|
||||
ctx.font = '84px sans-serif'
|
||||
ctx.textBaseline = 'top'
|
||||
ctx.textAlign = 'left';
|
||||
ctx.fillText("demo",12,12);
|
||||
|
||||
requestAnimationFrame(render);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue