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.
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)
@@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...
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.....
@@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.
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: ua-cam.com/video/72VGIiWKMEU/v-deo.html
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
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"
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_
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.
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
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.
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. 🤔
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......
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 UA-cam gets it out to pretty much everyone who has ever looked at that category.
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!"
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
HOLD MY BEER: I have written an ASCII fluid simulator for the terminal with 3D raytracing graphics and full color: ua-cam.com/video/72VGIiWKMEU/v-deo.html
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!
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.
Imagine showing this off in the 80s. That would blow everyone's mind! Imagine all the games with fluid dynamics that would be made after this. It would be like the 2000s with all the physics games trend, but earlier and with fluid dynamics.
I even got an idea: Submarine game where u steer submarine and avoid those bombs in water which are floating attached by chains. Bombs have bit delay, So you see water's pattern and then steer submarine.
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.
@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).
@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.
At first I was impressed. AND THEN I REALIZED THE INITIAL LOGO WAS THE SOURCE CODE.
This is art of the highest level.
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.
Oh shi- !
wow
Wait you're not shitting m-
IT EVEN HAS SURFACE TENSION!
Right? I was just about to type this! God this is so cool
OH. MY. GAWD.
No fluid sim without Surface Tensions
Ya
Let's see Paul Allen's ASCII fluid dynamics
Next, ASCII ray tracing light
not quite ascii, but heres raytracing in DOS:
ua-cam.com/video/N8elxpSu9pw/v-deo.html
@@joel5274 👍
Check out this ascii first person shooter tutorial ua-cam.com/video/xW8skO7MFYw/v-deo.html
Someone made a raytacer in desmos. So that's totally possible
@@lincolnsand5127 👍
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.
Is there any place to download or clone the c files for this?
@@lincolnsand5127 he left a link in one of his other videos: ua-cam.com/video/dQw4w9WgXcQ/v-deo.html
@@4.0.4 getting rick rolled in 2019... I can't belive it
@@lincolnsand5127 ioccc.org/years.html#2012_endoh1
@@lincolnsand5127
It's literally in the video.
The code compiles without warnings!
no warning with -Wall -pedantic options is awsome indeed
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)
Where did you guys learnt how to code ? You can do everything without warnings.
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)
fayson Obviously you can code without warnings. But its much harder to do with obfuscated C code
C code and baroque music, that must be the classiest thing ever.
Handel’s “Water Music”, if I’m not mistaken 😁
Yes, this video is sheer beauty.
This would make a fine addition to Dwarf Fortress
I mean, Dwarf Fortress already has some of the most advanced fluid dynamics in video games.
@@hazel-lainsnider1542 lol wut it's not much better than Minecraft
@@gracefool In terms of what? Minecraft's fluids are just based on source blocks. DF simulates water pressure.
@@lyncheatingdonut sure but it's still local grid-based, calling it fluid dynamics is ridiculous. It's not anything like real fluid.
@@gracefool Well yeah, it does work on a more abstract level for sure
1.5x speed + 144p, looks real!!
If you squint a bit
darren8221 1.75 speed
Thanks stranger
Ty
yeah, even better 2x
Command line is not suitable for GUI
Yusuke Endoh: hold my mouse
It's even possible to visualize 3D-Objects inside the shell.
@@KikatzuMusik and its possible to create virtual computer in minecraft but should we ?
@@neixene7742 please don't do it.
They will create Minecraft on Minecraft ;-;
@@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...
Japanese guys...
It's a crime this has only just been recommended to me six years after the fact...
Why the crazy youtube recommendations algorithm brought us all here once again!
ua-cam.com/video/8y9tlEQg-qk/v-deo.html
Me asleep: ...
UA-cam at 4am: COME ONE COME ALL TO SEE THE AMAZING ASCII FLUID DYNAMICS!!!
it's 02:03 here
5:36 :p
litterly 4
midnight, damn youtube is getting more aggravating than duolingo.
And it's like 5 years old! Couldn't you have waited until morning?
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.....
I'm 9 years late and still blown away
Oh god, I just got it...
Handel's WATER Music.
I hate you. 10/10 pun
It's not a pun.
you're slow
2 year old comment, guys. welcome to youtube recommendations
@@motherofallemails stfu he was here over 2 years before you
@@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.
The music - Fredrick Handel’s “water music”. Amazing.
Advanced and high quality 3D computer graphics:
"Am I a joke to you?"
have a reply
2 reply
Wow. Much reply. Thank
Espen Sales Yes you are XD
9/10 need more reply
NO WAY
HE ACTUALLY DID IT
THE ABSOLUTE MADMAN
He did it 6 years ago lol
"They called me a madman"
r/madlads
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: ua-cam.com/video/72VGIiWKMEU/v-deo.html
And here we all are.
Gathered by UA-cam's algorithm.
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
Can I like this comment, it had 69 likes
I'm not even mad
That's amazing
Welcome back to:
*Why Are These Videos In My Recommendations? Episode #109347*
You said it
Would you like to drink some code?
Yep
Fuck yeah hit me
Yes, I prefer ASCII.
@@pianojay5146 Oddly enough, I too prefer ASCII over H2O.
Gimme that juicy Kotlin!
i opened UA-cam to watch something while eating and it ended me up watching this masterpiece
This is so beautiful I want to cry.
ok
In a way, I understand you. I'm sitting here figuring out why this isn't at least in an art museum
This is legit one of the best things I have ever seen
This guy after he completes the code: "YOU ARE NOW THE CEO OF C"
underrated comment xD
Professor: “Build Basic tree ASCII Art
This Guy: *”and god set let there be light!!!*
water
😂 cracked me up in tears
Said
@@ethicalcooking really, I'm not sure.
@@ethicalcooking that would mean nothing. "God said: let there be light"
This was the video that taught me about the existence of IOCCC, and I've never been the same.
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
U mean chrome
@@hopsgno9790 lmao beat me to it
@@hopsgno9790 No, the old firefox or a clone of the old version that still gets updates, like Pale Moon.
why firefox though
Cool kids use firefox
The minimalism of ASCII art is still fascinating and intriguing.
better physics than BF4
LOL!! XDDDDDDD
Lol
@Shallex 2013... 8 minutes ago
@@namelastname3772 2019.... 8 minutes ago
@Shallex you're sad
This brings me great joy
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"
video: turns that ascii art into a fluid
me: *confused screaming*
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_
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
Now this is art. By which I mean utterly brilliant in its pointlessness.
The UA-cam algorithm recommending a video about another algorithm. The robots are taking over. This is a display of power.
Ah yes, the ancient scriptures.
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.
This is just beautiful. And set to Handel's music! Genius
Handel's water music
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
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.
*Press F to see this implemented in Temple OS. Terry smiles.*
F
F
F
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
F
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. 🤔
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......
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 UA-cam gets it out to pretty much everyone who has ever looked at that category.
U urself changed ur comment after an yr 😆
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!"
Your comment was from a year ago! Guess Google is still at it!
Just drink the water, Mr Anderson.
You become to understand the greatness of that when you start trying to make your own models. This is pure art. Totally awesome!
Some people just want to see the world code....
I would've liked, but it's at 69 likes right now
Laurin Neff First time seeing a comment like this where it's still at 69
PyreGnome Ay it’s 70 now, but I didn’t like it :’(
@@laurinneff4304 I took it to 96 lol
@@destiny_02 104 chiming in
At first I'm like wow the logo is actually code?? Yes, but wait...THERES MORE! Serious work of art.
Well, suddenly I feel stupid... Nah, I feel stupid all the time.
*feel
lol
someone you don't know
Damn it... This phone...
UA-cam seeing this video:
2013: meh
2014: meh
2015: meh
2016: meh
2017: meh
2018: huh
2019: PUT IT IN THE RECOMMENDED SECTION
You’re so original!
@@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.
@@nickjs5773 and @Digital, it is extremely difficult to determine if your're being sarcastic or not.
I remember seeing it a few years ago
no you cant jus-
you-
i-im
i dont have words for this
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.
“You can’t animate fluid dynamics in ASCII…”
“Hold my beer…”
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
HOLD MY BEER: I have written an ASCII fluid simulator for the terminal with 3D raytracing graphics and full color: ua-cam.com/video/72VGIiWKMEU/v-deo.html
A: Fascinate
B: Noice
C: I Am Geniunely Interested In This Stuff
Amazing work, congrats. Music fits perfectly. Classic modern art.
What I love the most is the meniscus calculations
When your program has a “-pedantic” flag, you know it’s a good one
Oh I guess it’s a flag for gcc, not his program
what is pedantic
@@axkvs it's option in gcc compiler that specifies that code should be in C89 standart
This... This is beautiful... I just started crying, then I show this to my friends and now we are all crying
I made a good decision coming to the newest comments and finding this
No one :
UA-cam : Hey, wanna see some ASCII fluid dynamics ?
I see tiny people dancing and jumping along with the music and the code!! What a Piece of Art !!
I'm going to go and change my pants now
RIGHT??? my jaw just droped on the ground
every year, when IOCCC rolls around, this man DELIVERS.
Nobody:
UA-cam: Here's a 6 year old ASCII fluid dynamics video
love you youtube
but we're all here and impressed!
Still better fluid simulation than in Cyberpunk2077 xD
To quote the great thinker going by the name Reeves, K.
Aherm...
"Woah!"
that is the most beautiful bit of code i have ever seen, jaw dropping effort and result
I was sent here by a man in an incompetent heist crew
We have created the pinnacle of gaming evolution with this! Now Dwarf Fortress can truly shine.
Super cool!
suckerpinch When's the next video?
Another masterpiece youtube had stored for me to show after 6 years
Me at the start: 😯
Me when the colours came in: 😧
Me when I realised the first example was the source code: 😵😵😵😵😵😵
I honestly think a computer running this in a loop should be displayed at the Louvre museum in Paris.
Prototype of NVIDIA FX Drivers
Few people realise how beautifull this is..
So it's pixel fluids,but with text,impressive!
youtube recomondation it after 7 years to chill in 2020 outa nowhere. damn i love these.
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!
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.
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...
me:
freaking out because out of a developers view this is so awesome
my moms reaction after I showed the video to her:
*_cOoL_*
While I see little to no practical use in this, I absolutely love it.
when you dont want to learn 3D graphics
When you dive into OpenGL and your brain explodes
I have written an ASCII fluid simulator for the terminal with 3D raytracing graphics and full color: ua-cam.com/video/72VGIiWKMEU/v-deo.html
Imagine showing this off in the 80s.
That would blow everyone's mind!
Imagine all the games with fluid dynamics that would be made after this.
It would be like the 2000s with all the physics games trend, but earlier and with fluid dynamics.
I even got an idea: Submarine game where u steer submarine and avoid those bombs in water which are floating attached by chains.
Bombs have bit delay, So you see water's pattern and then steer submarine.
The algorithm becomes sentient now and learns how to code. Edit: And what's it's first subject? PHYSICAL BODIES.
Amazing. My eyes are crying of Joy with this artistic song
How advanced is this? Can it simulate a Pythagorean / self-siphoning cup for example?
Look up the endoh1 hint.html file from 2012 for details.
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.
Wow so that code compresses all these equations en.wikipedia.org/wiki/Smoothed-particle_hydrodynamics into a few lines of code?
Nunca creí que el ASCII podría ser tan bello. Excelente vídeo
_Uploaded in 2013..._
*Okay NASA, what's your excuse?*
@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).
@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.
why would you simulate fluid dynamics with ascii? you're asciing for trouble
You're going into the pungeon!
It's not simulated in ascii (that doesn't make much sense), but rendered in ascii characters.
It's ... so beautiful 😢
6 years later....
UA-cam: *_lEts RecComEnD tHiS_*
I've had this in my recommendations for years glad I clicked on it
Pretty cool!
Definitely cool!
UA-cam has brought us all here once again, 7 years later.
The most complicated scripts require the most simple graphics engines. Love it.
Most ppl will never understant the true greatness of this video
"The perfect programming language doesn't exi-"
This is what the dwarfs see when their cave gets flooded.
ah yes... right after I dabbed.
UA-cam's recommendations are on point today.
just imagine this being in hacknet and having your rpg character being drowned in closed off room with proper ascii water physics
No one:
UA-cam: *wanna see water codes?*
thats truly magnificant
BRILLIANT!
It is 3AM, I'm alone in my new apartment, stoned, sitting in the center of a empty room, and watching this masterpiece from my recommendation.
Your life is indeed very sad.
Eat your heart out, Nvidia GameWorks.
this man's intellect surpasses my understanding
My god... This is 1 of 10 reasons I'll never become a software developer even though I know how to program in Java.
I would KILL for a non-obfuscated, well commented (and explained) copy.