Published
Edited
Nov 7, 2021
2 forks
Also listed in…
Templates
Kaboom Examples
Insert cell
Insert cell
Insert cell
cnv = html`<canvas class="game" height="320" width="480"></canvas>`
Insert cell
k = Kaboom({
global: false,
width: 480,
height: 320,
canvas: cnv,
background: [0,0,256]
})
Insert cell
main = {
k.scene("main", ()=> {
k.add([
k.text("oh hi", 32),
k.pos(100, 100),
]);
})

k.go("main")
}
Insert cell
Kaboom = (await import('https://cdn.skypack.dev/kaboom@2000.1.0?min')).default
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more