112 Commits

Author SHA1 Message Date
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
efa22538fb Refactor runtime package to implement observer pattern for cache and entity management
Introduced a new `observers.ts` module to handle runtime invariants through koota event subscriptions, including cache upkeep, authored-to-computed mirrors, and time-range reactions. Updated `createRuntimeWorld` to register observers, ensuring proper entity management during lifecycle events. Refactored actions to leverage observer-driven behavior, enhancing performance and maintainability. Adjusted cache rebuilding logic to exclude entities during updates, improving efficiency in hierarchy changes.
2026-08-12 12:17:06 +02:00
konstantin-paulus
0ea1ee28cd Update runtime package with new asset management features and dependencies
Added new asset actions for managing in-memory metadata, including allocation, appending, and removing assets. Introduced clipboard functionality for copying and pasting entity subtrees. Enhanced folder management with unique naming and moving capabilities. Updated package dependencies to include 'sqids' for unique ID generation, improving asset handling and organization within the runtime package.
2026-08-12 11:55:52 +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
f3b16bd021 Refactor runtime package queries and enhance timeline indexing
Added new exports for query predicates, hierarchy, and timeline indexing in the runtime package. Removed the deprecated overlap query file and updated the utils index to include sorting utilities. This refactor improves the organization and functionality of query handling within the application.
2026-08-12 07:22:57 +02:00
konstantin-paulus
a28dbfaebb Add world serialization functionality to runtime package
Introduced a new module for world serialization in the runtime package, including the `serializeEntity` function and the `EntityRecord` interface. Updated the index file to export the new serialization module, enhancing the capabilities for entity management and persistence in the application.
2026-08-11 18:29:53 +02:00
konstantin-paulus
b7d19ba615 Enhance runtime package with new world traits and font utilities
Expanded the runtime package by adding new exports for world creation and singleton traits, including Project, Mode, ActiveScene, Camera, and more. Introduced font utilities and updated the utils index to include live-mounts, improving the structure and functionality of the codebase.
2026-08-11 18:23:20 +02:00
konstantin-paulus
3993a39abe Enhance runtime package with new dependencies and trait exports
Added 'mediabunny' as a dependency in both package-lock.json and package.json. Expanded trait exports in the runtime package to include new modules for capture, traits, and timing, improving the overall functionality and organization of the codebase.
2026-08-11 18:17:30 +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