fix: Handle Joyce Geometry Applet color specifications

Not everything is tested, but tried to capture all of the structure
   of the original, except for pivot points green, since there are no
   pivot points yet. Also many of the color specifications are missing.
   Resolves #8.
This commit is contained in:
Glen Whitney 2023-09-25 13:35:28 -07:00
parent bab48b25ad
commit 147b478a34
5 changed files with 212 additions and 30 deletions

View file

@ -1,3 +1,6 @@
# Takes one parameter, the destination directory
mkdir -p $1
cp -rL node_modules/vrml1to97/{deps,vrml1to97,streamToString.js} $1
cp -rL node_modules/colorsea/dist/index.esm.js $1/colorsea.js
cp -rL node_modules/colorsea/dist/index.d.ts $1/colorsea.d.ts
patch -u $1/colorsea.d.ts -i etc/colorsea_types.patch