Published
Edited
Jan 20, 2020
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
imageSrc
Insert cell
Insert cell
Insert cell
Insert cell
source = test
Insert cell
md`This doesn't feel the right way to get the poses out of a gif. But the stick figure is dancing and that's all I wanted to do`
Insert cell
gifFrames = require('https://bundle.run/gif-frames@1.0.1')
Insert cell
gf = gifFrames({ url: imageSrc, frames: "all", outputType: "canvas", cumulative:"true" })
Insert cell
test = gf[i].getImage()
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
`viewof i = slider({
min: 0,
max: 9,
step: 1,
value: 0,
description: "Frame"
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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