Quick Start
Get started with I2Djs to create rich, blazing fast visualisations.
Last updated
Get started with I2Djs to create rich, blazing fast visualisations.
Last updated
let renderer = i2d.canvasLayer('#myCanvas', {}, {});let circle = renderer.createEl({
el: 'circle',
attr: {
r: 50,
cx: renderer.width / 2,
cy: renderer.height / 2
},
style: {
fillStyle: '#ff0000'
}
})circle.animateTo({
duration: 500,
ease: 'easeInOutSin',
attr: {
r: 200
},
style: {
fillStyle: '#00ff00'
}
});