tsparticles
Version:
Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
11 lines (10 loc) • 397 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.loadImageShape = void 0;
const ImageDrawer_1 = require("./ImageDrawer");
async function loadImageShape(engine) {
const imageDrawer = new ImageDrawer_1.ImageDrawer();
await engine.addShape("image", imageDrawer);
await engine.addShape("images", imageDrawer);
}
exports.loadImageShape = loadImageShape;