Тёмный

GSAP animations in Webflow (animate a hero with 3D Spline scene) 

Dirk Lach | DESIGN2CODE
Подписаться 1,1 тыс.
Просмотров 15 тыс.
50% 1

Опубликовано:

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@design2code
@design2code 11 месяцев назад
At 8:21 min: You need to add your /main.js file to the end of the link. I accidentally cut that out of the video :) Thanks to Johannes for the hint!
@maggotinc
@maggotinc 10 месяцев назад
You should totally make a youtube-short or a shorter video from the same Material that just focusses on "How to integrate a spline scene "manually" in webflow". I think this aspect of your tutorial is kind of hidden and some ppl are maybe just looking for that. 🙂
@design2code
@design2code 10 месяцев назад
@@maggotincGreat idea, thank you!
@maggotinc
@maggotinc 10 месяцев назад
@@design2code Great Videos so far, so: Thank you! Actual value here!
@nocthurn
@nocthurn 9 месяцев назад
I'm starting to grasp the train of thought behind custom code with your approach of explaining everything, step by step, line by line. Really appreciate you putting the time and effort into recording this. Hope you’re having a good day, cuz you’ve made mine a great one.
@design2code
@design2code 9 месяцев назад
Oh, feedback like that really makes me very happy. Thank you very much!
@pablocortes682
@pablocortes682 10 месяцев назад
Bro you have a talent for explaining things, I follow pretty much all the Webflow content creators and your tutorial pace, content, and quality of design, is among the best. Please keep making videos.
@design2code
@design2code 10 месяцев назад
Dude, you can't imagine how happy this makes me. Before my first tutorial, I was unsure if I could do this. Reading this motivates me so much, thank you!
@fiveshorts
@fiveshorts 4 месяца назад
Thank you! This is perfect. Webflow for REAL design, not just coffee shops… We want MORE 😅 MORE 😅 Pleeeease. Webflow + Spline + Code, for creatives who know design really well, and don’t want prebuilt sections and templates and tragic typography and AI-generated content.
@JohannesFraundorfer
@JohannesFraundorfer 11 месяцев назад
Honestly, amazing tutorial! I'm not a developer but do have some basic understanding of coding/JS so this is the perfect pace for me. Thanks a lot for also integrating the setup, as a lot of coding tutorials skip that part! Watching you makes it seem pretty achievable and makes me want to play with it! Thank you so much Dirk!
@design2code
@design2code 11 месяцев назад
Thank you, Johannes! 🙏
@thewebstylist
@thewebstylist 9 месяцев назад
Such great design and style
@FloNocode
@FloNocode 9 месяцев назад
RU-vid recommend me your content and i very happy to fall here ! I need to know more about GSAP and you explain very well how build amazing interaction and animation. #feedmemore
@AndrewE8001
@AndrewE8001 9 месяцев назад
WOW! This is a great tutorial!
@tjk_9000
@tjk_9000 5 месяцев назад
this is amazing, beautiful design and excellent tutorial. how is the performance with something like this? I'm not sure how diplace layers affect polygon count, but I've found that small files with large poly counts still lag my existing webflow interactions (like infinite marquee).
@lewyathan
@lewyathan 8 месяцев назад
good video, pro tip try next time to hide the suggestions in your code editor, it's annoying as it hides certain parts of code thanks
@voldemortvi4264
@voldemortvi4264 11 месяцев назад
+Sub , you have a great content here Buddy keep it up
@design2code
@design2code 11 месяцев назад
Thank you so much! 🙏
@Ari-ld9hi
@Ari-ld9hi 11 месяцев назад
Damn man. Awesome stuff. I would love to work with you on work for clients.
@design2code
@design2code 11 месяцев назад
Thank you so much! 🙏
@JohannesFraundorfer
@JohannesFraundorfer 10 месяцев назад
Hi Dirk, quick question: When I implement the gsap animation like you did for my title, it doesn't happen in quite the same way. your h1 is put in 1 div and you split it via SplitType and then you animate the yPercent 100. In your case it looks like each of the H1-lines is animated from it's own div with overflow hidden: each word kind of gets revealed on it's own. In my case, the words are just located 100 percent further down, but not hidden as in your case, if you understand what I mean. Do you know why that happens? I've checked your HTML setup and I couldn't figure out why your animations looks different!
@design2code
@design2code 10 месяцев назад
Hi Johannes, when you applied SplitType, you can simply give the .line class an overflow: hidden. Then you can animate the .word via yPercent and it will be cropped.
@JohannesFraundorfer
@JohannesFraundorfer 10 месяцев назад
Ah okay, therefore the h1 has to be a , right? because my h1 doesn't get split into lines, my p does tho.. @@design2code and would you assign the class in the global-stlyes embed? Also overflow: hidden; on the .word class should work too, right?
@design2code
@design2code 10 месяцев назад
@@JohannesFraundorfer It should work with every HTML element. I quickly created this CodeSandBox for you, there I used a H1: codesandbox.io/s/suspicious-bush-d448vm … I usually add CSS via embed. So then it is directly visible in the Webflow designer.
@JohannesFraundorfer
@JohannesFraundorfer 10 месяцев назад
@@design2code thanks so much, weird... I kind of did the same, still not showing like this... well gonna have to troubleshoot later, if I find the problem I'll let u know haha
@remo6550
@remo6550 8 месяцев назад
Is there a problem with the seo when using splitType? I thought the Browser could not scan the content anymore🤔
@totallyempty
@totallyempty 11 месяцев назад
Thanks a lot! What is the main advantage of using GSAP vs just native support for Spline interactions in WF?
@design2code
@design2code 11 месяцев назад
In general, GSAP is in many cases more scalable than the Webflow Interactions. In this video I did not animate the Spline elements directly via GSAP, but only the corresponding HTML wrapper. If you use the native Spline integration in Webflow, you can't animate the elements separately with GSAP (as far as I know). If you want to animate Spline elements with GSAP, you have to include Spline via custom code (JavaScript), then you have full access to the Spline objects and can control them via GSAP.
@design2code
@design2code 11 месяцев назад
Oh, and by »more scalable«, I mean you can edit, add and remove timings and animations much faster with GSAP. You have more control over the entire timeline.
@totallyempty
@totallyempty 11 месяцев назад
@@design2code thanks a lot that’s super helpful
@Nadjas277
@Nadjas277 7 месяцев назад
codesandbox won't let me create a javascript file - how can I fix that?
@arupde6320
@arupde6320 9 месяцев назад
improve video uality little bit and be regular
@shawenhannappel2329
@shawenhannappel2329 10 месяцев назад
Wonderfull atmosphere to learn, do you have a discord server of some kind, where people can meet up and learn from eacht other?
@design2code
@design2code 10 месяцев назад
Thank you so much! That's exactly what I'm planning right now. I'm currently considering whether Slack or Discord is better for it. When the community is online, I'll be happy to let you know.
Далее
I found the PERFECT duo for 3D web animations
5:52
Просмотров 206 тыс.
#180 - Custom GSAP JavaScript animations in Webflow
1:02:40
How to Become a Webflow Expert in 2024 (4 Levels)
8:20
6 Webflow Micro Interactions You Can Clone Today
6:33
3D Spline integration in Webflow
12:04
Просмотров 8 тыс.
Award Winning Animation With Only 20 Lines Of CSS?
6:59