Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: initial compositing implementation #471

Open
wants to merge 7 commits into
base: v2-exp
Choose a base branch
from

Conversation

aymanbagabas
Copy link
Member

This adds a new Canvas type that can be used to compose multiple layers together. Each layer can have its own content, position, and z-index. The Canvas type can render the layers to a string.

Screen.Recording.2025-02-11.at.5.11.10.PM.mov
Screenshot 2025-02-11 at 4 49 04 PM

Copy link
Member

@andreynering andreynering left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks so cool! 👏

@aymanbagabas aymanbagabas force-pushed the v2-compositing branch 2 times, most recently from 70ff8ec to 63a77d8 Compare February 18, 2025 20:06
This adds a new `Canvas` type that can be used to compose multiple layers
together. Each layer can have its own content, position, and z-index. The
`Canvas` type can render the layers to a string.
@caarlos0
Copy link
Member

this works pretty well, loved to play with it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants