Realistic Water Effect without JavaScript - HTML/CSS Only

  Рет қаралды 199,010

Red Stapler

Red Stapler

Күн бұрын

Create a realistic water flowing effect with HTML and CSS using custom svg turbulence filter. No JavaScript needed!
Source Code: redstapler.co/...
SVG Turbulence Filter Article: bit.ly/2MbRKuM
=== Follow us on ===
Facebook: / theredstapler
Website: redstapler.co/
Twitter: / redstapler_twit
#SVG #CSS #WebDesign

Пікірлер: 201
@brawndo8726
@brawndo8726 5 жыл бұрын
This is one of the most amazing things I've seen in web development over the last several years.
@aperson4051
@aperson4051 5 жыл бұрын
It's just a filter ...
@brawndo8726
@brawndo8726 5 жыл бұрын
@@aperson4051 It's just a filter, but used to create an impressive effect.
@jacobtran4010
@jacobtran4010 5 жыл бұрын
@@brawndo8726 just a filter really.
@GergiH
@GergiH 5 жыл бұрын
To all who says "it's just a filter", I'd bet my ass you would've "just" make it a video loop instead and "just" set it as the background. It's way more efficient this way and I guess a lot of us didn't even know these type of things can be achieved with only CSS (and good masking).
@jacobtran4010
@jacobtran4010 5 жыл бұрын
@@GergiH there isn't a good usage for this man.
@anakinskywalkerrr
@anakinskywalkerrr 5 жыл бұрын
No music, straight to the point, 100% will sub for that
@jmbeatsbbx
@jmbeatsbbx 5 жыл бұрын
I have no idea how did you come up with this idea. But it was mind blowing!
@Andrey-il8rh
@Andrey-il8rh 5 жыл бұрын
SVG filters is like a separate universe. Maybe someone could recommend a good overview tutorial on the topic?
@DerJP
@DerJP 5 жыл бұрын
Gabriel Klenner that‘s what I thought as well
@loltool5513
@loltool5513 5 жыл бұрын
@Gabriel Klenner shesays did a vid on it. it was a scroling texture
@Valhalla43
@Valhalla43 5 жыл бұрын
The linked Sara Soueidan article on feTurbulence is very good would recommend
@xNiqueish
@xNiqueish 5 жыл бұрын
I'm in web development for years and I haven't seen anything like this before. Mind blowing
@JasonStewart1124
@JasonStewart1124 5 жыл бұрын
Awesome tutorial . Beware that the svg is heavy on processor load. Leaving it open for a few minutes got my computer nice and toasty.
@MarieAmeliaFreyaAster
@MarieAmeliaFreyaAster 4 жыл бұрын
svg is heavy on processor load?!? you sure?
@XxMrBryanxX
@XxMrBryanxX 5 жыл бұрын
What!?! You created this? This mans a scientist
@cortarelva
@cortarelva 5 жыл бұрын
This is me clapping my hands to you dear Sir.
@tazbully0
@tazbully0 5 жыл бұрын
Okay I think this ia the best time to return in learning again html, css and this svg things. It is so wonderful to watch.
@ShayanBinShad
@ShayanBinShad 4 жыл бұрын
I was 99.9% sure that it's SVG Turbulence Filter 😺 but 0.1% confused how did you got the cool background to present?!! 🧐😯😱 Nice explanation. 😀👍
@irfanrona5479
@irfanrona5479 5 жыл бұрын
Extremely out of mind. You're Genius !
@hakzima
@hakzima 5 жыл бұрын
Pixar CEO “Red Stapler was able to build this in a cave! with boxes of scraps”
@sudofox
@sudofox 5 жыл бұрын
"Well I'm sorry. I'm not Red Stapler."
@smiley2827
@smiley2827 3 жыл бұрын
I am not even frontend but your documentation reading skill made even backend, DevOps guy subscribed to you, So keep up ;)
@jamilamini7807
@jamilamini7807 5 жыл бұрын
Css is going to next level One day we will call it a programming language wait for sometime
@IkikaeruRaimei
@IkikaeruRaimei 5 жыл бұрын
Or not, this effect is just simple. If you were to do that realistically (Not like in the video where it is just an image deformation), it needs a shader...
@chickencamp7154
@chickencamp7154 5 жыл бұрын
I can't see that background in the same way as I did initially xD
@sakuragi9607
@sakuragi9607 5 жыл бұрын
Clear explanation and it’s a video with audio not text thank you 👏👏❣️
@ithinkimhipster502
@ithinkimhipster502 5 жыл бұрын
I'm so lucky to have come across this video. The filter tag you applied to the avg is the exact effect effect I'm looking for. I want to recreate the visual effect that occurs when you animate an image that's drawn slightly differently in each frame.
@josephemris
@josephemris 5 жыл бұрын
AMAZING!!!!! Simply amazing!!! Great video, new follower here
@hassanhaider2380
@hassanhaider2380 5 жыл бұрын
Very soothing background and very soothing voice too!
@brunovaz
@brunovaz 5 жыл бұрын
I'm scared to check the canIuse of these filters
@FlorianDootz
@FlorianDootz 5 жыл бұрын
Looks like only safari can't handle the feTurbulence-element.
@MrLaxr-op4be
@MrLaxr-op4be 5 жыл бұрын
Next level Idea!
@AstroDogeDX
@AstroDogeDX 5 жыл бұрын
That's incredible!
@guilhermesmuller
@guilhermesmuller 5 жыл бұрын
Very interesting technique, thanks for sharing it in such a short video.
@oldbootz
@oldbootz 5 жыл бұрын
I love this! Great presentation!
@pilotgfx
@pilotgfx 2 жыл бұрын
wow this is overpowered. i feel completely useless due to the fact i never used svg filters and i've played with hmtl/css for 20 years. definitely some potential here.
@itdat9767
@itdat9767 4 жыл бұрын
That's amazing! Thank you so much.
@gordonruthven7656
@gordonruthven7656 5 жыл бұрын
Absolutely superb!
@JohnLittler
@JohnLittler 5 жыл бұрын
This feature is only good as a clever trick. Every time we try to incorporate even simple animations into our web apps the added CPU usage is just not worth it.
@nofacee94
@nofacee94 5 жыл бұрын
But these CSS animations can run on the GPU.
@derekacosta1584
@derekacosta1584 5 жыл бұрын
@@nofacee94 Making them pointless on anything other than desktop or non-webgl platforms
@K-Fed
@K-Fed 5 жыл бұрын
@@derekacosta1584 Why's that? Mobile devices have more than adequate GPUs in them for this, and coding using CSS has less boilerplate than a WebGL variant.
@sugarbooty
@sugarbooty 5 жыл бұрын
@@K-Fed This is a desktop only kinda thing in my mind, why the hell would you want your phone to slow down and get hot when you open up a website? You'd go to another one
@K-Fed
@K-Fed 5 жыл бұрын
@@sugarbooty That entirely depends on the application and the implementation. If you're serving up a rich SPA that doesn't have a huge amount of content, then the CPU usage will be very reasonable. That's especially true if you scale the graphic size to the screen size of the mobile device. I tried the demo on my old Samsung Note 4 and it's perfectly fluid and doesn't cause any slowness of the device. On my 10 year old laptop, my CPU barely reaches more than 2% and I don't notice any performance impacts with the tab open and in focus. You also have to keep in mind that performance isn't crucial for a lot of applications. For something like Amazon or Google search results, having a fast and snappy website may increase retention and conversions. A leisure website where people just mindless browse cool images and videos after their day is complete won't need to be optimized the same way to shave a few milliseconds on page load or save and handful of CPU cycles.
@ne9835
@ne9835 5 жыл бұрын
Hats off to you my man!
@Mosiah369
@Mosiah369 5 жыл бұрын
Wow! spectacular!
@Omsos116
@Omsos116 5 жыл бұрын
Thats mindblowing
@rideroundandstuff
@rideroundandstuff 5 жыл бұрын
This is amazing. Thank you so much for sharing!
@rolandgerard6064
@rolandgerard6064 5 жыл бұрын
This is really amazing, of course subscribed and a big 👍
@lonnybulldozer8426
@lonnybulldozer8426 5 жыл бұрын
It's so beautiful, I cried tears of joy. I saw the face of God in the peaceful flow of the water. I don't believe this is just HTML and CSS, I believe you are a prophet sent down from the heavens to guide us through these trying times. I'm willing to fight for you, just tell us all what to do. Why are we here?
@mohammadoulabi4212
@mohammadoulabi4212 5 жыл бұрын
lol
@Andrey-il8rh
@Andrey-il8rh 5 жыл бұрын
🙏🙏🙏
@MaxxSkywalker
@MaxxSkywalker 5 жыл бұрын
*prophet www.dictionary.com/browse/prophet?s=t
@lonnybulldozer8426
@lonnybulldozer8426 5 жыл бұрын
@@MaxxSkywalker Which is exactly what I wrote. Your point being? Either way, this was a just an experiment of mine, as I use you sniveling swine to learn more about your predictable and grotesque behaviors. For you see, I am one of the biggest, if not the biggest troll in the game. I take on many forms, and many names, to say the least. You have all dealt with me in some way or another. I decided to write something positive for once, mostly as a concrete test to determine the extent to which I've been shadow-banned from KZbin. It's become quite clear KZbin/Google are a mission to silence anything they deem 'negative', perhaps in an effort to create a false utopia. I'm actually a white-night, a fighter for justice and free speech, tackling the biggest issues facing the planet and the human race as a whole. BOW TO ME, scum.
@MaxxSkywalker
@MaxxSkywalker 5 жыл бұрын
@@lonnybulldozer8426 Huh? I was just correcting your spelling, dude. Chill out. You had "profit", which is something else entirely. Nice of you to fix it, and then go into a non sequitur, though.
@JassarDev
@JassarDev 4 жыл бұрын
Thank you for this, appreciate it! I wish there was a bit more explanation of what's going on after you inserted the svg, but I'll read the documentation.
@Maxetkd
@Maxetkd 5 жыл бұрын
Whilst searching 's meaning, I read ''But there are some SVG properties that cannot be animated through CSS that can through SVG. An SVG path, for example, comes with a set of data (a d="" attribute) that defines that path's shape. This data can be modified and animated through SMIL, but not CSS.'' So is this HTML/CSS or HTML/CSS/SMIL?
@alexholker1309
@alexholker1309 5 жыл бұрын
Very interesting. I've used SVG filters and masks before (using feColorMatrix to recolour a character's football uniform), but haven't looked into other filters like this one.
@DevMoSofi
@DevMoSofi 5 жыл бұрын
Keep the great work up
@jamesblackwell2067
@jamesblackwell2067 5 жыл бұрын
wow, i didnt know this was possible
@pavkey88
@pavkey88 5 жыл бұрын
This is great but I wonder how hard this is on the processor. Reminds me how we used to fake stuff in flash but this is way cooler
@domnik9062
@domnik9062 5 жыл бұрын
This and That just an assumption: Ripple effects like these are normally realized with a Normal/Displacementmap as seen in this video. So the effect is pretty surly achieved with shaders and shaders run on gpu not cpu
@AntonioNoack
@AntonioNoack 5 жыл бұрын
Jason Stewart 1 week ago: Awesome tutorial . Beware that the svg is heavy on processor load. Leaving it open for a few minutes got my computer nice and toasty.
@Huge_jass
@Huge_jass 5 жыл бұрын
This moment when you made most beautiful game in html and css
@SouravendraKrishnaDeb
@SouravendraKrishnaDeb 5 жыл бұрын
I'd love to know if implementing this in an actual website is too resource intensive or not.
@tapwater424
@tapwater424 5 жыл бұрын
It is
@SouravendraKrishnaDeb
@SouravendraKrishnaDeb 5 жыл бұрын
@@tapwater424 rip.
@elProdigio
@elProdigio 5 жыл бұрын
It's magic.
@visao338
@visao338 3 жыл бұрын
😱😱😭Thanks so much. I'm struggling with this problem
@024ashutoshsharma3
@024ashutoshsharma3 3 жыл бұрын
I don't know why its not visible when i am trying to run it on the browser, can anyone tell why this happened
@peridotleo4333
@peridotleo4333 5 жыл бұрын
Instant subscription!
@sai78206
@sai78206 5 жыл бұрын
This is something next level which I never achieve 😂😂
@aprimic
@aprimic 5 жыл бұрын
Copy paste
@Andrey-il8rh
@Andrey-il8rh 5 жыл бұрын
In fact it's very easy to achieve
@Kriyos0666
@Kriyos0666 5 жыл бұрын
And finally i need this for minecraft rtx technology
@rjprmr
@rjprmr 5 жыл бұрын
This is fantastic but be aware it will max out the GPU on the average system!
@alekskenins
@alekskenins 5 жыл бұрын
You could make a bunch of copies of the entire filter with slightly different parameters using CSS animation keyframes, and alternate between them. This way the browser will only have to render most of the animation once. Edit: When I'm back at my computer I'll make a codepen and post it here.
@DoctorMandible
@DoctorMandible 5 жыл бұрын
@@alekskenins bump
@Andrey-il8rh
@Andrey-il8rh 5 жыл бұрын
bump
@cduran1983
@cduran1983 5 жыл бұрын
@@alekskenins could you please 🙏
@nickschmitt8594
@nickschmitt8594 5 жыл бұрын
@@alekskenins hi
@SciDOCMBC
@SciDOCMBC 5 жыл бұрын
a really great job 👍
@hanstransjuicer8911
@hanstransjuicer8911 4 жыл бұрын
Awsome. Just awsome.
@jaycal1920
@jaycal1920 5 жыл бұрын
To the point simple. Nice.
@malou5118
@malou5118 4 жыл бұрын
wau amazing mind blowing
@FirdavsiGameDev
@FirdavsiGameDev 5 жыл бұрын
Awesome! thanks dude!
@Valitzu777
@Valitzu777 Жыл бұрын
Awesome, thank you. Is it, or can it be made responsive?
@RomanticPopPunk
@RomanticPopPunk 5 жыл бұрын
Would it be better if you just use a gif as background?
@RedStapler_channel
@RedStapler_channel 5 жыл бұрын
never use large gif background. it has extreamly large file size due to inefficient encoding. For example, a 2 MB video background could turn into a whopping 10MB+ in gif.
@alimertc
@alimertc 5 жыл бұрын
@@RedStapler_channel it has small file sizes with videos that have more static pixels
@forgettd
@forgettd 5 жыл бұрын
The basic way to make such a background is to use a video in mp4 format.
@manmanmanichfindekeinennam7613
@manmanmanichfindekeinennam7613 5 жыл бұрын
I think the point of this Video is to show whats possible with only CSS and HTML. It becomes much more interesting when you have been a developer for +10 years. Its freaking great to see what CSS can do Nowadays. Back then, you had to do stuff like this with flash, a programming language. This CSS effect is stunning because HTML is only a markup language, css only a stylesheets language and no one ever expected that html and css would be able get Stuff like this done. This Video shows how easy Webdevelopment has become with html5 and css3. From the programmer perpective is webdev more interesting and fun than ever before. But from a practically view is this effect quiete dumb. I cant imagine a single Website which needs something like this. Its only for fun and shouldnt be done for serious business.
@vishal_taywade
@vishal_taywade 5 жыл бұрын
Amazing 👌💐
@arshaddesignverx
@arshaddesignverx 5 жыл бұрын
Awesome tutorial
@furbi963
@furbi963 5 жыл бұрын
Simple, bonito y hermoso 😍👌
@TheAnna2511
@TheAnna2511 4 жыл бұрын
I need a help, I used this code on my website, but I have more elements under this and at the bottom of the page I have a blank space, and when I open inspect page, there I can see svg file... I am new in the web design, so I hope someone know what I mean :D
@davidhernandez1699
@davidhernandez1699 5 жыл бұрын
Super nice! Is there any way to control the flow direction of the water?
@rvsamsung77
@rvsamsung77 5 жыл бұрын
This is one of the most amazing things I've seen in web design for the last couple of days
@boiimcfacto2364
@boiimcfacto2364 5 жыл бұрын
Nice work literally copying the top comment.
@bilbobeutlin3405
@bilbobeutlin3405 3 жыл бұрын
dude thats so awsome
@kryptonnn652
@kryptonnn652 5 жыл бұрын
Wow, amazing.
@lillaraczszabo6720
@lillaraczszabo6720 3 жыл бұрын
Thank you, it helped a lot! :)
@Galya892011
@Galya892011 5 жыл бұрын
Cool! Gotta try!
@jinnielee7285
@jinnielee7285 4 жыл бұрын
beautiful
@sannikeshachari3912
@sannikeshachari3912 Жыл бұрын
How to add 3Dpanorina effect in website
@robinbrowne5419
@robinbrowne5419 5 жыл бұрын
Very nice. Thanks.
@akshaychordia8724
@akshaychordia8724 5 жыл бұрын
So nice❤️
@tfr
@tfr 5 жыл бұрын
This is html 6, man, I wish I had 10 rtx titans to compute this. Nice
@SK-pp2fj
@SK-pp2fj 5 жыл бұрын
Can you say what screen recorder you are using ❓
@2011BIRR
@2011BIRR Жыл бұрын
very nice!
@MarkoKozlica
@MarkoKozlica 5 жыл бұрын
You are great! Thx :D
@adityalakkad8795
@adityalakkad8795 5 жыл бұрын
How I can set as a background in my website and please also provide a mobile friendly interface how to do help l loved your video very very very much
@fadlanzunima5236
@fadlanzunima5236 5 жыл бұрын
Fantastic
@tofik2450
@tofik2450 5 жыл бұрын
Nice!
@-JackER
@-JackER 5 жыл бұрын
very nice job!
@yenenehmulatu5707
@yenenehmulatu5707 5 жыл бұрын
Respect👍
@MindsMusing
@MindsMusing 4 жыл бұрын
Great....U complete Me!!
@yishayhaz
@yishayhaz 5 жыл бұрын
"HTML/CSS only" 0:57 i will photoshop..
@hnccox
@hnccox 5 жыл бұрын
He also used a camera to take a photo of the sea
@tru3prodigy
@tru3prodigy 5 жыл бұрын
He also travelled to the location. 😒
@jopo6445
@jopo6445 5 жыл бұрын
This clearly requires a pc and text editor too. Smh
@kamrulahsan06
@kamrulahsan06 5 жыл бұрын
How about electricity?
@jayrajz7986
@jayrajz7986 5 жыл бұрын
yes you better not follow his advice , because it requires a brain too.
@lingard533
@lingard533 5 жыл бұрын
What text editor you are using here??
@domnik9062
@domnik9062 5 жыл бұрын
Reachester Jala visual studio code
@ChiemekaNwogu
@ChiemekaNwogu 5 жыл бұрын
please reply me. where did you get your own sea image
@Virtualmix
@Virtualmix 5 жыл бұрын
A wonderful device called "camera".
@darkillusion9669
@darkillusion9669 5 жыл бұрын
Virtualmix 😂😂😂
@ChiemekaNwogu
@ChiemekaNwogu 5 жыл бұрын
@@Virtualmix I don't have Photoshop on my pc and can't pay for it, any other way to edit the picture , cause you said save it in Photoshop as transparent png
@Virtualmix
@Virtualmix 5 жыл бұрын
​@@ChiemekaNwogu Yes, install GIMP, it's a free opensource software as capable as Photoshop. After opening your image in Gimp, go to "Layer > Transparency > Add alpha channel" to set the transparency. After that, export your image as PNG.
@SecondTremble
@SecondTremble 5 жыл бұрын
“If you think this is a video back ground, you’re wrong. It’s Chuck Testa
@thereborne5219
@thereborne5219 5 жыл бұрын
when will u create life into that
@megakiller90qc
@megakiller90qc 5 жыл бұрын
Can we just put a gif ?
@RedStapler_channel
@RedStapler_channel 5 жыл бұрын
no, gif at this size and framerate will greatly slow your website loading time.
@megakiller90qc
@megakiller90qc 5 жыл бұрын
@@RedStapler_channel Oh ! ok thx ! :) btw nice vidéo !
@jhordanloaisigaflores6237
@jhordanloaisigaflores6237 5 жыл бұрын
explica lo que haces con photoshop nunca lo he usado. Please.
@-JackER
@-JackER 5 жыл бұрын
simplemente separa el agua de lo demás, las piedras, el arbusto, etc. entonces le aplica la turbulencia solo al agua, de lo contrario se vería toda la imagen moviendose
@ElliotGeno
@ElliotGeno 5 жыл бұрын
SVG is really powerful!
@jhordanloaisigaflores6237
@jhordanloaisigaflores6237 5 жыл бұрын
@@-JackER gracias ahora a probarlo.
@beeurd
@beeurd 5 жыл бұрын
brb, just changing my name to Jon Snow because I clearly know nothing. 🤯
@CrimsonBane
@CrimsonBane 5 жыл бұрын
Wow, this earned a sub
@ChiemekaNwogu
@ChiemekaNwogu 5 жыл бұрын
mine isn't working
@pengekcs
@pengekcs 5 жыл бұрын
wonder how much cpu cycles (percentage) this effect burns ;) great stuff though!
@domnik9062
@domnik9062 5 жыл бұрын
azhat GPU
@ARTSSSergei
@ARTSSSergei 5 жыл бұрын
класс!!!!
@mrsai4740
@mrsai4740 5 жыл бұрын
But does it work in IE 🤔
@FatsFalafel
@FatsFalafel 5 жыл бұрын
You already know the answer to this.
@philrod1
@philrod1 5 жыл бұрын
Why do we still need to ask this? 😥
@mrsai4740
@mrsai4740 5 жыл бұрын
@@philrod1 people still use ie. Stubborn people
@ytpu1
@ytpu1 5 жыл бұрын
Yes But IE sucks
@jamilamini7807
@jamilamini7807 5 жыл бұрын
Why are you using IE
@mnthrld
@mnthrld 5 жыл бұрын
It is simple and no need to know css and html, Just install SEUS PTGI E9
@zhamshidkaliev
@zhamshidkaliev 5 жыл бұрын
woooow
@qbasic16
@qbasic16 5 жыл бұрын
Awesome! I will use this to improve the gore effect (hidden easteregg) on our company's website 😄
@TheDVDwr
@TheDVDwr 5 жыл бұрын
Why not just use a gif ?
@samuelmatheson9655
@samuelmatheson9655 5 жыл бұрын
Holy big brain
@DANNYFIGDESIGNS
@DANNYFIGDESIGNS 5 жыл бұрын
Wow.
@burnblue
@burnblue 5 жыл бұрын
dope
You Don't Need JavaScript For This - CSS ONLY Infinite Scroll
23:35
Slaying The Dragon
Рет қаралды 150 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 21 МЛН
Understand CSS Mask in 4 Minutes
4:48
Red Stapler
Рет қаралды 115 М.
Learn To Build An SVG Animation With CSS
18:32
developedbyed
Рет қаралды 755 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 985 М.
RPG Styles Card with Hover Effect - HTML/CSS
7:20
Red Stapler
Рет қаралды 202 М.
Create Tilt Effect with 1 JavaScript Line | Tilt.js Tutorial
4:31
SVG Animation With Text Tutorial | HTML CSS
18:53
developedbyed
Рет қаралды 583 М.
True parallax with CSS-only is now possible
17:32
Kevin Powell
Рет қаралды 244 М.
Israel Has The Right To Defend Itself | Stand-up Comedy by Daniel Fernandes
15:07