Тёмный
No video :(

Satisfying ascii animation with C 😉 - The doughnut shaped code that generates a spinning 🍩 

Code Rewind
Подписаться 1,2 тыс.
Просмотров 321 тыс.
50% 1

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 238   
@CodeRewind
@CodeRewind 8 месяцев назад
k;double sin() ,cos();main(){float A= 0,B=0,i,j,z[1760];char b[ 1760];printf("\x1b[2J");for(;; ){memset(b,32,1760);memset(z,0,7040) ;for(j=0;6.28>j;j+=0.07)for(i=0;6.28 >i;i+=0.02){float c=sin(i),d=cos(j),e= sin(A),f=sin(j),g=cos(A),h=d+2,D=1/(c* h*e+f*g+5),l=cos (i),m=cos(B),n=s\ in(B),t=c*h*g-f* e;int x=40+30*D* (l*h*m-t*n),y= 12+15*D*(l*h*n +t*m),o=x+80*y, N=8*((f*e-c*d*g )*m-c*d*e-f*g-l *d*n);if(22>y&& y>0&&x>0&&80>x&&D>z[o]){z[o]=D;;;b[o]= ".,-~:;=!*#$@"[N>0?N:0];}}/*#****!!-*/ printf("\x1b[H");for(k=0;1761>k;k++) putchar(k%80?b[k]:10);A+=0.04;B+= 0.02;}}/*****####*******!!=;:~ ~::==!!!**********!!!==::- .,~~;;;========;;;:~-. ..,--------,*/
@TheParrot5
@TheParrot5 8 месяцев назад
It basically prints ascii chars
@Imnightcellgaming23
@Imnightcellgaming23 7 месяцев назад
I am in phone i can’t copy/paste how do I do ?
@user-wn4wk3gq3k
@user-wn4wk3gq3k 7 месяцев назад
Fake. not working only fatal errors and warnings
@Void_script
@Void_script 7 месяцев назад
Thx you earned a sub 😊
@djegm9722
@djegm9722 7 месяцев назад
Ok
@WindowsDrawer
@WindowsDrawer Год назад
People here can't seem to understand the point is the code is shaped is like a donut, it doesn't need to be clean
@joelmartinez7326
@joelmartinez7326 11 месяцев назад
Ahora ponlo a girar en 3d
@Vancha112
@Vancha112 10 месяцев назад
​@@joelmartinez7326it is spinning in 3d :o
@charX7
@charX7 10 месяцев назад
​@@joelmartinez7326?
@personalbest5445
@personalbest5445 2 месяца назад
@@joelmartinez7326 tambien lo hace, el codigo esta escrito en forma de dona, no creas que es solo la forma. Es literalmente el codigo en C, lo pegas, y ejecutas y tienes una dona en 3d girando.
@jnandpsalmminecraftchannel3377
@jnandpsalmminecraftchannel3377 2 месяца назад
​@@joelmartinez7326 bruh its 3D already
@Assem_DEV
@Assem_DEV 6 месяцев назад
People who don't understand programming will think that the shape of the code is the one that will give the shape of a donut 😂
@mhmdsq_19
@mhmdsq_19 5 месяцев назад
Its bigger true
@peripateticsnaps2827
@peripateticsnaps2827 3 месяца назад
😂
@Quran.andbeautifulad3ia
@Quran.andbeautifulad3ia Месяц назад
😂😂😂😂😂😂😂 they will make a cake
@ahfejjdjdjehdkwhdksh
@ahfejjdjdjehdkwhdksh 27 дней назад
😂
@justplay2508
@justplay2508 11 дней назад
I don't code and I know that the shape of the code has nothing to do with it
@maheshcherry6466
@maheshcherry6466 11 месяцев назад
This is true art
@Memztroijan
@Memztroijan 10 месяцев назад
I was about to comment "b e a n" because of the thumbnail, but now i shall say... d o n u t
@A_R_CREATION_07
@A_R_CREATION_07 10 месяцев назад
Bhai copy karke bhej do
@Bro_Bubby
@Bro_Bubby 9 месяцев назад
Nope. Do-nut * do that
@user-gm6xe5ox3s
@user-gm6xe5ox3s 3 дня назад
😂😂​@@Bro_Bubby
@hand-eye4517
@hand-eye4517 4 месяца назад
A classic! This is a PPM (Portable Pixel Map) animation program in C, written by John Hancock in 1986. It's a simple raycasting-based 3D graphics demo that uses ASCII art to display the scene. Here's a breakdown of what the code does: 1. Initialization: The program sets up some variables and arrays for storing pixel data. 2. Main loop: The program enters an infinite loop, where it repeatedly: * Clears the screen using ANSI escape sequences (`\x1b[2J`). * Sets up some mathematical constants (A, B, etc.). * Calculates the sine and cosine of various angles (i, j, A, B) using simple trigonometric formula formulas. * Uses these calculations to determine the pixel values (D, l, m, n) for a 2D grid. * Updates the pixel data array (z) and ASCII art string (b) based on the calculated values. 3. Output: The program prints the updated ASCII art using ANSI escape sequences (`\x1b[H`), followed by the `putchar` function to display each line of text. The animation is a simple, rotating 3D scene with some basic lighting and shading effects. The ASCII art rendering gives the appearance of a 2D projection of the 3D scene onto a plane. This code is a great example of the creativity and ingenuity that can be achieved with limited resources (in this case, early computing technology and the ASCII character set). It's also a testament to the enduring appeal of simple, yet engaging, graphical demonstrations.
@RandomStuffGaming21
@RandomStuffGaming21 3 месяца назад
is this chatgpt?💀💀
@mohitrathore456
@mohitrathore456 2 месяца назад
Chatgpt
@tongpoo8985
@tongpoo8985 2 месяца назад
Thanks for copy pasting that into chatgpt for me
@cycrothelargeplanet
@cycrothelargeplanet Месяц назад
The way it's written and the markdown formatting really give it away
@WhiteWallAh_
@WhiteWallAh_ 10 месяцев назад
the perfect line of code dosen't exi-
@sumantabasu4450
@sumantabasu4450 7 месяцев назад
wow ...and the code works !! Awesome
@endostatica1405
@endostatica1405 4 месяца назад
Truly groundbreaking
@user-sm1cl9wo5q
@user-sm1cl9wo5q 10 месяцев назад
me thinking about code seriously a minute , with out knowing c language
@FRANCOPROHOLA
@FRANCOPROHOLA 10 месяцев назад
me
@JohnDoe-ux7hl
@JohnDoe-ux7hl 7 месяцев назад
Me2
@dragoncat5767
@dragoncat5767 7 месяцев назад
You can code too if you try
@sanjeevsinghrajput5593
@sanjeevsinghrajput5593 9 месяцев назад
I used the donut to make the donut
@CodeRewind
@CodeRewind 8 месяцев назад
😂
@ForgottenMachines
@ForgottenMachines 6 месяцев назад
Thank you! This is amazing and WAY cool!
@user-ro3vr9zo6q
@user-ro3vr9zo6q 4 месяца назад
My brain stopped working when I saw that code for a sec
@gilang5557
@gilang5557 10 месяцев назад
Do it with a chip
@CodeRewind
@CodeRewind 8 месяцев назад
Soon 😁
@apisithwangpitakkul3664
@apisithwangpitakkul3664 7 месяцев назад
Thx
@temdemencia7274
@temdemencia7274 4 месяца назад
#include #include #include #include int k;
@thecritiquer9407
@thecritiquer9407 15 дней назад
yeah why he didn't included these?
@user-gt1zh4qw9w
@user-gt1zh4qw9w 6 месяцев назад
Genius bro!
@BobChess
@BobChess 10 месяцев назад
"Why does you code this thing?" "Donut"
@GroovyBall1
@GroovyBall1 Месяц назад
THAT AINT DONUT THAT SHAPED LIKE TORUS
@minecraftlover2963
@minecraftlover2963 6 месяцев назад
This is so sick
@TewodrosKinfu
@TewodrosKinfu 10 месяцев назад
Lacks perfection
@honaleri
@honaleri 3 месяца назад
Went uber met with this one.
@HaoyuW
@HaoyuW 8 месяцев назад
bro this is just like boiling doughnuts to bake doughnuts out of it
@ErrorArts1
@ErrorArts1 Месяц назад
Viewers be like 😵‍💫
@joey_yangyin
@joey_yangyin Месяц назад
🍩 wait. the syntax is cleverly arranged as the donut _AND_ it's unreadable? perfecto for beginners!! 🍩 or as my wise sensei would always say: "donut try to code the donut, before you have mastered the tao-nut."
@arthurmorgan_vanderlinde21
@arthurmorgan_vanderlinde21 6 месяцев назад
great, now put addiction on it
@vincenteriksson4062
@vincenteriksson4062 Год назад
Is C this messy or is it just a bunch of variables?
@CodeRewind
@CodeRewind Год назад
The variables are to blame here 😅. C is actually quite clean a language.
@echoptic775
@echoptic775 10 месяцев назад
​@@CodeRewindc is a very simple and clean language. C macros are the opposite
@der.einzig.wahre.jemand
@der.einzig.wahre.jemand Месяц назад
C doesnt care about lines, tabs and whitespaces because commands are seperated with ; and {}
@69k_gold
@69k_gold 3 месяца назад
Can anyone explain how this code is not erroneous? There's no declaration of standard libraries and the k variable is declared in the wildest way possible
@bearfm
@bearfm 19 дней назад
you dont actually need to include the standard libraries
@user-em5gb4re4j
@user-em5gb4re4j 3 месяца назад
Cool
@Bro_Bubby
@Bro_Bubby 9 месяцев назад
What's easier? C, or C++
@jamesgathiru4302
@jamesgathiru4302 9 месяцев назад
All, just know what you want to do and choose the prefered language for the task
@shivambandekar5329
@shivambandekar5329 8 месяцев назад
Its the same Just input and output syntaxes are different And some additional features are in c++ like iostreams for file processing and classes.
@patatopeeler3005
@patatopeeler3005 8 месяцев назад
C has a simpler syntax and less features while c++ is much more complex. In c it's easy to shoot yourself in the foot while in c++ it's harder to do so but if you shoot your leg comes off, imo syntax wise c is easier but in general c++ is easier
@shivambandekar5329
@shivambandekar5329 8 месяцев назад
@@patatopeeler3005 well thats one way to put it
@elrioto
@elrioto 5 месяцев назад
Learn c then c++ and if you want a VERY difficult challenge learn asm
@TechBox2026
@TechBox2026 14 дней назад
❤nice
@SodaCrack
@SodaCrack Месяц назад
What software is this i wanna try it out
@der.einzig.wahre.jemand
@der.einzig.wahre.jemand Месяц назад
he is using a random C editor
@RedKnight001
@RedKnight001 5 месяцев назад
We can also use Python to print (boolean values like 0s and 1s) to create that donut shape too.
@xxxluvi
@xxxluvi Год назад
Nice. What is the benefit of code would you say?
@CodeRewind
@CodeRewind Год назад
Nothing. Its just fun 😊
@vincenteriksson4062
@vincenteriksson4062 Год назад
Its mostly a hobby but if you want you can get a job with a decent saliary
@sultanafridi1027
@sultanafridi1027 Год назад
Would you plz give source code in description
@blackmanbo1235
@blackmanbo1235 Год назад
bro its literally in the video
@hamzacasdasdasd
@hamzacasdasdasd Год назад
@@blackmanbo1235 i never saw a stoopid person like you what hes gonna do write the all 200 character by hands ?
@dlizard04
@dlizard04 10 месяцев назад
@@blackmanbo1235 it sounds like they don't want to type it out. They want copy and paste.
@alihassan-zh5wd
@alihassan-zh5wd 9 месяцев назад
​@@dlizard04maine c++ karha. C nhi aati. Kisi tarah isay c++ main badal sake?
@iexistinthisworld
@iexistinthisworld 9 месяцев назад
​@@alihassan-zh5wdIDIOT WHAT'S THE SOURCE
@akihiro333
@akihiro333 3 месяца назад
I love you 1% I love you 2% I love you 3% I love you 4% I love you 5% I love you 6% I love you 7% I love you 8% I love you 9% I love you 10% I love you 11% UPDATE: now removed % I love you 12 (part 2 soon)
@thmq3658
@thmq3658 15 дней назад
k
@denizuyanker5343
@denizuyanker5343 19 дней назад
A spinning donut? Hah! I were built The Matrix already 🗿(joke)
@sooshiyansjahan4773
@sooshiyansjahan4773 Год назад
excellent What idea did you use? If we want to do coding in C language for software like Blender or Maya, what IDE can be used?
@MarcusHCrawford
@MarcusHCrawford 10 месяцев назад
You can use anything. You can write in notepad and save it with a .c extension, and then use the terminal (if you have gcc compiler installed) and type: gcc -o outputfile inputfile I know you’re not asking about notepad, though. Most new developers pick something like VS Code, but Visual Studio Community is what I started C and C++ with.
@sooshiyansjahan4773
@sooshiyansjahan4773 10 месяцев назад
@@MarcusHCrawford thank you master
@MarcusHCrawford
@MarcusHCrawford 10 месяцев назад
@@sooshiyansjahan4773 Right then. See how far you get with that attitude. Was just trying to answer your question.
@dapperwolf465
@dapperwolf465 8 месяцев назад
@@MarcusHCrawforddon’t think they were being rude mate see how far you get with that attitude
@MarcusHCrawford
@MarcusHCrawford 8 месяцев назад
@@dapperwolf465 Thank you, master.
@user-wk3lk6zv8n
@user-wk3lk6zv8n 6 месяцев назад
as a C developer. i can't understand how it works.
@nxone9903
@nxone9903 Месяц назад
Sometimes you can donut but sometimes you should-n't
@ZiadLMM683
@ZiadLMM683 4 месяца назад
I thought the code was Python😂
@Mottyan1991
@Mottyan1991 Месяц назад
Wii Donut😂😂
@user-uc4hc9yc9n
@user-uc4hc9yc9n 8 месяцев назад
What the hell... It got shadows and it's rotating🗿
@SlippyVR_
@SlippyVR_ 7 месяцев назад
Wii Donut
@dtriplett03
@dtriplett03 9 месяцев назад
When Homer Simpson codes😅❤ So 😎 cool🎉❤
@CodeRewind
@CodeRewind 8 месяцев назад
❤️
@francisfigueroaiii5383
@francisfigueroaiii5383 10 месяцев назад
i thought that was hard but it seems easy
@alokgautam3874
@alokgautam3874 8 месяцев назад
did you use the system("cls") to output frames ?
@CodeRewind
@CodeRewind 8 месяцев назад
Printf
@IndahxDragon-dt1rn
@IndahxDragon-dt1rn 10 месяцев назад
I couldn't see wheres the loop codes
@RealGian01
@RealGian01 Месяц назад
import math import time import os def generate_donut_frame(A, B): z = [0] * 1760 b = [' '] * 1760 for j in range(0, 628, 7): for i in range(0, 628, 2): c = math.sin(i / 100) d = math.cos(j / 100) e = math.sin(A) f = math.sin(j / 100) g = math.cos(A) h = d + 2 D = 1 / (c * h * e + f * g + 5) l = math.cos(i / 100) m = math.cos(B) n = math.sin(B) t = c * h * g - f * e x = int(40 + 30 * D * (l * h * m - t * n)) y = int(12 + 15 * D * (l * h * n + t * m)) o = x + 80 * y N = int(8 * ((f * e - c * d * g) * m - c * d * e - f * g - l * d * n)) if 22 > y > 0 and 80 > x > 0 and D > z[o]: z[o] = D b[o] = ".,-~:;=!*#$@"[N if N > 0 else 0] return ''.join(b[i] if i % 80 else b[i] + ' ' for i in range(1760)) A = 0 B = 0 for _ in range(100): # Running for 100 frames frame = generate_donut_frame(A, B) os.system('cls' if os.name == 'nt' else 'clear') print(frame) A += 0.04 B += 0.02 time.sleep(0.03) # Adjust the sleep time to control the speed #run this in python
@cormacmirshak2988
@cormacmirshak2988 19 дней назад
tysm, this is the only code that i have got to work. Although i am thinking of adding a while loop so it loops through it multiple times.
@loudsilenz
@loudsilenz Год назад
What app/website did you use to code this?
@literallyaperson7125
@literallyaperson7125 Год назад
it's a c program (typically an exe or whatever the operating system can compile to), they didn't code it themselves and you can find it online by just searching some keys
@CodeRewind
@CodeRewind 8 месяцев назад
Repleit
@dritterregenschirm2324
@dritterregenschirm2324 4 месяца назад
@@CodeRewindbut you didn‘t code it
@KosugeX00
@KosugeX00 Год назад
Wow...
@FSE788
@FSE788 10 месяцев назад
😂
@Be_Reelax
@Be_Reelax 2 месяца назад
The real problem is where to tum this code.
@dlizard04
@dlizard04 10 месяцев назад
I code in python so I have not tried this. Has any tried this yet?
@tzabarpho.
@tzabarpho. 10 месяцев назад
Evan zhou made this in python
@der.einzig.wahre.jemand
@der.einzig.wahre.jemand Месяц назад
Python needs identations and new lines to seperate code blocks. So it probably wont work (except you do some fancy Base64 decoding and exec() stuff)
@minefreund
@minefreund 7 месяцев назад
Isnt this the wii donut?
@cerulity32k
@cerulity32k 2 месяца назад
hehe dount
@roadstermane
@roadstermane 11 месяцев назад
naw naw aint no way 💀
@shoebali1234
@shoebali1234 2 месяца назад
Code editor name plz
@thecoolnewsguy
@thecoolnewsguy 8 месяцев назад
Is this actually the coding behind that donut program? Cuz it looks so confusing, weird, disgusting and EVERYTHING 😵😫💀
@CodeRewind
@CodeRewind 8 месяцев назад
Yep. All codes
@thecoolnewsguy
@thecoolnewsguy 8 месяцев назад
​@@CodeRewindbut k for example is not declared as it seems. So how did the compiler not throw an error?
@user-gt1zh4qw9w
@user-gt1zh4qw9w 6 месяцев назад
s is not declared as well
@thecoolnewsguy
@thecoolnewsguy 6 месяцев назад
@@user-gt1zh4qw9w yeah how is it working!!
@thecritiquer9407
@thecritiquer9407 15 дней назад
source code?
@user-is9rk1ol7g
@user-is9rk1ol7g 7 месяцев назад
Is this a donut😂😂
@oximas-oe9vf
@oximas-oe9vf 5 месяцев назад
It's a torus
@KaifChilz
@KaifChilz 5 месяцев назад
Bro it showing message k does not name a type What can i do to execute this in dev c ++
@2dmotion098
@2dmotion098 3 месяца назад
Code editor name pls..
@coder-gs1hy
@coder-gs1hy Год назад
Bro k is undeclared bol raha hey
@CodeRewind
@CodeRewind 8 месяцев назад
Try again with code given in pinned comment
@Nintendo3D5
@Nintendo3D5 6 месяцев назад
No music?
@shritipandey1763
@shritipandey1763 8 месяцев назад
Konse compiler pe karte ho
@ShreySuri
@ShreySuri 7 месяцев назад
Yeh compiler 'codehs' shaayad hai.
@suru2774
@suru2774 3 месяца назад
Help making small size of the donut, im using it on my phone. Help
@ThisisntDiv
@ThisisntDiv 9 месяцев назад
can u put this in comments so it can be used??
@CodeRewind
@CodeRewind 8 месяцев назад
Sure. Posting today
@aryan540k
@aryan540k 4 месяца назад
I am a newbie to programming, just tell me we don't use programming to do shit like this just let the blender people do this shit
@tonygame278
@tonygame278 4 месяца назад
is it python, or c++?
@hatchindesu
@hatchindesu 3 месяца назад
Its C
@dtriplett03
@dtriplett03 9 месяцев назад
Can I run this on my Android Phone?😅❤
@CodeRewind
@CodeRewind 8 месяцев назад
You can
@jetzermxi2622
@jetzermxi2622 9 месяцев назад
How to center a div😂
@CodeRewind
@CodeRewind 8 месяцев назад
😂
@user-yy7ft4rv1q
@user-yy7ft4rv1q 5 месяцев назад
Where should I need write it
@curropteddata
@curropteddata 9 месяцев назад
why people dont call donuts donuts why doughnuts like why
@user-we7ep3os5u
@user-we7ep3os5u 7 месяцев назад
Okasari deeni code cheppandi
@CappaLimk
@CappaLimk 10 месяцев назад
Source code?
@CodeRewind
@CodeRewind 8 месяцев назад
In the first comment
@akamanah8437
@akamanah8437 10 месяцев назад
source code please
@andrewhernandez7906
@andrewhernandez7906 10 месяцев назад
It's literally shown in the video.
@akamanah8437
@akamanah8437 10 месяцев назад
@@andrewhernandez7906 The code shown in the video has several errors and does not compile
@con_el_maestro3544
@con_el_maestro3544 9 месяцев назад
​@@andrewhernandez7906are you retarted
@con_el_maestro3544
@con_el_maestro3544 9 месяцев назад
Retardation, is that you?
@CodeRewind
@CodeRewind 8 месяцев назад
Given in pinned comment
@spoon1331
@spoon1331 9 месяцев назад
donut
@lilith-df3tx
@lilith-df3tx 27 дней назад
Holy shit
@FSE788
@FSE788 10 месяцев назад
💝
@FSE788
@FSE788 10 месяцев назад
#include #include #include #include int main() { float A = 0, B = 0; float i, j; int k; float z[1760]; char b[1760]; printf("\x1b[2J"); for(;;) { memset(b, 32, 1760); memset(z, 0, 7040); for(j = 0; j < 6.28; j += 0.07) { for(i = 0; i < 6.28; i += 0.02) { float c = sin(i); float d = cos(j); float e = sin(A); float f = sin(j); float g = cos(A); float h = d + 2; float D = 1 / (c * h * e + f * g + 5); float l = cos(i); float m = cos(B); float n = sin(B); float t = c * h * g - f * e; int x = 40 + 30 * D * (l * h * m - t * n); int y = 12 + 15 * D * (l * h * n + t * m); int o = x + 80 * y; int N = 8 * ((f * e - c * d * g) * m - c * d * e - f * g - l * d * n); if(22 > y && y > 0 && x > 0 && 80 > x && D > z[o]) { z[o] = D; b[o] = ".,-~:;=!*#$@"[N > 0 ? N : 0]; } } } printf("\x1b[H"); for(k = 0; k < 1761; k++) { putchar(k % 80 ? b[k] : 10); A += 0.00004; B += 0.00002; } usleep(30000); } return 0; }
@beefydiefries
@beefydiefries 4 месяца назад
why tf do i see sin and cos in the code
@Omar-jn8xk
@Omar-jn8xk 3 месяца назад
Because the main idea of the code is using maths to make the rotation and projection of a 3d object into a 2d surface(the screen). I didn't go through the code well. But I understand the main idea behind it. There is a blog by the creator that explain it.
@beefydiefries
@beefydiefries 3 месяца назад
@@Omar-jn8xk isn't sin and cos math?
@jackschmitt3167
@jackschmitt3167 9 месяцев назад
Cool. But it would be way more impressive if the code were donut shaped AND in Python. Because whitespace.
@CodeRewind
@CodeRewind 8 месяцев назад
Its difficult to write this in python cause of the indentation 🥲
@grzyb11
@grzyb11 6 месяцев назад
python crashes whenever the indentation is slightly wrong and since the code is supposed to be donut shaped the first line would need to have a few indents whoch is literally impossible
@jackschmitt3167
@jackschmitt3167 6 месяцев назад
@@grzyb11 I'm familiar with the Python indentation issues. That was why I made the comment. However, I think you are overstating the difficulty by saying it is impossible. Evan Zhou did a donut shaped Python donut a few months ago ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-tzpfyTFvU6M.html. Granted, it did have a leading line which ruins the pure donut shape and so a purist could easily discount it. However, I think that with copious use of # comments (which don't have to follow the indentation rules) preceding the first functional line, it might be possible.
@grzyb11
@grzyb11 6 месяцев назад
@@jackschmitt3167 yes but a perfect one (no code outside of the donut shape except maybe imports) would be impossible though
@xrollup
@xrollup 5 месяцев назад
Шайтан!
@Persianprogramer
@Persianprogramer 8 месяцев назад
What's your ide 😮❤
@CodeRewind
@CodeRewind 8 месяцев назад
Its called repleit
@tamizhanbanm6320
@tamizhanbanm6320 9 месяцев назад
Hii bro this code not working no dount empty
@CodeRewind
@CodeRewind 8 месяцев назад
🤔
@ajaymehta5796
@ajaymehta5796 10 месяцев назад
No one noticed the code was in the form of a donut which he was writing
@qkZZZ
@qkZZZ 9 месяцев назад
Everyone noticed🤓☝️
@Harrey-wf8sf
@Harrey-wf8sf 11 месяцев назад
Atleast give the syntax to copy bro
@vibaj16
@vibaj16 10 месяцев назад
look up donut.c
@CodeRewind
@CodeRewind 8 месяцев назад
Given in pinned comment
@tekocode
@tekocode 9 месяцев назад
Hmmmm. Did you find job 😂😂😂
@CodeRewind
@CodeRewind 8 месяцев назад
😂
@KRAVIX
@KRAVIX 3 месяца назад
boy I hate ascii
@Rizzly_bear001
@Rizzly_bear001 Год назад
Does this actually work
@vibaj16
@vibaj16 10 месяцев назад
yes
@jerichoguillermo8699
@jerichoguillermo8699 9 месяцев назад
Let's find out.
@뿑
@뿑 Год назад
*give me the code*
@vibaj16
@vibaj16 10 месяцев назад
look up donut.c
@CodeRewind
@CodeRewind 8 месяцев назад
Given in pinned comment 🤛
@SliceOfBread430
@SliceOfBread430 12 дней назад
🥵🤌
@BM-dl9tb
@BM-dl9tb 10 месяцев назад
Wtf ? 0_0
@CodeRewind
@CodeRewind 8 месяцев назад
😯
@amanxyz03
@amanxyz03 9 месяцев назад
Bruh
@Aur-hn3wn
@Aur-hn3wn 4 месяца назад
PPP AAA PP AA P A
@CherryFlavoredAlchemy
@CherryFlavoredAlchemy 10 месяцев назад
BEGONE WITCH
@FSE788
@FSE788 10 месяцев назад
😂
@CodeRewind
@CodeRewind 8 месяцев назад
😂
@user-zz8dr6kg7w
@user-zz8dr6kg7w 9 месяцев назад
Chetala undi tigaroda
@wrapfreekzz
@wrapfreekzz Год назад
Code is not clean
@CodeRewind
@CodeRewind Год назад
The idea is to make it look like the rendered object. So yeah...
@grzyb11
@grzyb11 6 месяцев назад
mate are you dumb
@ovrduse
@ovrduse 4 месяца назад
wii donut
@DrDishan
@DrDishan 18 дней назад
I k;double sin() ,cos(); main(){float A= 0,B=0,i,j,z[1760]; char b[ 1760]; 760]; printf("\x1b[2]") printf("\x1b[2]"); for(;; ){memset(b,32,1760); memset(z,0,7040) ;for(j=0;6.28>j;j+=0.07)for(i=0;6.28 >i;i+=0.02){float c = sin(i) , d = cos(j) ,e= sin(A), f = sin(j) , g = cos(A) , h = d + 2 D=1/(c* in(B), t=c*h*g-f* (1*h*m-t*n),y= +t*m),o=x+80*y, )*m-c*d*e-f*g-1 e; int x=40+30*D* 12+15*D*(1*h*n N=8*((f*e-c*d*g *d*n); if(22>y&& r > 0.8x > 0.88theta >x\&8D>z[o])\ z[o]=D ;;;b[0]= ".,-~:;=!*#$@"[N>0?N:0];}}/*#****!!-*/ printf("\x1b[H"); for( k = 0 ;1761>k;k++) D putchar putchar(k%80?b[k]:10); A+=0.04;B+= 0.02;}}/ **!!=;:~ h^ * e+f^ * g + 5 ) 1=cos (i), m = cos(B) ,n=s\ !!==::- /
Далее
ASMR Programming - Spinning Cube - No Talking
20:45
Просмотров 3,8 млн
ASMR Programming - Coding Pacman - No Talking
1:21:19
Просмотров 2,6 млн
Reforged | Update 0.30.0 Trailer | Standoff 2
02:05
Просмотров 682 тыс.
ЛОВИМ НОВЫХ МОНСТРОВ В LETHAL COMPANY
2:42:22
ASCII 3D RENDERING [C++]
0:44
Просмотров 7 тыс.
God-Tier Developer Roadmap
16:42
Просмотров 7 млн
Graphics Design Using Python. 25
2:18
Просмотров 2,5 тыс.
Cool CSS effect - typewriter
0:45
Просмотров 4
first C programming  language
5:14
Просмотров 162
C++ Tutorial for Beginners - Learn C++ in 1 Hour
1:22:56
Reforged | Update 0.30.0 Trailer | Standoff 2
02:05
Просмотров 682 тыс.