Documentation
¶
Overview ¶
Package viz bundles the scenes of the nodes (spec 10) and checks their traces.
A scene is viz/scene.ts. It imports only "@algo/viz". Build bundles it with esbuild into a script that registers the scene in window.AlgoScenes. The player of the site runs it in the browser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Report ¶
type Report struct {
Slug string `json:"slug"`
Fails []string `json:"fails"`
Lines []string `json:"lines"` // the line ids that the presets reach
Steps []int `json:"steps"` // the number of steps of each preset
Skipped string `json:"skipped,omitempty"`
}
Report is the result of checking one scene.
Click to show internal directories.
Click to hide internal directories.