@@2lillyboo look bro coding isn't hard when you know what to do . But if you are lazy, you won't make it anywhere. It's also a time-consuming process. You should not give up and push no matter what . And you will succeed before you realize.
Can you please tell what just happened in this video......actually I don't know much about coding but I m going to persue career in cse...so I m curious to know....
@@anonimodas45 when you make a Syntax mistake or misspell something, basically any error in the code will be reported by a “flag” when you try to run it but it fails.
Maturity is when you realise copying code from somewhere into your existing project is way difficult than writing your own. Like if you understand someone's code without comments or anything, something that was difficult for you to write. Then you're already a great programmer.
@@maxwellsv ayoo fam. He's asking about which channels to refer or which websites to start learning. You literally said Learn online when he asked how to learn online💀💀💀. Btw if you know some websites or channels tell me
@@raghavkhulbe4493i don't know how coding works But pretty sure its difficult to create the spinning donut by coding it or something. What blender is anyway? Drawing stuff or 3D stuff?
@joshuavictor3036 C is an ancient language where you have to write almost everything from scratch cuz it doesn't a lot of libraries to import functionalities from
@@parv09955 you would be surpised how many times I have run my script without saving and thinking WHAT THE HELL WHY DO I GET THAT ERROR AGAIN? continue to search for another solution for 3 hours, then you see the little white dot next to the file and it hits you... YOU HAVENT SAVED the CODE FOR THE LAST 6HOURS.... true story!
It's not that hard I would say. (I'm probably very wrong here) 1. get torus equation, rotate/scale/translate 2. translate to view space 3. each pixel: send ray to intersect with torus, check if hit surface point normal points backward or forward (ignore if backward), grayscale shade (phong/gouraud), store with zbuffer 4. lookup (pregenerated) grayscale value into ascii lookup table of rising luminance value (character surface area/block). Probably only use a few characters to decrease flickering. 5. Print
I expected a lint error at the end, followed by a “oh wait let me fix it real quick”. This is what usually happens when I want to present my code to dad.
He ain't a hacker tbh you don't even know what it is to be one software development is an entirely different thing from being a full fledged cyber security specialist a hackers knows everything some even know how to code malwares and this guy our here making fuckin donuts ain't a hacker at all
@@aniketsrivastava1870 chill bro, it's not that deep. I was just making a joke, I know he's not a hacker. Besides the whole video is humor, there is absolutely no need for you to be searching through a comedic short looking for random people to hate on from behind your phone screen. One of the biggest rules on the internet is to never take anything personally, because more than 90% of the people on here hardly even know you, let alone have anything against you.
You cannot imagine how long this took and how much code it has, For him to make this is incredible, He made a dynamic 3d render of a donut in COMMAND LINE, Damn.
Meh, depending on how reusible the rasterizer is, it's probably not that much code. Just assign certain lighting intensities to characters with a bigger surface and you get the result. If you properly encapsulate the math it's also not that hard since you don't really need to fully understand the math just implement it. The only real thing you need to know is vectors and some basic matrix math (google ot a book is your friend here)
I was just thinking something like this and you put it into exact words....therefore I'm sure there are a lot of lines of code, nevertheless I didn't think it was possible to create graphic images in command line; command line has its pros and cons
I used 36 GB RAM to do LCS on two strings in python using recursion in my university's server system. Umm tbh I don't even remember if it was 36 GB or much higher than that xD
😇❤️😇 ❤️ In the Quran, Surah Baqara (Chapter of the Cow), Ayah (verse) 255 is very beautiful and special : Allah, there is no god except He اللّهُ لاَ إِلَهَ إِلاَّ هُوَ the Ever Living, the One Who sustains and protects all that exists الْحَيُّ الْقَيُّومُ Neither slumber nor sleep overtakes Him لاَ تَأْخُذُهُ سِنَةٌ وَلاَ نَوْمٌ To Him belongs all that is in the heavens and the earth لَّهُ مَا فِي السَّمَاوَاتِ وَمَا فِي الأَرْضِ Who is he that shall intercede with Him except by His permission مَن ذَا الَّذِي يَشْفَعُ عِنْدَهُ إِلاَّ بِإِذْنِهِ He knows what will be before their hands and what was behind them يَعْلَمُ مَا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ while they encompass nothing of His knowledge save what He will وَلاَ يُحِيطُونَ بِشَيْءٍ مِّنْ عِلْمِهِ إِلاَّ بِمَا شَاء His Seat embraces the heavens and the earth وَسِعَ كُرْسِيُّهُ السَّمَاوَاتِ وَالأَرْضَ and He feels no fatigue in guarding and preserving them وَلاَ يَؤُودُهُ حِفْظُهُمَا And He is the Most High, the Most Great وَهُوَ الْعَلِيُّ الْعَظِيمُ 😇❤️😇❤️😇❤️😇❤️😇
6 months later... Me: ...it's finally working! I just merged the branch into main. Boss: Oh we decided to just pull that feature, the client decided they didn't want it. Can you take it out. Me: No. It's too late, I forgot how to use git to undo my last merge, sorry, they'll just have to live with the feature existing. Boss: I can have John remove it, so you can focus on other things if it's too much work... Me: Noooo have mercy on my baby, he was just born and he deserves to live! Boss: *dragging me away from the terminal*
@@xara2599 ya , but that different from python import , also even if u include a library in c++ u'll write too much enough of codes , its not simplified as python
I'm a programmer of some apps and I appreciate this, it's amazing! Normal people who don't know computer programming would say it's just a "DAMN ROTATING DONUT!" 😁🤓
This is literally my cousin, one time he was so excited telling me to come over his room, I asked what's up and he said "So I'm gonna use your picture to put it in a cube!" And I was like "...alr, show me." And so my picture was ON a cube, ON each sides. So I asked him if he slept last night or not, he makes me worried sometimes, smh.
i just started learning coding a month ago and i can put ur picture in a cube and even give it some animation 😅 no offence but ur cousin need to chill EDIT: Guys chill i already realised i dont know hes cousin age, and no matter how old is he. He can be proud and excited as much as he wants. It was never my intention to say im against that. Chill 😅
@@hakoom7 you don’t know his age. I also can do it after one month but I have a teacher and I’m not 14 or 16. Everybody can be proud of himself if they want
It's actually not that hard. You convert the animation into separate sprite images. Let's say it comes down to 50 images. Then you just have to display those images. It's not the best way to do this and might take a few days or weeks but it's still easier than making an algo for the output.
To people with no graphic coding experience this may seem silly. But coding a simple rotating wireframe cube from scratch requires ample math knowledge like vector transformation and matrix multiplications, as well as low level programming knowledge on how to communicate with CPU/GPU. It literally takes years to take full grasp of it. Anyone, can download 3D Engine and make random 3D scene by just clicking on the icons, but only few people in the world can make 3D engine.
I actually find it incredible. I simply love those programs that create images out of characters, it’s so nice and you learn a lot about how graphics work
well… yes and no… there's been games that ran in DOS in early 90s and used text for graphics like that. Not sure I've seen a 3D game like that but you get the point.
@@vivvpprof 😇❤️😇 ❤️ In the Quran, Surah Baqara (Chapter of the Cow), Ayah (verse) 255 is very beautiful and special : Allah, there is no god except He اللّهُ لاَ إِلَهَ إِلاَّ هُوَ the Ever Living, the One Who sustains and protects all that exists الْحَيُّ الْقَيُّومُ Neither slumber nor sleep overtakes Him لاَ تَأْخُذُهُ سِنَةٌ وَلاَ نَوْمٌ To Him belongs all that is in the heavens and the earth لَّهُ مَا فِي السَّمَاوَاتِ وَمَا فِي الأَرْضِ Who is he that shall intercede with Him except by His permission مَن ذَا الَّذِي يَشْفَعُ عِنْدَهُ إِلاَّ بِإِذْنِهِ He knows what will be before their hands and what was behind them يَعْلَمُ مَا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ while they encompass nothing of His knowledge save what He will وَلاَ يُحِيطُونَ بِشَيْءٍ مِّنْ عِلْمِهِ إِلاَّ بِمَا شَاء His Seat embraces the heavens and the earth وَسِعَ كُرْسِيُّهُ السَّمَاوَاتِ وَالأَرْضَ and He feels no fatigue in guarding and preserving them وَلاَ يَؤُودُهُ حِفْظُهُمَا And He is the Most High, the Most Great وَهُوَ الْعَلِيُّ الْعَظِيمُ 😇❤️😇❤️😇❤️😇❤️😇
"display: flex" on the parent and "margin: auto" on the element you want centered. Literally 2 lines of css, now the internet joke is ruined forever. Thank me later ;)
I have a friend who did this in x86, made three 3-Dimensional shapes with non-projected surfaces rotating around their center, I saw the code, he wrote EVERYTHING in vectors within arrays, absolute madlad.
Programming is an art and you can recognize a person's way of coding. At the beginning of my studies we had a competition, we had to rotate a square around its axis, the codes ranged from 10 to 82 lines.
@@dcabfrprogramming is art but if you're doing it purely for the art side of it you're not gonna be much successful. Mixing the artistic side with a project idea that can make money is the way to go
It's hilarious that this is actually true. Printing an animated shaded 3D ascii art donut to the console is not at all a trivial feet and would indeed take a few years of practice both in programming and in mathematics to accomplish. It's the sort of thing an older teen/early 20-something could easily get obsessed with. At the same time, non-programmer folks will just see you as a stark raving mad lunatic for spending so much time on it.
I was in fact that early 20 year old that got obsessed with a proamming project for class. I overdid the project and told the teacher I was just having too much fun. I'm just glad it didn't take me two years to do lmao
The world needs people like this tho too lol. Couldn’t have the world how it is without this. Imagine billions of people buying sports game tickets without the internet And websites. That ain’t happeniny
@@syd_ney3731ChatGPT can only do that because the code was already on github to begin with, which it was trained on. There are many programming problems it utterly fails at.
Lol yeah when i code sometimes i get so into it and even though i need to eat and feel weak , i tell myself im not leaving until its finished, but eventually get off :)
@@rudrakaushik1735 the guy coded a program which shows a rotating ASCII donut. He made an animated donut which is drawn using text characters. This is complicated because it involved geometry maths to rotate and draw the 3D stuff and to convert it to text characters.
@Amit it's cpp code just compile it and name it file something like "Windows optimizer" or any other tool then after compiling run the .exe file & then it will open your default browser and play Rick roll video (tip: upload rickroll video from your yt channel and then rename video title to any other title like "how to optimize windows" then copy video link and replace it in code) 👍
Dude that's honestly amazing, 3D MOVING donut is every coder's dream😭. If you did it with python or some other language and not blender then I have like a different level of respect, great job man
@@odiio3402lol is not blender, that's an actual program of a rotating torus (donut) it's actually an mathematical computation to generate a sequence of code, watch his full channel
Insanely hard? I think it’s impossible… without basically just drawing each frame in ascii if thats a model thats somehow being converted into an ascii image you’d either need to make some ai for displaying photos as ascii or I literally have no idea how else it would be possible.
@@poogle9368 Look up the Spinning Cube video by Servet Gulnaroglu. It is absolutely possible to print out the chars correctly without drawing each frame. He programs a spinning cube after taking a Linear Algebra class and some studying. If it can be represented in a mathematical form, I don’t see how it couldn’t be represented on any capable programming language. This is one of those projects that aren’t particularly useful in any way but are a test for one’s programming and mathematical skills.
as a coder, I think the message about the fact that something seemingly small and insignificant can have a lot behind it, a lot of time and effort. the point is, people don't see it.
I am not a programmer but what I would have done to recreate this is 1. Create a 3D array and store donut shape in it. 2. Then apply a matrix rotation formula to rotate my camera viewport around it. 3. Then to project it on screen use raytrace algorithm on it from camera position using resolution of number of characters I am using it to print on screen 4. And while projecting on screen to shade it I will trace same ray to the light position and use low density character like (.) for darker shade and high density character like(@) for lighter shade.
@@captainvenom7252 yeah i know you get a lot of stuff from openGL, but you still need the same level of knowledge of maths and even more in programming to make sure there's no memory leaks . And I'm not talking about "in the game engine", I'm talking about building one from scratch.
isn't the "Hello, World" equivalent of game engine developers a triangle? cause a spinning doughnut is significantly tougher than rendering a simple triangle.
You don't have to be a chef to understand the amount of time and effort a chef put into the food you ordered. Just looking at the insane logic being used shows how impressive this really is.
Just couldn't help That donut is absolutely mesmerising The contour The shading Right use of symbols And countless formulas😍😍😍😍 How did one can achieve that 🤩🤩🤩🤩
That is simply a masterpiece, the donute it just... Portrayed everything. So beautifully detailed and difficultly made. You've really outdone yourself, absolute work of art 😫
Full video on Joma Tech channel
Why am i the only one here? Is anyone there? WAIT WHAT IS THAT... RUN JIMMY RUN
Yea I Was Also Thinking About Tha.....
Should've pinned the link here!
Please post the video link in this comment
whats the name of the video??
"You get paid right?"
"You get paid...... right?"
😂😂😂
Yah by fuckin dunkin???
Bro got paid by Sonic The Hedgehog
you guys are getting paid?
* insert padme meme template *
“Did you do it?”
Yes.
“What did it cost?”
Everything.
*all of my time*
*10 years of my life*
1k like bud.
th-cam.com/users/shortsCckqew0gTjw?feature=share
Wth...4k likes and 4 comments...
People who never learned coding won't know how magnificent that is!
well, I'm a SE, I coded shit ton of torus when I was younger and I still don't get it lmao
I wanna learn 😢
Just imagine somebody gave you a assignment to find logic to make that. @@nico7674
@@kc-ox3qoif you want to have a life dont do it
Is more nice know the fact of the code looks like a donut too
10 years of coding,
11th year Random ad:
'"A.I CAN DO THIS IN ONE CLICK''
And it'll take you 30 years to debug the code 😂
😂😂
@@ThorOdinson1269 it'll do better in the future 😂 we all gonna be unemployed 😂😂😂
🤣🤣🤣🤣
@@ThorOdinson1269not with good prompts it won't
Imagine if it just printed "Hello World"
Spinning Hello World
That's exactly what I thought!!
😂😂😂
That would've been so funny 😂
LOL
Others : It's just a donut
Coders : insane 🔥
Donut? Nah. That's a perfect torus 😍
No its insane
But it's actually insane you know
pov :- he not a programmer either
Me not a code,but have dabbled:.
..😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲😲
Twist: after 10 yrs of continuous coding it displayed: _Error at line 5_
What! I'll just go crazy.
😂😂 😂 I'll throw my pc out the window
Then you fix the error and now it's on line 6. You fix that, line 8, etc. Life as a coder is fun :D
This is the pain that I have to face when I make my os
@@nersha8472 morden problems requires modern solutions 😆😆😆
Littrly every programmer: " _totally worth it_ "
Agreed.
Yes
Is coding hard? I thought about gonna take cse as a major...but I'm afraid now😢
@@2lillyboo look bro coding isn't hard when you know what to do . But if you are lazy, you won't make it anywhere.
It's also a time-consuming process.
You should not give up and push no matter what .
And you will succeed before you realize.
@@st_ishan_will_help which coding language should I learn first? And can you give me some tips about how I can learn a language fast?..
Other Coders: "imma gonna ctrl C ctrl V this man's whole career"
ctrl+C ctrl+V*
@@tristan_840 ratio 🖕🖕🖕😊
Whole career indeed
@@tristan_840 You would have a name like Tristan
@@liisahmanni agree
Was low key expecting "error" or something like that.
That was insane
Segmentation fault (core dumped)
I was expecting "Hello world!" lol
Syntax
I expected a ball bouncing around the screen
Can you please tell what just happened in this video......actually I don't know much about coding but I m going to persue career in cse...so I m curious to know....
Bro compiled his code with no flags, i wish to have this kind of self confidence 💀
never bro🥲
Just started coding. Dont even know what u mean lol
@@anonimodas45 when you make a Syntax mistake or misspell something, basically any error in the code will be reported by a “flag” when you try to run it but it fails.
It would have even more funny if that happened😂 ten years of coding and still gets syntax error editing one line
Bruh, I lowkey expected a syntax or logical error before anything remotely cool happened...
The cinematic vibes is crazy
I was expecting an error 😂😂
Me to
Me too😅😂😂😂
we have enough errors in real life, lets enjoy some fiction movies XD
Most underrated comment
Me tooo
When he was typing out the gcc command I honestly thought it was going to throw a compile error lmao
Sameeee
Me tooo
Level code được cái bánh rán xoay này mất bao lâu v bạn
Same here 🤣
And he's using vim 🤣🤣
“I got bored one day and put everything on a bagel”
Is this a line from a movie?
Everything everywhere all at once 😂
Sucked... Into.. a baaaaaageeel
I gotta admit, that comment is pretty funny.
@@Damian.30_d that movieeee hahahahaha
My heart skipped a bit at the last moment when I thought it's gonna have an error 😭😂🌍
I was expecting "Hello World"
😂
Hello world in Objective-C
🤣
🤣🤣🤣
😂😂😂😂
“Ctrl+c and ctrl+v” is a programmer’s best friend
I thought: format c:\
I am a legitimate programer now i guess
Maturity is when you realise copying code from somewhere into your existing project is way difficult than writing your own.
Like if you understand someone's code without comments or anything, something that was difficult for you to write. Then you're already a great programmer.
@@AdityaKumar-op5zc you can execute the code line by line and check what's it's doing... Modify as per your requirements
You can't use Ctrl+v
“you spent 10 years on that?”
“nope, 4 months on that”
“what? why did you take so long then”
“9 years and 8 months on bugs”
I think he meant 10 years of coding experience, not just 10 years on this project
This comment is so underrateddd
@@jorian_meeuse emotional damage ..........
@@shivankchauhan6256 AAAAAAAAAAAAAAAAAAA
Spend another 10 years for optimization and unit tests
The cinematography bro😫👌🏻
Only a coder can realise thats fucking hard
You definitely do not know how to code.
bro "hard" isn't gonna define it
@milk guy there's no count
It's "a coder" not "an coder"😁😁
@@niranjanbabu.j1515 introducing grammarly
Me who is learning how to code: damn looks crazy cool
Hey can you please tell me how to learn cooding online
@@amiraislammomo1872 learn online
Same that crazy
@@maxwellsv ayoo fam. He's asking about which channels to refer or which websites to start learning. You literally said Learn online when he asked how to learn online💀💀💀. Btw if you know some websites or channels tell me
@@anuragmeshram4323 yea I want to learn it but I don't know how.
You don't even need to understand coding to realise that this is masterpiece
i can make that thing with better graphics in blender L
@@raghavkhulbe4493i don't know how coding works But pretty sure its difficult to create the spinning donut by coding it or something.
What blender is anyway? Drawing stuff or 3D stuff?
@@raghavkhulbe4493Blender isnt coding L
@@nul1f13d8 ik im just saying that i can make better donut in less time L
@@raghavkhulbe4493that’s not the point. Coding is an entirely different art with in itself.
The fact that he did it in C 😂
please explain
@joshuavictor3036 C is an ancient language where you have to write almost everything from scratch cuz it doesn't a lot of libraries to import functionalities from
@@joshuavictor3036 The Bible was originally written in C and was later translated for mere humans
In python you can do this with "from donuts import rotating_donut"
"Shit I forgot to save"
_Famous last words_
ctrl+s
Lol, you can't run a code without saving it first.😅
@@parv09955 you would be surpised how many times I have run my script without saving and thinking WHAT THE HELL WHY DO I GET THAT ERROR AGAIN? continue to search for another solution for 3 hours, then you see the little white dot next to the file and it hits you... YOU HAVENT SAVED the CODE FOR THE LAST 6HOURS.... true story!
@@parv09955 Now if your source code gets wiped off the face of the earth thats another thing entirely.
😂😂 yup
only us coders can understand this 3D moving donut emotion
copy paste it is easy
@@shaimac9796 copy paste is easy, but doing it youself is damn
@@parasagarwal7248 yepp it's like Steroids vs natural body.........
@@krishchurasia681 ya pain in the @ss
@@ANR1122 everyone laughed about chat gpt until it came for them..
Blender Donut? Nah, we got the programmer's donut
Was thinking about the same thing 😂😂😂😂😂
Need a tutorial on this (+_+)
Sir thaf juat doom or bad apple
A.I. does it in 2 seconds.
@@anoynmanonymous8304lmao you’ve never used ai, will never be better then us
It's not that hard I would say. (I'm probably very wrong here)
1. get torus equation, rotate/scale/translate
2. translate to view space
3. each pixel: send ray to intersect with torus, check if hit surface point normal points backward or forward (ignore if backward), grayscale shade (phong/gouraud), store with zbuffer
4. lookup (pregenerated) grayscale value into ascii lookup table of rising luminance value (character surface area/block). Probably only use a few characters to decrease flickering.
5. Print
"it's not that hard"
>4 points of arcane sorcery
Well yeah it is basically raytracing on the command line. But the question is where do you put the light source 😂
I expected a lint error at the end, followed by a “oh wait let me fix it real quick”. This is what usually happens when I want to present my code to dad.
SAME
Same but I was expecting more of "a syntax that gives you no insight on what broke""
😂😂😂😂
It compiled first try, which means there's definitely a bug in there somewhere
Damn, how does this not have many more likes? 😂
Hackers in movies vs hackers irl 😂
Hackers in movies:
"Omg I saved the world"
Hackers irl:
"Omg I made this 3d donut that rotates"
He ain't a hacker tbh you don't even know what it is to be one software development is an entirely different thing from being a full fledged cyber security specialist a hackers knows everything some even know how to code malwares and this guy our here making fuckin donuts ain't a hacker at all
@@aniketsrivastava1870 chill bro, it's not that deep. I was just making a joke, I know he's not a hacker. Besides the whole video is humor, there is absolutely no need for you to be searching through a comedic short looking for random people to hate on from behind your phone screen. One of the biggest rules on the internet is to never take anything personally, because more than 90% of the people on here hardly even know you, let alone have anything against you.
@@mericanmade9843it's too much for him because it need 356 words to make a single dot on the donut
@@aniketsrivastava1870 Well Software development is the start of hacking kinda no need to be mad at him fellow brother in code
You cannot imagine how long this took and how much code it has, For him to make this is incredible, He made a dynamic 3d render of a donut in COMMAND LINE, Damn.
Meh, depending on how reusible the rasterizer is, it's probably not that much code. Just assign certain lighting intensities to characters with a bigger surface and you get the result. If you properly encapsulate the math it's also not that hard since you don't really need to fully understand the math just implement it. The only real thing you need to know is vectors and some basic matrix math (google ot a book is your friend here)
I was just thinking something like this and you put it into exact words....therefore I'm sure there are a lot of lines of code, nevertheless I didn't think it was possible to create graphic images in command line; command line has its pros and cons
Yes I agree I was tried this type with my friend we are only able to make the shapes but we are unable to move that like him
@@Flegado will see this and say meh
@@Flegado Man you make it sound so easy, how about you write a Gist to show us how it's done within one day ?
I was half expecting it to crash
Most realistic part: using a $2500 computer to access vim
I used 36 GB RAM to do LCS on two strings in python using recursion in my university's server system. Umm tbh I don't even remember if it was 36 GB or much higher than that xD
I use a fire 8 amazon tablet
TH-cam asked me how should I rate your comment lol
Well even i am doing it so ... Yes . Bought it for gaming and now University is giving me no time to game on it. :-(
@@zenithchan1646 where you live?
So this is what gta6 developers doing .
The whole game renders in ascii with RTX using only the CPU.
Dam your beat me to it.
They using a game engine that has built in everything
@@TalynStormcrow 😂😂
No😂
If they choose to code like this you'll never see GTA 6 in next 200 years😂
"let me finish this up real quick"
(3 hours later)
"alright almost done"
😇❤️😇 ❤️ In the Quran, Surah Baqara (Chapter of the Cow), Ayah (verse) 255 is very beautiful and special :
Allah, there is no god except He
اللّهُ لاَ إِلَهَ إِلاَّ هُوَ
the Ever Living, the One Who sustains and protects all that exists
الْحَيُّ الْقَيُّومُ
Neither slumber nor sleep overtakes Him
لاَ تَأْخُذُهُ سِنَةٌ وَلاَ نَوْمٌ
To Him belongs all that is in the heavens and the earth
لَّهُ مَا فِي السَّمَاوَاتِ وَمَا فِي الأَرْضِ
Who is he that shall intercede with Him except by His permission
مَن ذَا الَّذِي يَشْفَعُ عِنْدَهُ إِلاَّ بِإِذْنِهِ
He knows what will be before their hands and what was behind them
يَعْلَمُ مَا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ
while they encompass nothing of His knowledge save what He will
وَلاَ يُحِيطُونَ بِشَيْءٍ مِّنْ عِلْمِهِ إِلاَّ بِمَا شَاء
His Seat embraces the heavens and the earth
وَسِعَ كُرْسِيُّهُ السَّمَاوَاتِ وَالأَرْضَ
and He feels no fatigue in guarding and preserving them
وَلاَ يَؤُودُهُ حِفْظُهُمَا
And He is the Most High, the Most Great
وَهُوَ الْعَلِيُّ الْعَظِيمُ
😇❤️😇❤️😇❤️😇❤️😇
@@IBRAHIM-FAS-City nobody asked
@@Taaarrtagggg
😇 I know this, where is the problem?
why are you afraid ?
@@IBRAHIM-FAS-City there's no problem
@@Taaarrtagggg
😅 So don't blame me for a comment that's no problem, thank you ❤️
We need a whole serie about it
"let me just finish up real Quick"...
16 hours later
I thought it was going to take him way longer after he said that as well. 😂
what I say to my boss at least three times a damn week.
I swear
This is most development situation 😅
6 months later...
Me: ...it's finally working! I just merged the branch into main.
Boss: Oh we decided to just pull that feature, the client decided they didn't want it. Can you take it out.
Me: No. It's too late, I forgot how to use git to undo my last merge, sorry, they'll just have to live with the feature existing.
Boss: I can have John remove it, so you can focus on other things if it's too much work...
Me: Noooo have mercy on my baby, he was just born and he deserves to live!
Boss: *dragging me away from the terminal*
"Congratulations you Donut !"
-Gordon Ramsey
🤣🤣🤣
" I am a doughnut "
Now f# off.
- Gordon Ramsey -
It's actually f***ing amazing.
He didn't link nor import anything
That's not python lol
Savage lol
@@ABDO10_DZ he could use a graphic library even in c/c++
@@xara2599 ya , but that different from python import , also even if u include a library in c++ u'll write too much enough of codes , its not simplified as python
@@ABDO10_DZ It's more difficult than Python, but I fell in love with its syntax
The text "why me" on the wall 😂😂
😂😂
i actually thought it was just going to be “ERROR” at the end
Lol me too
th-cam.com/users/shortsCckqew0gTjw?feature=share
Any programmer would've expected "Segmentation fault (core dumped)".
@@shambhav9534 this is exactly what I was expecting as soon as I saw it's in C.
Same lmao
I'm a programmer of some apps and I appreciate this, it's amazing! Normal people who don't know computer programming would say it's just a "DAMN ROTATING DONUT!" 😁🤓
🤣thats very hard I've done bouncing ball😊
What do you mean "normal people"?
@@Anon221BC who don't code bruh
oh i thought it was a joke, is this actually hard to program?
@@volkova6209 very dificult yes but not impossible
This is literally my cousin, one time he was so excited telling me to come over his room, I asked what's up and he said "So I'm gonna use your picture to put it in a cube!" And I was like "...alr, show me." And so my picture was ON a cube, ON each sides. So I asked him if he slept last night or not, he makes me worried sometimes, smh.
i just started learning coding a month ago and i can put ur picture in a cube and even give it some animation 😅 no offence but ur cousin need to chill
EDIT: Guys chill i already realised i dont know hes cousin age, and no matter how old is he. He can be proud and excited as much as he wants. It was never my intention to say im against that. Chill 😅
@@hakoom7 you don’t know his age. I also can do it after one month but I have a teacher and I’m not 14 or 16. Everybody can be proud of himself if they want
@@Corapaslemagasin true
The answer to your question to him: no, he did not sleep last night. Lmao happens pretty frequently when an engineer works on a passion project.
Like the Better Call Saul meme?
I thought bro created GTA 6😅😅
This is actually incredibly complex to code, I can’t imagine how long it took in reality to do that
There's a version of this code that the code itself is a donut too
the difficulty is not the coding, but the math
It's actually not that hard. You convert the animation into separate sprite images. Let's say it comes down to 50 images. Then you just have to display those images. It's not the best way to do this and might take a few days or weeks but it's still easier than making an algo for the output.
I did something similar to this in Py and it took me around a month and a half.
it depends how it is implemented. when I was 10 I made a animated ASCII Nyan Cat that is about as complex a task as donut.c
people don’t understand true terminal art
Its called ASCII art, not terminal art 😅
@@takingthethingyabove who cares
@@crowley2158 people who want to use right terminology to not get into stupid situations where their interlocutor misunderstands them?...
@@takingthethingyabove my bad
@@takingthethingyabove it's ASCII art inside of he terminal, so it's still terminal art.
"Sometimes to confuse the enemy, one must confuse themselves first."
*Art of War - Confused Sun Tzu*
"Art of What. "
@@Jurozaitenunderrated reply 😂
@@Jurozaiten💀💀💀💀💀
" I didn't say that shit "
-sun tzu
This is why people are homeless or in jail they are challenging themselves
We need a full JavaScript course
Others : what your 10 years experience in coding looks like ??
Me : A donut
YOU GOT THE JOB !
Erm, acktually, it’s a torus 🤓🤓
a phrase with a double meaning?
To people with no graphic coding experience this may seem silly. But coding a simple rotating wireframe cube from scratch requires ample math knowledge like vector transformation and matrix multiplications, as well as low level programming knowledge on how to communicate with CPU/GPU. It literally takes years to take full grasp of it.
Anyone, can download 3D Engine and make random 3D scene by just clicking on the icons, but only few people in the world can make 3D engine.
In addition this has lighting, there's a light source. This is the ADVANCED shit.@@StarFury2
i thought it was gonna be some stupid sketch..... but that was actually insane 🍩🍩🍩🍩🍩
edit: sorry to be one of those people.. but, MOM, I'M FAMOUS
Or a HELLO WORLD 🤣
Nahhh ... It's a java script program..
@@know_english_russian__sanskrit nope it's C language
What was that?
@@raBLar Its a sarcasm
I actually find it incredible. I simply love those programs that create images out of characters, it’s so nice and you learn a lot about how graphics work
That's beginner level :D
I did full color video in console with C++: th-cam.com/video/tehGAbRB-sw/w-d-xo.html
Bro, that's actually really impressive
You guys do realize how incredible this is, right?
well… yes and no… there's been games that ran in DOS in early 90s and used text for graphics like that. Not sure I've seen a 3D game like that but you get the point.
@@vivvpprof
😇❤️😇 ❤️ In the Quran, Surah Baqara (Chapter of the Cow), Ayah (verse) 255 is very beautiful and special :
Allah, there is no god except He
اللّهُ لاَ إِلَهَ إِلاَّ هُوَ
the Ever Living, the One Who sustains and protects all that exists
الْحَيُّ الْقَيُّومُ
Neither slumber nor sleep overtakes Him
لاَ تَأْخُذُهُ سِنَةٌ وَلاَ نَوْمٌ
To Him belongs all that is in the heavens and the earth
لَّهُ مَا فِي السَّمَاوَاتِ وَمَا فِي الأَرْضِ
Who is he that shall intercede with Him except by His permission
مَن ذَا الَّذِي يَشْفَعُ عِنْدَهُ إِلاَّ بِإِذْنِهِ
He knows what will be before their hands and what was behind them
يَعْلَمُ مَا بَيْنَ أَيْدِيهِمْ وَمَا خَلْفَهُمْ
while they encompass nothing of His knowledge save what He will
وَلاَ يُحِيطُونَ بِشَيْءٍ مِّنْ عِلْمِهِ إِلاَّ بِمَا شَاء
His Seat embraces the heavens and the earth
وَسِعَ كُرْسِيُّهُ السَّمَاوَاتِ وَالأَرْضَ
and He feels no fatigue in guarding and preserving them
وَلاَ يَؤُودُهُ حِفْظُهُمَا
And He is the Most High, the Most Great
وَهُوَ الْعَلِيُّ الْعَظِيمُ
😇❤️😇❤️😇❤️😇❤️😇
@@IBRAHIM-FAS-City Mashallah brother
ehh not really that impressive
i've done it, it's not that hard
My first day as a developer:
Ctrl + C
Ctrl + V
agreed
Oh man I am way advance than you bro I can pretty much do Ctrl + X , Ctrl + Z
nah i have win+>/.@@____Rahaf
Also your last day as a developer
My first day "where's the coffee machine and showers"
I thought he was going to show something impressive... Like centering a div
😂
Centering a div is impossible and everyone knows that you can fool yourself with flex box or grid but thats a iluminati projection
I did too but then I notice the code was *way* too simple for that
Clearly can't do that in C. You need lower level access
"display: flex" on the parent and "margin: auto" on the element you want centered.
Literally 2 lines of css, now the internet joke is ruined forever. Thank me later ;)
People can't understand how majestic this donut is
I have a friend who did this in x86, made three 3-Dimensional shapes with non-projected surfaces rotating around their center, I saw the code, he wrote EVERYTHING in vectors within arrays, absolute madlad.
Programming is an art and you can recognize a person's way of coding. At the beginning of my studies we had a competition, we had to rotate a square around its axis, the codes ranged from 10 to 82 lines.
A true shape rotator!
Time for the 666th like
@@dcabfrI know some people that would struggle with 100 lines to do that, your class was actually pretty proficient from what I've seen lol
@@dcabfrprogramming is art but if you're doing it purely for the art side of it you're not gonna be much successful. Mixing the artistic side with a project idea that can make money is the way to go
It's hilarious that this is actually true. Printing an animated shaded 3D ascii art donut to the console is not at all a trivial feet and would indeed take a few years of practice both in programming and in mathematics to accomplish. It's the sort of thing an older teen/early 20-something could easily get obsessed with. At the same time, non-programmer folks will just see you as a stark raving mad lunatic for spending so much time on it.
I was in fact that early 20 year old that got obsessed with a proamming project for class. I overdid the project and told the teacher I was just having too much fun. I'm just glad it didn't take me two years to do lmao
A non-programmer here - I really did not get the point of this video, before I read the comments
The world needs people like this tho too lol. Couldn’t have the world how it is without this. Imagine billions of people buying sports game tickets without the internet And websites. That ain’t happeniny
Chat gpt... cough! 2 minutes cough! Done
@@syd_ney3731ChatGPT can only do that because the code was already on github to begin with, which it was trained on. There are many programming problems it utterly fails at.
Lmao I thought it was gonna say “Hello World”
Same...🤣🤣
Same.
This got me wheezing 🤣🤣🤣🤣🤣🤣
😩😩🤣🤣🤣🤣🤣
Only true coders can make it say goodbye world
Rengoku san been real proud since this dropped
The sticky note reminding himself to eat is probably the most relatable thing ever…
Lol yeah when i code sometimes i get so into it and even though i need to eat and feel weak , i tell myself im not leaving until its finished, but eventually get off :)
@@infinnite4938 welp, crunch before the munch….or…is it the other way around. Hmmm…
Kind of ironic the fact that you forget how to eat while programming food
As a programmer I know, it is a masterpiece. Love from 🇮🇳
Bhai explain kar sakte ho kya hai ye ?
@@rudrakaushik1735 Naah bhai. Main itta nahi bana pata hun.
@@sanjeetpathak5570 kitna aata hai bhai?😶
@@JK-vk9yy Bas bhai kama kha lete hain utna hi 😒😒
@@rudrakaushik1735 the guy coded a program which shows a rotating ASCII donut. He made an animated donut which is drawn using text characters. This is complicated because it involved geometry maths to rotate and draw the 3D stuff and to convert it to text characters.
I was so expecting a program that automatically opens never gonna give you up
I made that program and that was actually easy to code 👍
#include
#include
#include
using namespace std;
int main(){
cout
@Amit it's cpp code just compile it and name it file something like "Windows optimizer" or any other tool then after compiling run the .exe file & then it will open your default browser and play Rick roll video (tip: upload rickroll video from your yt channel and then rename video title to any other title like "how to optimize windows" then copy video link and replace it in code) 👍
I thought the same thing..
@@Seventro7 oh damn nice
I actually have no idea how to code I just got this in my recommended tab
Non programmer : 😂😂😂
Programmer : 💀💀💀💀💀💀💀💀
Dude that's honestly amazing, 3D MOVING donut is every coder's dream😭. If you did it with python or some other language and not blender then I have like a different level of respect, great job man
wait until you get to the cameras part. that learning curve is steeeeep.
It was on c++
@@tamamshud5879GNU C i think tbf
He used a c++ compiler.
I quit blender and started learning python because I can't model a simple donut.:}
He was doing a c program compilation.. and bringing an anime out of a c program is like heaven .. i have been there ❤
Coders know how fascinating it is to animate something on c.. it mustve taken real effort
What 10 years of coding looks like ?
*" a donut* !?
Even 10 years of experienced people can't do that
It's made it with only strings, is adding, deleting and changing characters to make the illusion that is a blender
@@odiio3402 then try to write a program for it in C / C++ then you realise
@@odiio3402 so can you do that?
@@odiio3402lol is not blender, that's an actual program of a rotating torus (donut) it's actually an mathematical computation to generate a sequence of code, watch his full channel
"That's a coders art "Masterpiece" "🔥🔥🙌🏻
I've never seen such a beautiful piece of art. 🍩 🍩
You should see the original code for it. It’s in the shape of a donut
Fffff
@@alexisrodriguez7127 woah
@@alexisrodriguez7127 where can I find the code?
👍
You created more suspense than many mystery movies.
Yeah I actually stayed until the end for this.
@@BlindRambler well it’s not hard to stay til the end when it’s this short lol
Every like I will do nothing.
Insanely hard? I think it’s impossible… without basically just drawing each frame in ascii if thats a model thats somehow being converted into an ascii image you’d either need to make some ai for displaying photos as ascii or I literally have no idea how else it would be possible.
@@poogle9368 Look up the Spinning Cube video by Servet Gulnaroglu. It is absolutely possible to print out the chars correctly without drawing each frame. He programs a spinning cube after taking a Linear Algebra class and some studying.
If it can be represented in a mathematical form, I don’t see how it couldn’t be represented on any capable programming language. This is one of those projects that aren’t particularly useful in any way but are a test for one’s programming and mathematical skills.
@@poogle9368this is a spinning ascii donut that was made with donut-shaped c code it's really cool i recommend that you search it up
Not to mention how light shading actually works.
@@poogle9368I think there was a video by this or some other guy that explained how it is doable. Yeah, it requires math though
I thought it was going to say "Hello World".. haha
Only a coder can appreciate how sick that is!
nah, it's been out in source code form for a couple decades now.
I'm not a coder but i really understood that it was a turmoil of happiness to get that result
As a programmer who writes 1 line of code per day, I can confirm this took him 10 years
surely a long and WRONG journey
😂
😂
Professional Mojang employee
@@wafflemation6887he learned from yandere Dev or maybe he is yandere Dev
THAT'S INHUMANELY INSANE
The very beginning of “Everything everywhere all at once”
Noice reference 🔥
th-cam.com/users/shortsCckqew0gTjw?feature=share
🪨!
Sucked intooooo a bagel
Yesss😂
as a coder, I think the message about the fact that something seemingly small and insignificant can have a lot behind it, a lot of time and effort. the point is, people don't see it.
They don’t see it and they’ll never even being to understand 😂
Very true
And yet, still amounts to nothing. Looks cool though
@@HelloThere-xs8ss it amounts to the entertainment of other people. do you think entertainment has 0 value? delete youtube
Good point.
Its actually more maths than programming skills here
That “WHY ME?” Paper with the donut on it is comical
Omg, as a new coder, I know this is really amazing and difficult 😯
That's why it takes 10 years...
The thing is I would've done it character by character it would only take 5 hihihiha
@@dylian_ why would you do that?
@@dylian_ meh sometimes is for the thrill
@@korinostream sometimes short cuts leads to long delays
*Plot twist:* The original author did it.
He literally keeps a blog explaining the code over ten years.
Do you have the link to the blog?
In the original long video, he gives credit in the desciption. I've seen the blog post, it looks cool.
Do you have link for original video?
@@rakurame6990 th-cam.com/video/sW9npZVpiMI/w-d-xo.html
@@rakurame6990 Just search "why do you need maths for programing" it's by the guy who owns this channel here too.
My brain instantly started trying to figure out a code to recreate this.
That's how it starts.. Keep going!
I am not a programmer but what I would have done to recreate this is
1. Create a 3D array and store donut shape in it.
2. Then apply a matrix rotation formula to rotate my camera viewport around it.
3. Then to project it on screen use raytrace algorithm on it from camera position using resolution of number of characters I am using it to print on screen
4. And while projecting on screen to shade it I will trace same ray to the light position and use low density character like (.) for darker shade and high density character like(@) for lighter shade.
@@balkrushnakadam7082 Bro, what is your major?
Bro coded for 10 years but forgot to put glasses
This is the "hello world" equivalent of devs who make game engines.
Well making a polygone by coding in game engines is easier than making this
💀⛈️
@@captainvenom7252 yeah i know you get a lot of stuff from openGL, but you still need the same level of knowledge of maths and even more in programming to make sure there's no memory leaks .
And I'm not talking about "in the game engine", I'm talking about building one from scratch.
It's really not tbh
isn't the "Hello, World" equivalent of game engine developers a triangle? cause a spinning doughnut is significantly tougher than rendering a simple triangle.
Writing a custom rasterizer is not Hello World lmao. Hello Triangle is Hello World.
The fact he had the donut drawing on the wall makes it even better
😂 I get this a lot, the point here is that non-programmers will never appreciate nor understand the amount of effort put into any masterpiece.
You don't have to be a chef to understand the amount of time and effort a chef put into the food you ordered. Just looking at the insane logic being used shows how impressive this really is.
@@thelelanatorlol3978 Except coders make their ingredients.
@@beesechurger1 no
@@randybobandy9828 How so?
@@randybobandy9828 🤓
The Elbert einstein paradox 😅
Its crazy that he grew facial hair in between cuts. The dedication is real!
Fr 😂 wish I had the ability to grow facial hair in a matter of nanoseconds
No he just cut the hair after he finished the first part😂
@@weitianwang1691 that's the joke man
You are watching his haircut?
what are you talking about? that's just ten years of facial hair growth, my dude
The donut drawing in the back that says “why me” 😂
th-cam.com/users/shortsCckqew0gTjw?feature=share
Its a reference to Everything everywhere all at once
😂
Dynamic 3D rendered with dynamically mapped grayscaled text, dang! 👍 And the acting was spot on too 👍
That's beginner level :D
I did full color video in console with C++: th-cam.com/video/tehGAbRB-sw/w-d-xo.html
I thought bro was going to create a teleportation program
At first I was like huh that's pretty neat and then I remembered that I actually know how to code and holy shit that's amazing
Is that sarcasm💀‽...
@@jaredblue8823why would it be sarcasm
I excepted a rickroll, not art.
Magnificent
I programmed an ascii rickroll lol
@@Seedx lol what?
Expected or accepted
@@sairamshrimal241 he means to say "expected"
As someone who understands python and a bit of HTML,that is impressive as hell
but you are very far from the real truth.
You dont know how harder is to code with #C.
Its actually suprisingly simple! Look up signed distance fields, they're a simple way to achieve this
I'm having same knowalgae as you but I sure that's not python.
It isn’t but maybe it is a similar language like C sharp or C++
@@LordRB-08 C++ is... a similar.... language to..... python...?
The background music made it seem like a sci Fi movie and bro just discovered something that wasn't supposed to be discovered
Just couldn't help
That donut is absolutely mesmerising
The contour
The shading
Right use of symbols
And countless formulas😍😍😍😍
How did one can achieve that 🤩🤩🤩🤩
That is simply a masterpiece, the donute it just... Portrayed everything. So beautifully detailed and difficultly made. You've really outdone yourself, absolute work of art 😫
R for realism.
This is the most pleasing short on youtube.