Continue ESM transform

This commit is contained in:
be5invis 2022-07-16 20:18:52 -07:00
parent b8205a63aa
commit 36835216f5
44 changed files with 1939 additions and 502 deletions

View file

@ -1,4 +1,5 @@
import * as TypoGeom from "typo-geom";
import { Point } from "./point.mjs";
import { Transform } from "./transform.mjs";

View file

@ -1,11 +1,14 @@
import crypto from "crypto";
import * as TypoGeom from "typo-geom";
import * as SpiroJs from "spiro";
import * as CurveUtil from "./curve-util.mjs";
import * as TypoGeom from "typo-geom";
import * as Format from "../util/formatter.mjs";
import * as CurveUtil from "./curve-util.mjs";
import { Point } from "./point.mjs";
import { Transform } from "./transform.mjs";
import { SpiroExpander } from "./spiro-expand.mjs";
import { Transform } from "./transform.mjs";
class GeometryBase {
asContours() {

View file

@ -1,6 +1,7 @@
import * as SpiroJs from "spiro";
import { linreg } from "../utils.mjs";
import * as Format from "../util/formatter.mjs";
import { linreg } from "../utils.mjs";
class BiKnot {
constructor(type, x, y, d1, d2) {