Files
infocom-systems-design/node_modules/roughjs/bin/rough.js
2025-10-03 22:27:28 +03:00

18 lines
434 B
JavaScript

import { RoughCanvas } from './canvas';
import { RoughGenerator } from './generator';
import { RoughSVG } from './svg';
export default {
canvas(canvas, config) {
return new RoughCanvas(canvas, config);
},
svg(svg, config) {
return new RoughSVG(svg, config);
},
generator(config) {
return new RoughGenerator(config);
},
newSeed() {
return RoughGenerator.newSeed();
},
};