Published
Edited
Apr 5, 2019
5 stars
Also listed in…
Color
Hello
Insert cell
Insert cell
glitch({
seed: 25, // integer between 0 and 99
quality: 30, // integer between 0 and 99
amount: 3, // integer between 0 and 99
iterations: 20 // integer
})
.fromImage(image)
.toImage()
Insert cell
glitch = require("glitch-canvas")
Insert cell
image = new Promise((resolve, reject) => {
const image = new Image;
image.crossOrigin = "anonymous";
image.style.width = "33px";
image.style.height = "auto";
image.style.display = "block";
image.onerror = reject;
image.onload = () => resolve(image);
image.src = "https://gist.githubusercontent.com/mbostock/9511ae067889eefa5537eedcbbf87dab/raw/944b6e5fe8dd535d6381b93d88bf4a854dac53d4/mona-lisa.jpg";
})
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more