No video

ASCII fluid dynamics -- IOCCC2012 endoh1.c

  Рет қаралды 1,572,808

Yusuke Endoh

Yusuke Endoh

Күн бұрын

A tiny fluid simulator that fits in 80x25 terminal.
www.ioccc.org/2...
www.ioccc.org/2...
BGM: Water Music (Handel)

Пікірлер: 1 800
@ranchu3203
@ranchu3203 4 жыл бұрын
IT EVEN HAS SURFACE TENSION!
@kurumi394
@kurumi394 3 жыл бұрын
Right? I was just about to type this! God this is so cool
@mustno3
@mustno3 3 жыл бұрын
I thought that was just a quirk in the simulation which was just trying to simulate a wave bouncing back and forth on the walls. Simulating surface tension would be too much for this.
@Tr0lliPop
@Tr0lliPop 3 жыл бұрын
OH. MY. GAWD.
@yashrawat9409
@yashrawat9409 3 жыл бұрын
No fluid sim without Surface Tensions
@maiamaya6083
@maiamaya6083 3 жыл бұрын
Ya
@lunafoxfire
@lunafoxfire 5 жыл бұрын
At first I was impressed. AND THEN I REALIZED THE INITIAL LOGO WAS THE SOURCE CODE.
@dsp4392
@dsp4392 5 жыл бұрын
This is art of the highest level.
@lincolnsand5127
@lincolnsand5127 5 жыл бұрын
Is there any place to download or clone the c files for this? I would rather not type this by hand to test it myself.
@nukeout
@nukeout 5 жыл бұрын
Oh shi- !
@Rotceev
@Rotceev 5 жыл бұрын
wow
@mngmng_
@mngmng_ 5 жыл бұрын
Wait you're not shitting m-
@marcossidoruk8033
@marcossidoruk8033 3 жыл бұрын
C code and baroque music, that must be the classiest thing ever.
@chrisjones8741
@chrisjones8741 2 жыл бұрын
Handel’s “Water Music”, if I’m not mistaken 😁
@celestindupilon2773
@celestindupilon2773 2 жыл бұрын
Yes, this video is sheer beauty.
@darren8221
@darren8221 5 жыл бұрын
1.5x speed + 144p, looks real!!
@geekjokes8458
@geekjokes8458 5 жыл бұрын
If you squint a bit
@Bibibosh
@Bibibosh 5 жыл бұрын
darren8221 1.75 speed
@binitrupakheti4246
@binitrupakheti4246 5 жыл бұрын
Thanks stranger
@nukeout
@nukeout 5 жыл бұрын
Ty
@Rotceev
@Rotceev 5 жыл бұрын
yeah, even better 2x
@raffierutomo8948
@raffierutomo8948 5 жыл бұрын
Next, ASCII ray tracing light
@joel5274
@joel5274 5 жыл бұрын
not quite ascii, but heres raytracing in DOS: kzbin.info/www/bejne/hGnInaumiNpsptk
@rachelslur8729
@rachelslur8729 5 жыл бұрын
@@joel5274 👍
@ChiragRajputS
@ChiragRajputS 5 жыл бұрын
Check out this ascii first person shooter tutorial kzbin.info/www/bejne/roibpJ6FbLJ5j9k
@lincolnsand5127
@lincolnsand5127 5 жыл бұрын
Someone made a raytacer in desmos. So that's totally possible
@rachelslur8729
@rachelslur8729 5 жыл бұрын
@@lincolnsand5127 👍
@4.0.4
@4.0.4 5 жыл бұрын
This is a marvel. The code is valid input to itself, it compiles without warnings despite looking so stylized, and fluid dynamics in ASCII is already fascinating enough.
@lincolnsand5127
@lincolnsand5127 5 жыл бұрын
Is there any place to download or clone the c files for this?
@4.0.4
@4.0.4 5 жыл бұрын
​@@lincolnsand5127 he left a link in one of his other videos: kzbin.info/www/bejne/moLaZapvjMyLmbM
@eminioxpl6651
@eminioxpl6651 5 жыл бұрын
@@4.0.4 getting rick rolled in 2019... I can't belive it
@hadinossanosam4459
@hadinossanosam4459 5 жыл бұрын
@@lincolnsand5127 ioccc.org/years.html#2012_endoh1
@mattr2238
@mattr2238 4 жыл бұрын
@@lincolnsand5127 It's literally in the video.
@ultrio325
@ultrio325 4 жыл бұрын
why would you simulate fluid dynamics with ascii? you're asciing for trouble
@jonathanhanna9459
@jonathanhanna9459 3 жыл бұрын
You're going into the pungeon!
@Hwyadylaw
@Hwyadylaw 2 жыл бұрын
It's not simulated in ascii (that doesn't make much sense), but rendered in ascii characters.
@loading_wait
@loading_wait 5 жыл бұрын
The music - Fredrick Handel’s “water music”. Amazing.
@proskub5039
@proskub5039 7 жыл бұрын
This would make a fine addition to Dwarf Fortress
@hazel-lainsnider1542
@hazel-lainsnider1542 5 жыл бұрын
I mean, Dwarf Fortress already has some of the most advanced fluid dynamics in video games.
@gracefool
@gracefool 5 жыл бұрын
@@hazel-lainsnider1542 lol wut it's not much better than Minecraft
@lyncheatingdonut
@lyncheatingdonut 5 жыл бұрын
@@gracefool In terms of what? Minecraft's fluids are just based on source blocks. DF simulates water pressure.
@gracefool
@gracefool 5 жыл бұрын
@@lyncheatingdonut sure but it's still local grid-based, calling it fluid dynamics is ridiculous. It's not anything like real fluid.
@lyncheatingdonut
@lyncheatingdonut 5 жыл бұрын
@@gracefool Well yeah, it does work on a more abstract level for sure
@joonatansaarhelo6138
@joonatansaarhelo6138 8 жыл бұрын
The code compiles without warnings!
@paulsernine5302
@paulsernine5302 7 жыл бұрын
no warning with -Wall -pedantic options is awsome indeed
@Xeverous
@Xeverous 7 жыл бұрын
It's not that hard to have no warnings with pedantic in both C and C++ (in more recent C11 and C++11/14 it's even easier)
@faykson
@faykson 7 жыл бұрын
Where did you guys learnt how to code ? You can do everything without warnings.
@AlexVasiluta
@AlexVasiluta 6 жыл бұрын
faykson They know this, they mean that it didn't output any errors (like "int" from "int main()" is missing but still works or that it didn't include stdio.h)
@irisaacsni
@irisaacsni 6 жыл бұрын
fayson Obviously you can code without warnings. But its much harder to do with obfuscated C code
@MrGoatflakes
@MrGoatflakes 4 жыл бұрын
It's a crime this has only just been recommended to me six years after the fact...
@Jakium
@Jakium 3 жыл бұрын
Why the crazy youtube recommendations algorithm brought us all here once again! kzbin.info/www/bejne/bqqcpZ97hsxgp80
@AadityaMankarXv7
@AadityaMankarXv7 5 жыл бұрын
And here we all are. Gathered by KZbin's algorithm.
@joni5028
@joni5028 5 жыл бұрын
I sometimes ask myself what kind of weird things I watch that something like this gets recommended to me, but than I do watch it so that's for that. Glad to know I'm not the only one
@kaijuplayz2199
@kaijuplayz2199 5 жыл бұрын
Can I like this comment, it had 69 likes
@hiralykowalski6825
@hiralykowalski6825 5 жыл бұрын
I'm not even mad That's amazing
@JetFalcon710
@JetFalcon710 5 жыл бұрын
Welcome back to: *Why Are These Videos In My Recommendations? Episode #109347*
@centdemeern1
@centdemeern1 5 жыл бұрын
You said it
@LudwigvanBeethoven2
@LudwigvanBeethoven2 5 жыл бұрын
Command line is not suitable for GUI Yusuke Endoh: hold my mouse
@KikatzuMusik
@KikatzuMusik 5 жыл бұрын
It's even possible to visualize 3D-Objects inside the shell.
@neixene7742
@neixene7742 5 жыл бұрын
​@@KikatzuMusik and its possible to create virtual computer in minecraft but should we ?
@sorriiez
@sorriiez 5 жыл бұрын
@@neixene7742 please don't do it. They will create Minecraft on Minecraft ;-;
@jan_harald
@jan_harald 5 жыл бұрын
@@neixene7742 of course and ascii is just the tip of the iceberg utf-8 ftw! the simplest way is to just render utf8 "pixels", turning one character into 4 "pixels" and pretending it's a regular pixel display...some people use braille symbols instead, giving even more "pixels"... of course, as with ascii, you could make a whole lot more complicated things with it as well...
@guilhermesartorato93
@guilhermesartorato93 5 жыл бұрын
Japanese guys...
@m1lkweed
@m1lkweed 5 жыл бұрын
Thank you, youtube recommendation algorithm.
@Trekeyus
@Trekeyus 5 жыл бұрын
Was thinking the same thing
@BlakeEdwards333
@BlakeEdwards333 5 жыл бұрын
M1lkweed 761 facts hahaha
@kevybost
@kevybost 5 жыл бұрын
Same. Spot on
@Demon-Jay
@Demon-Jay 4 жыл бұрын
Wow my recommendation was late lol
@islilyyagirl
@islilyyagirl 4 жыл бұрын
mhm
@stevop80_45
@stevop80_45 4 жыл бұрын
I'm 7 years late to the party, technology has advanced considerably in that time, and I STILL do not think I could have been more impressed seeing this 7 years ago as I am today.....
@haseebkhalid9821
@haseebkhalid9821 Жыл бұрын
I'm 9 years late and still blown away
@hamzabouhelal622
@hamzabouhelal622 3 жыл бұрын
The minimalism of ASCII art is still fascinating and intriguing.
@LimeHunter7
@LimeHunter7 7 жыл бұрын
Oh god, I just got it... Handel's WATER Music. I hate you. 10/10 pun
@sacredgeometry
@sacredgeometry 5 жыл бұрын
It's not a pun.
@motherofallemails
@motherofallemails 5 жыл бұрын
you're slow
@c.j.3184
@c.j.3184 5 жыл бұрын
2 year old comment, guys. welcome to youtube recommendations
@deanerdaweiner3829
@deanerdaweiner3829 5 жыл бұрын
@@motherofallemails stfu he was here over 2 years before you
@Alexander-nd5de
@Alexander-nd5de 5 жыл бұрын
@@deanerdaweiner3829 hah nice point. plus there is so many good video's out there you just get them as you come. late or not. im not sure how many Hours on stuff on you tube but i can say its far more that one lifetime.
@anastasiadunbar5246
@anastasiadunbar5246 8 жыл бұрын
Would you like to drink some code?
@fidgetgamer5556
@fidgetgamer5556 5 жыл бұрын
Yep
@HandledToaster2
@HandledToaster2 5 жыл бұрын
Fuck yeah hit me
@pianojay5146
@pianojay5146 5 жыл бұрын
Yes, I prefer ASCII.
@Operational117
@Operational117 5 жыл бұрын
@@pianojay5146 Oddly enough, I too prefer ASCII over H2O.
@deraffeaufyoutube
@deraffeaufyoutube 5 жыл бұрын
Gimme that juicy Kotlin!
@lorenzo42p
@lorenzo42p 3 жыл бұрын
I'm 8 years late but that is still amazing. 100 years from now that code will still be amazing, but maybe we'll have a better word for it by then
@antricks2546
@antricks2546 5 жыл бұрын
All comments are from yesterday. What in the world happened with youtube's algorithm to put a 6 year old video of ASCII fluid dynamics in so many recommendation lists. 🤔
@guilhermesartorato93
@guilhermesartorato93 5 жыл бұрын
Maybe the author hacked the algorithm? I mean, if he's THIS talented, to the point of creating an ASCII fluid dynamics whose logo is the source code itself......
@rumfordc
@rumfordc 4 жыл бұрын
All the good _new_ content is either censored or no longer allowed on youtube, so its falling back on older videos because that's all thats left. The second factor is that youtube recommends things based on _category_ rather than similar watchers like it used to. So once an old video starts to go even a little bit viral KZbin gets it out to pretty much everyone who has ever looked at that category.
@aditya-lr2in
@aditya-lr2in 4 жыл бұрын
U urself changed ur comment after an yr 😆
@RetroGamer2153
@RetroGamer2153 4 жыл бұрын
Some nerd searched for ASCII videos. Google said, "You all have the same nerdy tastes as this guy. Enjoy this video he watched several times!" I say, "Thanks, Google, and random nerdy searcher. That was a good find!"
@RetroGamer2153
@RetroGamer2153 4 жыл бұрын
Your comment was from a year ago! Guess Google is still at it!
@espen990
@espen990 5 жыл бұрын
Advanced and high quality 3D computer graphics: "Am I a joke to you?"
@pensive955
@pensive955 5 жыл бұрын
have a reply
@nando5774
@nando5774 5 жыл бұрын
2 reply
@espen990
@espen990 5 жыл бұрын
Wow. Much reply. Thank
@P0pMan20
@P0pMan20 5 жыл бұрын
Espen Sales Yes you are XD
@randomsirwithalotofbananas9562
@randomsirwithalotofbananas9562 5 жыл бұрын
9/10 need more reply
@deggas3665
@deggas3665 5 жыл бұрын
Me asleep: ... KZbin at 4am: COME ONE COME ALL TO SEE THE AMAZING ASCII FLUID DYNAMICS!!!
@mono_si
@mono_si 5 жыл бұрын
it's 02:03 here
@arielpaulson9509
@arielpaulson9509 5 жыл бұрын
5:36 :p
@kanochoo1012
@kanochoo1012 5 жыл бұрын
litterly 4
@y__h
@y__h 5 жыл бұрын
midnight, damn youtube is getting more aggravating than duolingo.
@MudakTheMultiplier
@MudakTheMultiplier 5 жыл бұрын
And it's like 5 years old! Couldn't you have waited until morning?
@ashleybyrd2015
@ashleybyrd2015 3 жыл бұрын
This was the video that taught me about the existence of IOCCC, and I've never been the same.
@sean71300
@sean71300 5 жыл бұрын
The first ascii art, fluid.c not just used as a visual source for fluid simulation, it itself is the source code for the fluid simulation. The fluid simulation is basically simulating itself.
@numgun
@numgun 9 жыл бұрын
Would be pretty dope if you could have a firefox addon that makes all the text turn into fluid and flush it off the screen. : D
@hopsgno9790
@hopsgno9790 4 жыл бұрын
U mean chrome
@amazingajax2343
@amazingajax2343 4 жыл бұрын
@@hopsgno9790 lmao beat me to it
@happygimp0
@happygimp0 4 жыл бұрын
@@hopsgno9790 No, the old firefox or a clone of the old version that still gets updates, like Pale Moon.
@1cj
@1cj 4 жыл бұрын
why firefox though
@caleb_sousa
@caleb_sousa 4 жыл бұрын
Cool kids use firefox
@MAGNETO-i1i
@MAGNETO-i1i 9 жыл бұрын
better physics than BF4
@cecilokatrona
@cecilokatrona 7 жыл бұрын
LOL!! XDDDDDDD
@HoshinoMirai
@HoshinoMirai 6 жыл бұрын
Lol
@namelastname3772
@namelastname3772 5 жыл бұрын
@Shallex 2013... 8 minutes ago
@nirybiry
@nirybiry 5 жыл бұрын
@@namelastname3772 2019.... 8 minutes ago
@marios1861
@marios1861 5 жыл бұрын
@Shallex you're sad
@omarm.yousef
@omarm.yousef 3 жыл бұрын
i opened KZbin to watch something while eating and it ended me up watching this masterpiece
@OmegaMusicYT
@OmegaMusicYT 4 жыл бұрын
This guy after he completes the code: "YOU ARE NOW THE CEO OF C"
@symbally
@symbally 3 жыл бұрын
underrated comment xD
@DarkmoonUK
@DarkmoonUK 9 жыл бұрын
This is so beautiful I want to cry.
@tusharpandey6584
@tusharpandey6584 4 жыл бұрын
ok
@KingGrio
@KingGrio 3 жыл бұрын
In a way, I understand you. I'm sitting here figuring out why this isn't at least in an art museum
@marcossidoruk8033
@marcossidoruk8033 3 жыл бұрын
This is legit one of the best things I have ever seen
@KatzRool
@KatzRool 5 жыл бұрын
NO WAY HE ACTUALLY DID IT THE ABSOLUTE MADMAN
@varungandhi8796
@varungandhi8796 5 жыл бұрын
He did it 6 years ago lol
@ezioauditore7636
@ezioauditore7636 5 жыл бұрын
"They called me a madman"
@MCAlexisYT
@MCAlexisYT 4 жыл бұрын
r/madlads
@ProjectPhysX
@ProjectPhysX 2 жыл бұрын
If you think this is mad, how about this: I have written an ASCII fluid simulator for the terminal with 3D raytracing graphics and full color: kzbin.info/www/bejne/bWO5eHyfjLCAe7c
@Jombo1
@Jombo1 4 жыл бұрын
The KZbin algorithm recommending a video about another algorithm. The robots are taking over. This is a display of power.
@Blue-Maned_Hawk
@Blue-Maned_Hawk 5 жыл бұрын
KZbin seeing this video: 2013: meh 2014: meh 2015: meh 2016: meh 2017: meh 2018: huh 2019: PUT IT IN THE RECOMMENDED SECTION
@andrewfrangella
@andrewfrangella 5 жыл бұрын
You’re so original!
@nickjs5773
@nickjs5773 5 жыл бұрын
@@andrewfrangella I know right. I LOLed so hard when reading this comment. He is so smart and funny. If only we could be more like him.
@Blue-Maned_Hawk
@Blue-Maned_Hawk 5 жыл бұрын
@@nickjs5773 and @Digital, it is extremely difficult to determine if your're being sarcastic or not.
@DogsRNice
@DogsRNice 5 жыл бұрын
I remember seeing it a few years ago
@huey1153
@huey1153 5 жыл бұрын
Professor: “Build Basic tree ASCII Art This Guy: *”and god set let there be light!!!*
@CariagaXIII
@CariagaXIII 5 жыл бұрын
water
@jayant9151
@jayant9151 5 жыл бұрын
😂 cracked me up in tears
@ronylouis0
@ronylouis0 5 жыл бұрын
Said
@adolphineatingchildren2641
@adolphineatingchildren2641 5 жыл бұрын
@@ethicalcooking really, I'm not sure.
@ronylouis0
@ronylouis0 5 жыл бұрын
@@ethicalcooking that would mean nothing. "God said: let there be light"
@cygil1
@cygil1 10 жыл бұрын
Now this is art. By which I mean utterly brilliant in its pointlessness.
@RSK412
@RSK412 4 жыл бұрын
At first I'm like wow the logo is actually code?? Yes, but wait...THERES MORE! Serious work of art.
@MarlyTati
@MarlyTati 3 жыл бұрын
I see tiny people dancing and jumping along with the music and the code!! What a Piece of Art !!
@TehNoobiness
@TehNoobiness 5 жыл бұрын
me: "Oh, I guess I'll click on it--" video: *code is shaped to make an ascii-art logo for itself* me: "Oh, that's nice--" video: *turns that ascii art into a fluid* me: "whoa"
@JAzzWoods-ik4vv
@JAzzWoods-ik4vv 5 жыл бұрын
video: turns that ascii art into a fluid me: *confused screaming*
@jan_harald
@jan_harald 5 жыл бұрын
video: "here's ascii art code" video: **proceeds to compile the art code, and the run the code through it's own compiled version** me: _screams in modem code_
@tom7
@tom7 9 жыл бұрын
Super cool!
@blitz4099
@blitz4099 6 жыл бұрын
suckerpinch When's the next video?
@jademonass2954
@jademonass2954 4 жыл бұрын
no you cant jus- you- i-im i dont have words for this
@ThePlayerOfGames
@ThePlayerOfGames 4 жыл бұрын
What I love the most is the meniscus calculations
@RobinBaggett
@RobinBaggett 5 жыл бұрын
This is just beautiful. And set to Handel's music! Genius
@stephenowesney5173
@stephenowesney5173 3 жыл бұрын
Handel's water music
@Splatpope
@Splatpope 5 жыл бұрын
Ah yes, the ancient scriptures.
@benfrese3573
@benfrese3573 5 жыл бұрын
Amazing work, congrats. Music fits perfectly. Classic modern art.
@abdaroth
@abdaroth 5 жыл бұрын
No one : KZbin : Hey, wanna see some ASCII fluid dynamics ?
@massimookissed1023
@massimookissed1023 7 жыл бұрын
Just drink the water, Mr Anderson.
@johnjohn5932
@johnjohn5932 8 жыл бұрын
Some people just want to see the world code....
@laurinneff4304
@laurinneff4304 5 жыл бұрын
I would've liked, but it's at 69 likes right now
@ciarfah
@ciarfah 5 жыл бұрын
Laurin Neff First time seeing a comment like this where it's still at 69
@VenHayz
@VenHayz 5 жыл бұрын
PyreGnome Ay it’s 70 now, but I didn’t like it :’(
@destiny_02
@destiny_02 4 жыл бұрын
@@laurinneff4304 I took it to 96 lol
@BayLeafff
@BayLeafff 3 жыл бұрын
@@destiny_02 104 chiming in
@indeepjable
@indeepjable 4 жыл бұрын
A: Fascinate B: Noice C: I Am Geniunely Interested In This Stuff
@nandoneobh
@nandoneobh 3 жыл бұрын
You become to understand the greatness of that when you start trying to make your own models. This is pure art. Totally awesome!
@AgeofReason
@AgeofReason 5 жыл бұрын
*Press F to see this implemented in Temple OS. Terry smiles.*
@uy-ge3dm
@uy-ge3dm 5 жыл бұрын
F
@trinitron384
@trinitron384 5 жыл бұрын
F
@jwadaow
@jwadaow 5 жыл бұрын
F
@OmegaMusicYT
@OmegaMusicYT 4 жыл бұрын
Terry would create an even better version in like a week on stream and then talk about why he is the best programmer in the world
@victormponcec
@victormponcec 4 жыл бұрын
F
@GegoXaren
@GegoXaren 9 жыл бұрын
Well, suddenly I feel stupid... Nah, I feel stupid all the time.
@someoneyoudontknow106
@someoneyoudontknow106 7 жыл бұрын
*feel lol
@GegoXaren
@GegoXaren 7 жыл бұрын
someone you don't know Damn it... This phone...
@SteveSims
@SteveSims 4 жыл бұрын
Reminds of the olden days when I first had a ZX81 then the colour reminded me of a ZX Spectrum. Life was simpler back then...
@XoIoRouge
@XoIoRouge 3 жыл бұрын
Holy shit this is 7 years old and I've never seen this video? The ascii fluids, the water music, oh god I love this whole thing.
@baconinvader
@baconinvader 7 жыл бұрын
I'm going to go and change my pants now
@ivosu4936
@ivosu4936 7 жыл бұрын
RIGHT??? my jaw just droped on the ground
@kjamison5951
@kjamison5951 5 жыл бұрын
“You can’t animate fluid dynamics in ASCII…” “Hold my beer…”
@armynyus9123
@armynyus9123 4 жыл бұрын
the craziest part, the absolute insanity I find the source code. Just tried it, have it running here in the terminal after compiling this, without any non std linux lib: # include// .IOCCC Fluid- # # include //2012 _Sim!_ # # include //|||| ,____. IOCCC- # # define h for( x=011; 2012/* # # */-1>x ++;)b[ x]//-' winner # # define f(p,e) for(/* # # */p=a; e,p
@ProjectPhysX
@ProjectPhysX 2 жыл бұрын
HOLD MY BEER: I have written an ASCII fluid simulator for the terminal with 3D raytracing graphics and full color: kzbin.info/www/bejne/bWO5eHyfjLCAe7c
@criticalposts3143
@criticalposts3143 3 жыл бұрын
every year, when IOCCC rolls around, this man DELIVERS.
@beef633
@beef633 5 жыл бұрын
Nobody: KZbin: Here's a 6 year old ASCII fluid dynamics video love you youtube
@omgitsaheadcrab2409
@omgitsaheadcrab2409 5 жыл бұрын
but we're all here and impressed!
@przemysaw8241
@przemysaw8241 5 жыл бұрын
These fluid mechanics are better than in most games!
@muhammadnabil8637
@muhammadnabil8637 5 жыл бұрын
Prototype of NVIDIA FX Drivers
@jungoogie
@jungoogie 5 жыл бұрын
We have created the pinnacle of gaming evolution with this! Now Dwarf Fortress can truly shine.
@LegitToaster
@LegitToaster 5 жыл бұрын
While I see little to no practical use in this, I absolutely love it.
@bernatk
@bernatk 10 жыл бұрын
Extremely cool! It works on windoze too w/ MINGW.
@eksno
@eksno 3 жыл бұрын
Is the data stored as those ASCII characters or is a more accurate simulation generated from the input and the ASCII is a visualization of it? either way it's very impressive, well done!
@Maeve_Rose
@Maeve_Rose 7 ай бұрын
in case you are still interested. this is Obfuscated C the entire code is that logo. it uses various techniques to accomplish the simulation. Obfuscated C used to be, and perhaps still is, a competition to write code that is unreadable that does something interesting. there was one that was shaped like a donut that rendered a donut spinning in 3d space.
@Callie_Cosmo
@Callie_Cosmo 3 жыл бұрын
Knowing the internet this is probably the most advanced fluid dynamics simulator ever, like if someone plugged this into unity or something it would look absolutely indistinguishable from real liquid and also run at lightning fast speeds, but instead they hooked it up to ASCII text for a quick internet meme
@Brahvim
@Brahvim 2 жыл бұрын
Another comment somewhere stated how the simulation isn't accurate and that they were unable to get some basic fluid simulation tests to work as expected.
@ClainBill
@ClainBill 5 жыл бұрын
This is actually amazing
@ashlandwithouttheshd
@ashlandwithouttheshd 4 жыл бұрын
When your program has a “-pedantic” flag, you know it’s a good one
@ashlandwithouttheshd
@ashlandwithouttheshd 3 жыл бұрын
Oh I guess it’s a flag for gcc, not his program
@axkvs
@axkvs 3 жыл бұрын
what is pedantic
@tochka832
@tochka832 3 жыл бұрын
@@axkvs it's option in gcc compiler that specifies that code should be in C89 standart
@FriendlyHugo
@FriendlyHugo 10 жыл бұрын
Mind boggling! The simulation is a bit messy/glitchy, consider eg the hour glass, but I think it is too much to expect code this small to deal with what I'll call "edge case precision" for lack of knowledge of the proper terminology.
@jwadaow
@jwadaow 5 жыл бұрын
Hugo van der Merwe it looks like there were gaps in the vessel
@MOHIT2017SE
@MOHIT2017SE 3 жыл бұрын
Another masterpiece youtube had stored for me to show after 6 years
@DanielHaug
@DanielHaug 3 жыл бұрын
I don't know why this video got recommended to me, but it was worth watching.
@GreggGramatges
@GreggGramatges 10 жыл бұрын
EXTRAORDINARY!! This completely made my day.
@thomdushane
@thomdushane 10 жыл бұрын
Amazing.
@GreggGramatges
@GreggGramatges 10 жыл бұрын
thom dushane totally I couldn't believe it!
@jmalmsten
@jmalmsten 5 жыл бұрын
To quote the great thinker going by the name Reeves, K. Aherm... "Woah!"
@felixst-gelais6722
@felixst-gelais6722 5 жыл бұрын
Most ppl will never understant the true greatness of this video
@RED-jg6mt
@RED-jg6mt 3 жыл бұрын
this man's intellect surpasses my understanding
@charliexoxox
@charliexoxox 5 жыл бұрын
Me at the start: 😯 Me when the colours came in: 😧 Me when I realised the first example was the source code: 😵😵😵😵😵😵
@THExRISER
@THExRISER 5 жыл бұрын
So it's pixel fluids,but with text,impressive!
@symbally
@symbally 3 жыл бұрын
that is the most beautiful bit of code i have ever seen, jaw dropping effort and result
@Benny_Blue
@Benny_Blue 4 жыл бұрын
I would KILL for a non-obfuscated, well commented (and explained) copy.
@knagencjusz1958
@knagencjusz1958 5 жыл бұрын
when you dont want to learn 3D graphics
@matthewe3813
@matthewe3813 3 жыл бұрын
When you dive into OpenGL and your brain explodes
@ProjectPhysX
@ProjectPhysX 2 жыл бұрын
I have written an ASCII fluid simulator for the terminal with 3D raytracing graphics and full color: kzbin.info/www/bejne/bWO5eHyfjLCAe7c
@Bram06
@Bram06 9 жыл бұрын
I was sent here by a man in an incompetent heist crew
@DevangAcharya5
@DevangAcharya5 3 жыл бұрын
youtube recomondation it after 7 years to chill in 2020 outa nowhere. damn i love these.
@SVP-uy9qb
@SVP-uy9qb 5 жыл бұрын
There's even superficial tension... wow!
@SlamTheDragonPersonal
@SlamTheDragonPersonal 5 жыл бұрын
6 years later.... KZbin: *_lEts RecComEnD tHiS_*
@TheHoonShow
@TheHoonShow 5 жыл бұрын
My god this is true art
@BanriFerdinand
@BanriFerdinand 3 жыл бұрын
Nunca creí que el ASCII podría ser tan bello. Excelente vídeo
@plazmotech5969
@plazmotech5969 5 жыл бұрын
This brings me great joy
@seraaron
@seraaron 3 жыл бұрын
How advanced is this? Can it simulate a Pythagorean / self-siphoning cup for example?
@fashnek
@fashnek 3 жыл бұрын
Look up the endoh1 hint.html file from 2012 for details.
@SaftoRangen
@SaftoRangen 3 жыл бұрын
I don't think it can. I tried modifying pour-out.txt to resemble the mechanism of a Pythagorean cup, and the water stops flowing as soon as it levels out instead of being sucked down by the vacuum. Still, quite the impressive piece of code this is.
@homphysiology
@homphysiology 3 жыл бұрын
Wow so that code compresses all these equations en.wikipedia.org/wiki/Smoothed-particle_hydrodynamics into a few lines of code?
@redphoenix5772
@redphoenix5772 3 жыл бұрын
me: freaking out because out of a developers view this is so awesome my moms reaction after I showed the video to her: *_cOoL_*
@negulescuioanflavius4419
@negulescuioanflavius4419 3 жыл бұрын
Amazing. My eyes are crying of Joy with this artistic song
@TymexComputing
@TymexComputing 3 жыл бұрын
i was using asciiart, mplayer@asciiart and others already 20 years ago, IBM constructed the first 4K display around 15 years ago (dedicated to visualisation and ofc fluid dynamics) now i am watching this :) - i like the representation of fluid and container data also in ascii input format :)
@JaredEvans
@JaredEvans 10 жыл бұрын
Pretty cool!
@SteveLongo
@SteveLongo 10 жыл бұрын
Definitely cool!
@CoryMck
@CoryMck 5 жыл бұрын
_Uploaded in 2013..._ *Okay NASA, what's your excuse?*
@CoryMck
@CoryMck 5 жыл бұрын
@Drake Coldman this is more impressive than most of the things NASA has done. (other than spend money on inefficient space research, and lead the cold war pissing contest that was the space race).
@CoryMck
@CoryMck 5 жыл бұрын
@Drake Coldman "private project" Or Publicly funded science Pick one, can't be both. NASA satellites hasn't done anything for the Internet. They underpay their employees, and are inefficient for their scale. Many government agencies are efficient and make productive research. NASA is not one of them. NASA has made many import discoveries, but relative to their size and funding, not so much.
@forkify908
@forkify908 3 жыл бұрын
I have never been more impressed in my entire life…
@VaupellGaming
@VaupellGaming 3 жыл бұрын
Few people realise how beautifull this is..
@ChristopherNichols
@ChristopherNichols 10 жыл бұрын
BRILLIANT!
@kdotdevelopment6398
@kdotdevelopment6398 5 жыл бұрын
The most complicated scripts require the most simple graphics engines. Love it.
@CraftMechanicYT
@CraftMechanicYT 3 жыл бұрын
KZbin has brought us all here once again, 7 years later.
@bronin4231
@bronin4231 3 жыл бұрын
Amazing how you could represent so much with so little.
@channelwithnotopic
@channelwithnotopic 3 жыл бұрын
'little'
@DJstarrfish
@DJstarrfish 5 жыл бұрын
"The perfect programming language doesn't exi-"
@ChristianStout
@ChristianStout 5 жыл бұрын
Eat your heart out, Nvidia GameWorks.
@amaurydulaz1691
@amaurydulaz1691 5 жыл бұрын
Have you heard the music : Haendel Water Music ! That is very well with this programming sequence
@slipperylilbutterguy
@slipperylilbutterguy 3 жыл бұрын
I've had this in my recommendations for years glad I clicked on it
Coding Adventure: Simulating Fluids
47:52
Sebastian Lague
Рет қаралды 1,8 МЛН
But How DO Fluid Simulations Work?
15:12
Gonkee
Рет қаралды 374 М.
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 84 МЛН
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 20 МЛН
Кадр сыртындағы қызықтар | Келінжан
00:16
15 Sorting Algorithms in 6 Minutes
5:50
Timo Bingmann
Рет қаралды 24 МЛН
It's time for change, it's time for Linux.
10:53
DankPods
Рет қаралды 388 М.
epic conway's game of life
6:33
Rational Animations
Рет қаралды 5 МЛН
How we fit an NES game into 40 Kilobytes
12:04
Morphcat Games
Рет қаралды 3,5 МЛН
Coding Challenge 166: ASCII Text Images
22:42
The Coding Train
Рет қаралды 1,1 МЛН
Coding a Fluid Simulation with my Last 2 Brain Cells
4:24
Gonkee
Рет қаралды 425 М.
Non-Euclidean Worlds Engine
5:15
CodeParade
Рет қаралды 11 МЛН
Best tool to reveal holes - IOCCC 2018 endoh1.c
2:35
Yusuke Endoh
Рет қаралды 31 М.
17 - How to write an Eulerian fluid simulator with 200 lines of code.
12:05
Ten Minute Physics
Рет қаралды 293 М.
Can This Bubble Save My Life? 😱
00:55
Topper Guild
Рет қаралды 84 МЛН