Published
Edited
Feb 14, 2021
1 fork
Insert cell
md`# Storylet Framework test 002`
Insert cell
md`Testing [https://observablehq.com/@triptych/storylet-framework](https://observablehq.com/@triptych/storylet-framework)`
Insert cell
import {World, Actor, Item, Narrator} from "@triptych/storylet-framework"
Insert cell
earth = {
let earth = new World()
earth.setGridLocation(3,3,"a fireplace")
return earth
}
Insert cell
{
let location = earth.getGridLocation(3,3)
yield location
}
Insert cell
wolf = {
let wolf = new Actor("BigBad", 100)
return wolf;
}
Insert cell
{
yield wolf.id
}
Insert cell
seer = new Narrator("Joe","first-person","self")
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