3 Commits

Author SHA1 Message Date
konstantin-paulus
572425a511 Enhance useTicker with hold functionality for async work
- Introduced the `hold` method in the `useTicker` hook to manage async operations, ensuring frames wait for necessary resources before sampling.
- Updated example files to utilize the `hold` method for loading models and setting up WebGPU devices, improving frame accuracy during exports and captures.
- Added documentation for the `hold` method, detailing its purpose and usage in managing async work within the rendering pipeline.
- Implemented a timeout mechanism for held promises to prevent indefinite waits during rendering.
2026-08-25 16:31:49 +02:00
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
2bcad215a9 Update package descriptions and remove unused files
- Revised the description in package.json for @diffusionstudio/jsx to clarify its role in authoring Diffusion Studio compositions.
- Enhanced README.md to better explain the package's purpose and clarify that it carries no renderer.
- Deleted obsolete document.ts, elements.ts, and renderer.ts files to streamline the codebase and remove unused components.
- Updated index.ts to reflect changes in exports and improve clarity on the authoring surface and hooks provided by the package.
2026-08-16 14:48:56 +02:00