Public
Edited
Sep 26, 2023
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
{
refresh;
const display = new ROT.Display({ fg: "black", bg: "white" });
const digger = new ROT.Map[generator]();
digger.create((x, y, wall) => {
if (!wall) display.draw(x, y, "█");
});

return display.getContainer();
}
Insert cell
ROT = import("rot-js@2")
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