@johnoscott/isometric-engine 0.16.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/iso-editor.js +157 -154
- package/iso-remotion.js +353 -0
- package/iso-render.js +120 -117
- package/iso-systems.js +114 -111
- package/isometric-diagram.js +105 -102
- package/js/iso-core/arimo.js +5 -0
- package/js/iso-core/arimo.json +1 -0
- package/js/iso-core/index.js +3 -2
- package/js/iso-core/kernel.js +13 -2
- package/js/iso-objects/timeline.js +14 -6
- package/js/iso-systems/compile.js +13 -6
- package/js/iso-viewer/play.js +43 -8
- package/package.json +23 -1
- package/src/iso-core/arimo.json +1 -0
- package/src/iso-core/arimo.ts +6 -0
- package/src/iso-core/index.ts +1 -1
- package/src/iso-core/kernel.ts +11 -1
- package/src/iso-objects/timeline.ts +10 -2
- package/src/iso-systems/compile.ts +12 -6
- package/src/iso-viewer/play.ts +37 -9
- package/types/iso-core/arimo.d.ts +2 -0
- package/types/iso-core/index.d.ts +1 -1
- package/types/iso-core/kernel.d.ts +9 -0
- package/types/iso-objects/timeline.d.ts +4 -1
- package/types/iso-systems/compile.d.ts +3 -0
- package/types/iso-viewer/play.d.ts +2 -2
- package/types/remotion/entry.d.ts +2 -0
- package/types/remotion/frames.d.ts +71 -0
- package/types/remotion/index.d.ts +39 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @johnoscott/isometric-engine 0.
|
|
1
|
+
# @johnoscott/isometric-engine 0.17.1
|
|
2
2
|
|
|
3
3
|
A generic isometric diagram engine: `@johnoscott/isometric-engine/render` (L0 core, L1 objects, L2 viewer)
|
|
4
4
|
and `@johnoscott/isometric-engine/editor` (the same, and L3 editor). Each exports one namespace per layer:
|
|
@@ -26,6 +26,12 @@ Use:
|
|
|
26
26
|
- No dependencies: the bundles carry what they run. `/editor`'s declarations name `yaml`'s types and, for the optional
|
|
27
27
|
Monaco text pane, `monaco-editor`'s: a host type-checking against `/editor` installs those itself (needed for /editor
|
|
28
28
|
only), or uses `skipLibCheck`. `/render` and `/systems` need nothing else installed.
|
|
29
|
+
- `/remotion` is for Remotion videos, and needs `react` and `remotion`, which you install (optional peers: installing the engine installs neither).
|
|
30
|
+
Remotion isn't open source: using it needs Remotion's own licence.
|
|
31
|
+
- Not in this package, and in the repository: the docs (motion, the player and Remotion videos:
|
|
32
|
+
https://github.com/johnoscott/isometric-diagrams/blob/main/docs/MOTION.md), a sample Remotion project
|
|
33
|
+
(https://github.com/johnoscott/isometric-diagrams/tree/main/samples/remotion), and the `isodiag` command, whose
|
|
34
|
+
`isodiag build PAGE.html` writes a still into each `<isometric-diagram>` for readers without its script.
|
|
29
35
|
- Inline-safe: no bundle holds `<!--`, `<script` or `</script`, so a page may inline one (or its own bundle of them)
|
|
30
36
|
in `<script type="module">…</script>`, as a page opened from disk does.
|
|
31
37
|
- Schemas: `core` compiles JSON Schemas with ajv at run time, which needs a CSP that allows it (or precompile them).
|