-
Notifications
You must be signed in to change notification settings - Fork 824
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
⚡ Interactions/Animations engine #2645
Comments
looking forward for some animations |
Will this include interacting with spline.design content via their simple api? |
As a designer. We need it. |
I really can't wait for the interactions/animation support. It's great that I can use GSAP of course, but it's time-consuming and breaks the visual design flow and speed. |
@CarloBu we haven't decided on specific implementation details, we do have lots of ideas. |
@kof I understand that there is a lot on your plate right now and that animations are not a priority. Right now Webflow and Framer have an edge in the web builder space because of amazing animations. Many Awwwards websites are built on these platforms and a lot of eyes are on them. But I believe when the Webstudio team introduces powerful drag-and-drop animation/interaction feature - Webstudio will explode within the designer community. Webstudio has the potential to be real competitor not to webflow/figma but the wordpress marketshare. |
@CarloBu copy paste from webflow isn't yet officially launched, we have a bunch of bugs to fix. Please don't post about it on social networks yet) |
Yeah, I noticed, that this is experimental at the moment :) A lot of components are still not supported, like instance components that do not convert to slots, but the Relume collection is basically working (except interactions), which is what I wanted. That was my entire dream: generate a website wireframe with relume in minutes, migrate the website to the web builder, apply the style, add the CMS, and ship it with a fraction of the effort compared to the current Astro + Tailwind workflow(and this is already fast). Ok, let it cook and I don't share it yet. |
I am afraid interactions are not going to be supported for copy-paste, as well as most complex components from advanced and media sections. |
Relume and similar libraries are indeed our focus. |
Understandable, it's not a big deal. Webflow uses its own animation/interaction engine, and if I'm not mistaken, it's still based on jQuery. It's too far gone to look into. :) |
Does anyone know how we can add lottie animation in Web Studio? |
just like any external widget using html embed and their embed code, did you try? did it not work? |
It would be great if you could integrate Motion.dev |
@chirantanaditya You can integrate it too with html embed |
That's great but would love to have it inbuilt. Also, I'll look around for tutorials for this. Any recommendations? |
Component based approach to animations, solves multiple big problems:
Reveal ComponentReveal component animates everything inside when component renders first time.
View ComponentAllows to animate an instance depending on it's viewport entry and exit state. E.g. when visitor scrolls and element starts becoming visible - this is "entry", same on exit. All the things from Reveal component are the same here, but additionally:
Scroller ComponentSimilar to View but calculations are based on scroll position
Play/pause/seekWe could potentially show an additional interface that on the component that will have play/pause/seek buttons and even a track to simulate a replay functionality |
Let's rename View to Reveal or Entry to not confuse in the future. |
Basically the difference between view() and reveal is that reveal does not have exit, it only has entry |
The difference is that view is controlled by scroll and reveal is controlled by time and only triggered by scroll. |
…lTimeline (#4797) ## Description ref #2645 Proof of Concept for the Animation Component Using ScrollTimeline For FF and Safari `scroll-timeline-polyfill` is used. SSR Support https://animate.development.webstudio.is/playground Storybook Part 1. https://6382151c8b47d4399fb9fc69-limlyrmprp.chromatic.com/?path=/story/sdk-components-animation-scroll-animations--in-out Next steps: - Add stories with additional examples i.e. closest usage, images etc. https://scroll-driven-animations.style/ - Add support to view animations - Add view animations examples - Add enter/leave actions and animations support - Builder UI - Add lottie, rive etc compatibility (should work through context.getAnimations()[0].effect.getComputedTiming().progress) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
## Description ref #2645 - [x] - Add view-timeline-name and scroll-timeline-name support, and prefixer (use custom property for unsupported browsers) - [x] - Add initial story ## Steps for reproduction https://6382151c8b47d4399fb9fc69-uljkhwtbmc.chromatic.com/iframe.html?args=&globals=&id=sdk-components-animation-view-animations--in-out&viewMode=story ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file --------- Co-authored-by: Oleg Isonen <[email protected]>
The upcoming animations engine will allows users to easily implement complex interactions and animations, enhancing the site experience and engagement. From subtle hover effects to intricate motion graphics.
UI
![Image](https://private-user-images.githubusercontent.com/5077042/407781176-e06cadc4-03cb-46da-aa3b-404ab2ea0b30.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjUyODUsIm5iZiI6MTczOTE2NDk4NSwicGF0aCI6Ii81MDc3MDQyLzQwNzc4MTE3Ni1lMDZjYWRjNC0wM2NiLTQ2ZGEtYWEzYi00MDRhYjJlYTBiMzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDUyMzA1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmJjZDBjZGMxZDMzNWMwNDFjN2Y5MDAyM2Y2OGMzZmEyNGNmNGY0NDA5NjY4MDQzMzc1NDA4Y2M3OWU4ZmNkZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.xUfWk0w2klqgmTKLKvh3GBiUWh5slVX51HaYfnhxb_o)
With view based animation this tool has one of the best visual representation of ranges
We need at least to give the link to it.
Like it's visible that
entry
Represents the range during which the principal box is entering the view progress visibility range.
0% is equivalent to 0% of the cover range.
100% is equivalent to 0% of the contain range.
The text was updated successfully, but these errors were encountered: