168 Commits

Author SHA1 Message Date
konstantin-paulus
8b9c8ef0cc Add useFile hook for resolving file sources in effects
Introduced the `useFile` hook, which resolves a source (path, asset id, URL, or `generate.*` ref) to its `File`, allowing for reading raw bytes within effects. This hook returns Solid's `createResource` tuple, enabling async resolution and providing loading and error states. Updated documentation to include usage examples for drawing images onto a `<canvas>` and parsing data files, enhancing the functionality for handling media assets in the application.
2026-07-18 10:41:45 +02:00
konstantin-paulus
aaafd86eaa Add <canvas> element and related functionality for custom drawing
Introduced the `<canvas>` element as a shorthand for a rectangle carrying a `<canvasPaint>`, enabling users to draw custom graphics using various context types (2D, WebGL, WebGPU). Updated the rendering system to support this new element, ensuring it integrates with existing components. Enhanced documentation to clarify the usage of `<canvas>` and its properties, and added new samples demonstrating its functionality in different contexts. This update improves the flexibility and creative potential of rendered content.
2026-07-18 09:48:26 +02:00
konstantin-paulus
924218d0d4 Enhance HTML rendering capabilities with new <html> element
Introduced the `<html>` element as a shorthand for a rectangle carrying an `<htmlPaint>`, allowing for browser-laid-out HTML/SVG children. Updated the rendering logic to support this new element, ensuring it integrates seamlessly with existing components. Enhanced documentation to clarify the usage of `<html>` and its properties, and added new samples demonstrating its functionality in various contexts. This update improves the flexibility and interactivity of rendered content.
2026-07-17 19:19:22 +02:00
konstantin-paulus
7c6406c8e7 Update Electron version and enhance documentation for JSX elements
Bumped the Electron version in both `package-lock.json` and `package.json` to `43.1.1`. Removed the deprecated `<jstemp>` component and updated the JSX elements documentation to reflect new aliases for paint elements, including `<solid>`, `<linearGradient>`, `<radialGradient>`, and `<stop>`. Revised the `html-paint.md` and `elements.md` files to clarify the usage of the `<html>` element and its properties. Added new samples demonstrating the use of the `<html>` element in various contexts.
2026-07-17 14:30:04 +02:00
konstantin-paulus
1582db9862 Add <htmlPaint> element and related documentation for reactive HTML rendering
Introduced the `<htmlPaint>` element, allowing real HTML children to be rendered within a defined box using the html-in-canvas API. Updated the `elements.md`, `paints.md`, and `README.md` to include details about `<htmlPaint>`, its properties, and usage examples. Added a new `html-paint.md` file for comprehensive documentation on the element's functionality and limitations. Enhanced the rendering system to support HTML content, ensuring it integrates seamlessly with existing paint types.
2026-07-17 12:13:30 +02:00
konstantin-paulus
86b06ac300 Enhance documentation and implement live mode features for mounting
Updated the `mount.md` and `lifecycle.md` documentation to clarify the new `--live` option, detailing its behavior and implications for the reactive graph. Introduced the `useTicker` hook in the `renderer.ts` to facilitate access to the project's timeline during live mounts. Additionally, modified the `playback.ts` and `live-mounts.ts` to support the new live functionality, ensuring that the reactive graph remains active and responsive during playback. These changes improve the overall usability and clarity of the mounting process.
2026-07-17 09:53:37 +02:00
konstantin-paulus
5a8b56d29b Add animations prop to various components and documentation
Introduce the `animations` prop across multiple components, including audio, elements, and text, allowing for preset in/out animations. Update related documentation to reflect this new feature and enhance the `animations` handling in the node patching process. This change improves the flexibility and visual dynamics of the UI elements.
2026-07-15 15:33:44 +02:00
konstantin-paulus
e3bbc1e77b Add subtitle support and enhance transcript handling
Introduce parsing for SRT and WebVTT subtitle formats, allowing transcripts to be mounted directly from these files. Update the asset detection logic to recognize subtitle MIME types and adjust the caption handling in the playback system to ensure proper integration. Additionally, enhance the documentation to clarify the usage of the `<captions>` component for manual transcript sourcing.
2026-07-14 11:37:06 +02:00
konstantin-paulus
8fcf8884b8 Update audio and video documentation to reflect volume changes in decibels
Revise the JSX documentation for `<audio>` and `<video>` components to clarify the `volume` prop, now expressed in decibels instead of a linear scale. Update example usages in the README and ensure consistency across related documentation. Additionally, modify the description of volume handling in the CLI to align with the new decibel representation, enhancing user understanding of audio properties.
2026-07-12 13:57:58 +02:00
konstantin-paulus
efb17d896c Refactor timing properties in JSX elements for improved clarity and consistency
Update timing-related properties across various JSX elements, replacing `inPoint`, `outPoint`, and `startTime` with `start`, `end`, `sourceIn`, and `sourceOut`. This change enhances the clarity of temporal placement semantics and aligns with the new structure for managing media timelines. Additionally, update related documentation to reflect these changes, ensuring users have accurate information on timing properties.
2026-07-12 08:39:04 +02:00
konstantin-paulus
31332d23a1 Refactor and replace @diffusionstudio/ai and @diffusionstudio/solid with @diffusionstudio/jsx across the codebase. Update dependencies in package-lock.json and documentation to reflect the new JSX runtime and asset generation capabilities. Remove the @diffusionstudio/ai package and its references, ensuring a cohesive transition to the new structure. 2026-07-08 13:30:09 +02:00
konstantin-paulus
7acdd62008 Implement transition support in JSX and rendering systems. Introduce transition prop for clips within <sequence>, allowing for various transition types and durations. Update related type definitions and documentation to reflect these changes, ensuring clarity on usage and behavior of transitions in the composition system. 2026-07-08 13:03:57 +02:00
konstantin-paulus
310ee8eb36 Introduce animatable properties and keyframe support in JSX and rendering systems. Update documentation to reflect new animation capabilities for properties like x, y, width, height, rotation, opacity, and cornerRadius. Implement keyframe management functions and enhance easing options for smoother animations. Ensure compatibility with existing rendering logic and improve type definitions for better clarity. 2026-07-08 10:08:58 +02:00
konstantin-paulus
13ef14208e Refactor rendering functions to include dispose logic for cleanup in handleMount and handleNodeInsert. Update renderProject to return a dispose function, ensuring proper resource management during project rendering. Introduce DocumentContext for improved context handling in the Solid renderer. 2026-07-08 08:41:19 +02:00
konstantin-paulus
bd723d4334 Implement @diffusionstudio/ai and @diffusionstudio/solid packages for generative asset management and Solid JSX runtime. Updated dependencies in package-lock.json and README to reflect new imports. Refactored CLI and documentation to utilize the new packages, ensuring consistency across asset generation and rendering processes. 2026-07-07 21:09:37 +02:00
konstantin-paulus
aac0dad45e Refactor CLI commands and documentation to replace export with render for scene rendering. Updated README, API specifications, and various documentation files to reflect this change and clarify the new syncTo feature for audio alignment. 2026-07-07 16:59:03 +02:00
konstantin-paulus
997d9f30b9 Refactor documentation and descriptions in CLI commands and comments. Removed references to JSX_API.md for clarity and improved readability in compile-project.ts, index.ts, and jsx.ts files. 2026-07-07 13:37:31 +02:00
konstantin-paulus
c3c105aa22 Initial open source release.
This repository contains the initial public version of the project.
The previous development history was intentionally not included.
2026-07-07 09:27:28 +02:00