Please do svg text smear and stretch having some bezeir
@theman7050 Жыл бұрын
Yesss please continue on the svg path :)
@CarlMahnke Жыл бұрын
Love how simple the code behind this is!
@PaulMcCannWebBuilder Жыл бұрын
Appreciation for the vanilla stuff. To add: If the scrollPercentage == 1, transition in a fillOpacity (from 0, set in the CSS, to 1, set in the JS) so it fills in at the end. To stop the initial transition when the page loads, you can add a .preload * { transition: none !important;} and a preload class to the body and remove that class on the window load.
@paulkanja Жыл бұрын
ah yes, !important my old nemesis
@fersahahmet95973 ай бұрын
this is a very smart hack of the stroke dash property of svg. i loved it
@dsdcorp Жыл бұрын
Brilliant idea. Thanx. In browsers with "elastic scroll" ability, the scroll percentage may go out of range, like below zero and above 1. And it causes flickering when you reach the maximum scroll point. So after calculation the scrollPercentage value it should be trimmed like that: if (scrollPercentage1.0) scrollPercentage=1.0;
@gknt7234 Жыл бұрын
Tell me if I'm wrong but JS parses 0.0 as 0, and 1.0 as 1 because the right side is equal to 0. So there is no need to add .0 to any integer.
@dsdcorp Жыл бұрын
@@gknt7234 You right. My style is dictated by other scripting languages where there is some difference between integer and float types. It guarantees correct parsing in any case.
@psychotrout Жыл бұрын
For not doing any web development myself I found this very instructive and well explained.
@CodeDreamer68 Жыл бұрын
You are very good at teaching, and thank you for zooming in.
@dave_thebrave Жыл бұрын
this is pretty cool. i think i can't wait for the watch.
@krishtamboli7909 Жыл бұрын
Please do negative space really waiting for it Love from India 🇮🇳 ❤️
@DesignCourse Жыл бұрын
I'll be doing it this week.
@krishtamboli7909 Жыл бұрын
@@DesignCourse Thanks 😊
@yingzhaozhou4319 Жыл бұрын
❤incredibly smart. Thanks 👍
@ClarkGoodram Жыл бұрын
Great tutorial. I tend to use Vivus and also Vivus instant for general animated svgs but this is great especially as its used with vanilla JS, css and scroll percentages. Great job.
@mohamedlabarre166 Жыл бұрын
Hi sir this a very insteresting video and you are a great teacher thanks
@craigiswayne Жыл бұрын
SVG is such an underrated tool
@rychei5393 Жыл бұрын
WOW... thanks, this is super cool!
@cjwebdev Жыл бұрын
I love messing around with the SVG's to do some creative designs with. I have an extension that I use with VS Code called Svg Preview. When you have a svg file in VS Code the screen will split and show you the image. The image will update in real-time when making changes. 👍
@chrisodillman3355 Жыл бұрын
It is so much fun to do stuff like this.
@DuneNobleman Жыл бұрын
Thx for the lesson sir.
@historynerd6630 Жыл бұрын
very elegant and simple 👍 (If I had approached the same problem i would have done it way to complicated)
@theman7050 Жыл бұрын
You, Sir.. are AMAZING!!! Thanks for using vanilla JS. :D
@unl0ck998 Жыл бұрын
that was really cool!
@jp0678 Жыл бұрын
Learned something new, thanks! Small nitpick btw, if you removed the style definition inside the SVG, might as well as remove the *cls-1* class of the ** :D
@rodrigodanielss Жыл бұрын
The result went very creative and professional. I am a free software adept, Gimp SVG conversion is messed, what are the great recommendations for download?
@TwoTeaTee Жыл бұрын
NGL, Cool & Easy!
@paradiseofcreativity Жыл бұрын
Thank you for the great content as always.
@outpost31737 Жыл бұрын
Nice one Gaz. I've created something similar for my own website. Looks super cool.
@lexxguru Жыл бұрын
awesome dude!
@paski702 Жыл бұрын
Very good content!! 😊
@josbouma7924 Жыл бұрын
Im typing this at the video intro, im curious to see if you can prevent repaints without something like greensocks, cuz that's what you use it for.
@mikr13 Жыл бұрын
What tool he used to zoom & highlight in like that at around 1:53? Great video btw!
@alubhau Жыл бұрын
this really helps me because I was thinking of making this sort of handwriting letter reveal and I cant just do a simple reveal from left to right...I have to make sure the letters are written like they would be written in hand and this multi-path svg scroll technique will be used..just without the scroll
@mohamedlabarre166 Жыл бұрын
just a suggestion can make a video about svgomg video tutorial for beginner?
@ΒινςΜοργκαν Жыл бұрын
Please Gary can you tell me your theme settings?
@blasterchampions1801 Жыл бұрын
nice video 👍
@mohamedlabarre166 Жыл бұрын
what about if I have one path on my svg ?
@utsavkataria96 Жыл бұрын
Hey man, Great tutorial as always. If we animate the svg in after effects and upload it as bg video, would that get us the same result ?
@getRekt1234 Жыл бұрын
No
@jomsies Жыл бұрын
coding is hard .-. good thing people still hire front front front end designers. haha
@Teng-t8p Жыл бұрын
Why my console didn't show the length of the paths??
@andrezz2312 Жыл бұрын
I was wondering if you could share the whole formula to get the scroll percentage, because it got cut on frame, great video nonetheless!
@MatsEngstrom Жыл бұрын
let scrollPercentage = (document.documentElement.scrollTop + document.body.scrollTop) / (document.documentElement.scrollHeight - document.documentElement.clientHeight);
@Franbua Жыл бұрын
What about Figma? Is it possible to create this design by Figma?
@DesignCourse Жыл бұрын
Yes, the SVG elements.
@Franbua Жыл бұрын
@@DesignCourse It would be great to see a tutorial video of this
@DesignCourse Жыл бұрын
@@Franbua it's not needed. Just use the pen tool in Figma to do the same thing I did in illustrator
@DesignCourse Жыл бұрын
Just so we're clear, you can't create this type of animation in Figma. You can only complete the initial part of this tutorial in Figma (creating the svg shapes)
@Franbua Жыл бұрын
@@DesignCourse That's actually what I was trying to find out. Thank you so much :)
@Geoffrey_Dnx Жыл бұрын
Hello, when i launch the page, drawing is complete before i scroll, i search something to change this :( Thanks for all :)
@Geoffrey_Dnx Жыл бұрын
I've found the solution by myself, opacity:0 in CSS, and this small line of javascript: path.style.opacity = 1;
@cmilkau Жыл бұрын
I wish people would spend less time on making scrolling look good and more time on getting rid of scrolling.
@electrolyteorb Жыл бұрын
You are featured on @Fireship 🤯
@alexhartan Жыл бұрын
Love this but hard to not think how much easier this would be done in Webflow... You can do it in under a minute
@milanche7395 Жыл бұрын
When I saw the thumbnail of this video, I thought it was a girl on it. You could start wearing makeup too. LOL
@kuriasjoy Жыл бұрын
U looks brad pitt
@mantisory Жыл бұрын
Dude, time for a haircut :)
@DesignCourse Жыл бұрын
absolutely........ not!
@mantisory Жыл бұрын
Haha. Had to try :)
@josbouma7924 Жыл бұрын
Don't use this unless you want to drain mobile device batteries
@ephrin-ligand Жыл бұрын
man. vanilla JS is not what you think :) stop using this words)