We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5ae1a commit 0929d43Copy full SHA for 0929d43
teachprogramming/static/projects/game/animation_base_skia.js
@@ -0,0 +1,7 @@
1
+// Consider https://skia-canvas.org/ for local js rendering in node
2
+
3
+import {Canvas} from 'skia-canvas'
4
5
+let canvas = new Canvas(400, 400)
6
+let ctx = canvas.getContext("2d")
7
+let {width, height} = canvas
0 commit comments