8 Commits

Author SHA1 Message Date
konstantin-paulus
2fafd8668c Enhance asset management and integration with AI generation
- Added `@diffusionstudio/jsx` dependency to support JSX generation features.
- Integrated `assetSystem` into various components to streamline asset handling.
- Refactored `create-engine.ts`, `image-encoder.ts`, and `encoder.ts` to utilize the new asset management structure.
- Removed the obsolete `jsx-generation.ts` file, consolidating asset generation logic.
- Updated `library.ts` to improve asset resolution and management processes.
- Enhanced the `EditorPage` to incorporate AI generation capabilities, improving project workflows.
2026-08-21 23:05:45 +02:00
konstantin-paulus
8bc0693a36 Refactor engine creation and system management
- Updated the engine instantiation in `EngineProvider` to use a new `createEngine` function for improved clarity.
- Refactored the `Engine` class to directly manage system execution, replacing the previous `runSystems` function with individual system calls for playback, motion, transform, and rendering.
- Removed the obsolete `schedule` system file to streamline the engine's architecture.
- Enhanced the overall structure and readability of the engine code, aligning with best practices for modular design.
2026-08-17 19:10:56 +02:00
konstantin-paulus
664eb897c8 Update runtime package to include encoder system and enhance rendering capabilities
Added a new encoder package (`@diffusionstudio/encoder`) for handling media encoding, separating it from the main runtime. Updated the migration documentation to reflect the new encoder structure and its integration with the runtime. Enhanced the render system to support hit regions and callback-less interactions, improving the rendering process. Updated various system modules to ensure proper integration and functionality within the runtime package.
2026-08-12 13:36:54 +02:00
konstantin-paulus
df07fd1209 Implement playback system in runtime package for time advancement and media synchronization
Added a comprehensive playback system that advances root playheads, manages local time and visibility for entities, and synchronizes audio and video decoders. The system supports looping and handles audio playback state transitions. Updated the index files to export the new playback module and integrated it into the existing systems structure, enhancing media handling capabilities within the runtime package.
2026-08-12 12:47:44 +02:00
konstantin-paulus
2774a07280 Update runtime package with new media handling features and dependencies
Added new media-related exports and traits, including audio, video, and caption handling. Introduced the 'colord' dependency for color manipulation and '@webgpu/types' for WebGPU support. Enhanced text rendering capabilities with improved text style management and layout functions. Updated the observer pattern to manage media resources effectively during entity lifecycle events, ensuring proper disposal and resource management.
2026-08-12 12:38:31 +02:00
konstantin-paulus
e76ed7d609 Enhance runtime package with new motion system and text animation utilities
Introduced a comprehensive motion system for keyframe interpolation and animation, leveraging the animejs library. Added new utilities for text animations, including functions for revealing words and characters, and scrambling text. Updated the runtime's world and queries to integrate the new document root trait, improving the structure and functionality of the animation system.
2026-08-12 08:24:09 +02:00
konstantin-paulus
4dd3d32a8a Enhance runtime package with new math and systems modules
Added new exports for math primitives and deterministic systems in the runtime package. Introduced the transform system with functions for computing local and world transforms, as well as world bounds. Updated the createRuntimeWorld function to initialize necessary traits, improving the overall functionality and organization of the codebase.
2026-08-12 07:36:38 +02:00
konstantin-paulus
316505bfb8 Add @diffusionstudio/runtime package to package-lock.json
Introduced a new package, @diffusionstudio/runtime, with version 0.1.0, including its dependencies and devDependencies. Updated package-lock.json to reflect this addition.
2026-08-11 16:26:46 +02:00