How to use the roughjs/src/generator.RoughGenerator function in roughjs

To help you get started, we’ve selected a few roughjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mathieudutour / rough-sketch / src / roughjs.js View on Github external
_init(config) {
    this.gen = new RoughGenerator(config, this.layer.frame);
  }