create-definedmotion 0.1.4 → 0.3.0

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.
Files changed (81) hide show
  1. package/package.json +2 -2
  2. package/template/package-lock.json +313 -59
  3. package/template/package.json +1 -0
  4. package/template/src/assets/audio/testing_shadow_glow_song.mp3 +0 -0
  5. package/template/src/assets/for_tests/svg/gravity_text.svg +38 -0
  6. package/template/src/assets/for_tests/svg/grip_figure.svg +28 -0
  7. package/template/src/entry.ts +4 -5
  8. package/template/src/example_scenes/alternativesScene.ts +1 -1
  9. package/template/src/example_scenes/dependencyScene.ts +2 -4
  10. package/template/src/example_scenes/fourierSeriesScene.ts +10 -11
  11. package/template/src/example_scenes/keyboardScene.ts +14 -16
  12. package/template/src/example_scenes/latex_text_transitions_scene.ts +146 -0
  13. package/template/src/example_scenes/tests/animations/camera_movements/test_2d_camera_centers_labels.ts +53 -0
  14. package/template/src/example_scenes/tests/animations/camera_movements/test_2d_camera_hits_markers.ts +40 -0
  15. package/template/src/example_scenes/tests/animations/camera_movements/test_camera_rotate_quaternion.ts +17 -0
  16. package/template/src/example_scenes/tests/animations/camera_movements/test_camera_waypoints_sequential.ts +29 -0
  17. package/template/src/example_scenes/tests/animations/camera_movements/test_fly_camera_waypoints_verifiable.ts +87 -0
  18. package/template/src/example_scenes/tests/animations/camera_movements/test_zoom_perspective_sequential.ts +17 -0
  19. package/template/src/example_scenes/tests/animations/latex/test_latex_blue_particle_transition.ts +82 -0
  20. package/template/src/example_scenes/tests/animations/latex/test_latex_highlight_animation.ts +64 -0
  21. package/template/src/example_scenes/tests/animations/latex/test_latex_mark_animation.ts +42 -0
  22. package/template/src/example_scenes/tests/animations/latex/test_latex_particle_transition.ts +48 -0
  23. package/template/src/example_scenes/tests/animations/latex/test_latex_particle_transition_complex.ts +65 -0
  24. package/template/src/example_scenes/tests/animations/latex/test_latex_particle_transition_super_complex.ts +86 -0
  25. package/template/src/example_scenes/tests/animations/latex/test_with_environment_latex_particle_transition.ts +80 -0
  26. package/template/src/example_scenes/tests/animations/latex/test_write_latex_animation.ts +28 -0
  27. package/template/src/example_scenes/tests/animations/latex/test_write_latex_animation_2.ts +34 -0
  28. package/template/src/example_scenes/tests/animations/latex/test_write_latex_animation_3.ts +34 -0
  29. package/template/src/example_scenes/tests/animations/test_updater.ts +24 -0
  30. package/template/src/example_scenes/tests/audio/test_long_audio.ts +11 -0
  31. package/template/src/example_scenes/tests/audio/test_many_short_sounds.ts +50 -0
  32. package/template/src/example_scenes/tests/deferred_anims/testing_deferredAnims.ts +71 -0
  33. package/template/src/example_scenes/tests/deferred_anims/testing_deferredAnims2.ts +65 -0
  34. package/template/src/example_scenes/tests/environment/test_hdri_performance.ts +14 -0
  35. package/template/src/example_scenes/tests/svg/test_basic_latex_query.ts +59 -0
  36. package/template/src/example_scenes/tests/svg/test_basic_svg.ts +11 -0
  37. package/template/src/example_scenes/tests/svg/test_colored_latex_to_svg.ts +42 -0
  38. package/template/src/example_scenes/tests/svg/test_complex_latex_to_svg.ts +22 -0
  39. package/template/src/example_scenes/tests/svg/test_latex_to_svg.ts +17 -0
  40. package/template/src/example_scenes/tests/svg/test_material_on_latex.ts +43 -0
  41. package/template/src/example_scenes/tests/svg/test_query_latex_variables.ts +66 -0
  42. package/template/src/example_scenes/tests/svg/test_regular_text_latex.ts +21 -0
  43. package/template/src/example_scenes/tests/svg/test_super_complex_latex_to_svg.ts +98 -0
  44. package/template/src/example_scenes/tests/svg/test_transition_svgs.ts +33 -0
  45. package/template/src/example_scenes/tests/svg/test_update_svg_object.ts +19 -0
  46. package/template/src/example_scenes/tests/svg/test_yellow_grip_symbol_svg.ts +11 -0
  47. package/template/src/example_scenes/tutorials/easy1.ts +4 -4
  48. package/template/src/example_scenes/tutorials/easy3.ts +1 -1
  49. package/template/src/example_scenes/tutorials/medium1.ts +3 -5
  50. package/template/src/example_scenes/vectorField.ts +2 -4
  51. package/template/src/example_scenes/visulizingFunctions.ts +5 -7
  52. package/template/src/main/index.ts +59 -3
  53. package/template/src/main/rendering.ts +38 -21
  54. package/template/src/preload/index.ts +15 -1
  55. package/template/src/renderer/index.html +1 -1
  56. package/template/src/renderer/src/App.svelte +215 -32
  57. package/template/src/renderer/src/application_assets/360.svg +39 -0
  58. package/template/src/renderer/src/application_assets/move.svg +37 -0
  59. package/template/src/renderer/src/lib/animation/animations.ts +141 -88
  60. package/template/src/renderer/src/lib/animation/captureCanvas.ts +3 -17
  61. package/template/src/renderer/src/lib/animation/interpolations.ts +2 -1
  62. package/template/src/renderer/src/lib/animation/latexMarkAndHighlight.ts +349 -0
  63. package/template/src/renderer/src/lib/animation/latexTransitionsAndWrite.ts +558 -0
  64. package/template/src/renderer/src/lib/audio/manager.ts +185 -0
  65. package/template/src/renderer/src/lib/general/helpers.ts +16 -47
  66. package/template/src/renderer/src/lib/rendering/hdri.ts +273 -0
  67. package/template/src/renderer/src/lib/rendering/lighting3d.ts +0 -105
  68. package/template/src/renderer/src/lib/rendering/setup.ts +7 -1
  69. package/template/src/renderer/src/lib/rendering/svg/latexSVGQueries.ts +44 -0
  70. package/template/src/renderer/src/lib/rendering/svg/latexToSVG.ts +132 -0
  71. package/template/src/renderer/src/lib/rendering/svg/svgObjectHelpers.ts +59 -0
  72. package/template/src/renderer/src/lib/rendering/svg/svgRendering.ts +120 -0
  73. package/template/src/renderer/src/lib/scene/sceneClass.ts +180 -62
  74. package/template/src/renderer/src/lib/animation/helpers.ts +0 -7
  75. package/template/src/renderer/src/lib/audio/loader.ts +0 -104
  76. package/template/src/renderer/src/lib/rendering/materials.ts +0 -6
  77. package/template/src/renderer/src/lib/rendering/protocols.ts +0 -21
  78. package/template/src/renderer/src/lib/rendering/svg/drawing.ts +0 -213
  79. package/template/src/renderer/src/lib/rendering/svg/parsing.ts +0 -717
  80. package/template/src/renderer/src/lib/rendering/svg/rastered.ts +0 -42
  81. package/template/src/renderer/src/lib/rendering/svgObjects.ts +0 -1137
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "create-definedmotion",
3
- "version": "0.1.4",
3
+ "version": "0.3.0",
4
4
  "description": "Create a new DefinedMotion animation project",
5
5
  "author": "Hugo Olsson",
6
- "license": "MIT",
6
+ "license": "Apache-2.0",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/HugoOlsson/DefinedMotion"