Import a 3D Model and automatically assign and export animations
TypeScript
More minor style updates
Scott Petrovic37cef43db8f8
diff --git a/src/animation-player.css b/src/animation-player.cssindex ca8d5bb..2b8fdd6 100644--- a/src/animation-player.css+++ b/src/animation-player.css@@ -26,7 +26,7 @@}@media (max-width: 1000px) {#animation-player {- width: 15rem;+ width: 8rem;}}diff --git a/src/lib/Generators.ts b/src/lib/Generators.tsindex 8cfa155..a7ac7e7 100644--- a/src/lib/Generators.ts+++ b/src/lib/Generators.ts@@ -151,7 +151,7 @@ export class Generators {light_1.castShadow = truelight_1.position.set(-2, 2, 2)- const light_2 = new AmbientLight(0xffffff, 0.3)+ const light_2 = new AmbientLight(0xffffff, 0.9)// backfill lightconst backfill_light = new DirectionalLight(0x777777, light_strength * 0.5)diff --git a/src/script.ts b/src/script.tsindex 25c5f44..84f2bf7 100644--- a/src/script.ts+++ b/src/script.ts@@ -136,11 +136,11 @@ export class Bootstrap {// change color of grid based on themelet grid_color = 0x4b6368let floor_color = 0x2d4353- let light_strength: number = 12+ let light_strength: number = 10if (this.theme_manager.get_current_theme() === 'light') {- grid_color = 0xaaaaaa // light theme color+ grid_color = 0xcccccc // light theme colorfloor_color = 0xecf0f1 // light theme color- light_strength = 12+ light_strength = 14}this.scene.fog = new THREE.Fog(floor_color, 20, 80)diff --git a/src/styles.css b/src/styles.cssindex 2ba4fdc..d5e3eb8 100644--- a/src/styles.css+++ b/src/styles.css@@ -490,7 +490,7 @@ input[type="file"] {}#theme-toggle .theme-icon {- font-size: 30px;+ font-size: 20px;transition: transform 0.2s ease;}