ASMR Programming - Spinning Cube - No Talking
Ойын-сауық
Hello my dear coders,
You know how much I like spinning shapes. In this video, I tried to visualize a fancy cube with ASCII chars. Thumbs up!
Twitter: / gulnaroglus
👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻
Source code : github.com/servetgulnaroglu/c...
Live a star on github, if you enjoy!
👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻👨💻
📦📦📦📦📦📦📦📦📦📦📦📦📦📦📦
All the products in this video
⌨️ Keyboard: IQUnix OG80 Wormhole TTC ACE switches and Costar Stabilizers (5% discount)
iqunix.store/servetgulnaroglu
🖱️ Microsoft Bluetooth Mouse
amzn.to/3R4904L
🖥️ Monitor Asus MX239:
amzn.to/3dulF3k
🖥️ Monitor Dell 34 Curved Monitor - S3422DW:
amzn.to/3BEgmGw
💻 2021 Apple MacBook Pro (14", Chip Apple M1 Pro con CPU 10-core e GPU 16‑core, 16GB RAM, 1TB SSD)
amzn.to/3DHAKJn
🎤 Rode NTG4+ Shotgun Microphone
amzn.to/3LxXcGS
🪵 IOTXY Solid Wood Writing Desk
amzn.to/3qWOQiB
🪑 IWMH Ergonomic Office Chair
amzn.to/3DMPM0l
📦📦📦📦📦📦📦📦📦📦📦📦📦📦📦
00:00 Creating cube.c
00:20 Searching for rotation matrices
00:39 Calculating rotated coordinates
02:04 Getting the result matrix and calculateX()
03:49 calculateY()
04:47 calculateZ()
06:05 Creating variables
06:54 Coding
08:49 calculateForSurface()
12:24 Printing chars on the screen
13:14 The first run
14:11 Creating other surfaces by rotating the first surface
15:34 The second run
19:39 Completed
Пікірлер: 2 100
I've seen many comments about how much I am good at math. Actually, no. I took a Linear Algebra class one year ago. I am talking about Linear Algebra because all these transformations and rotations are about matrices taught in Linear Algebra class. My letter grade was D. I decided to retake the course. On my second try, I got a D again, even though I worked much more than on the first try. Then, how could I code such a project when I pass the course barely? I spent at least 10 hours. I searched on the internet every possible website, took notes, and finally, I was good to go. What I mean is do not be discouraged when you see this types of videos. If you spend time as much as your goal requires, you can get there.
@farhanahmedfahim8113
Жыл бұрын
I needed this thank you
@bocilgoadari6247
Жыл бұрын
so you take every possible side quest before doing the final boss, NOTED !
@tacosNpapa
Жыл бұрын
facts
@user-gb4nk8be5y
Жыл бұрын
You have my respect!
@mddlol8537
Жыл бұрын
usually watching coding vids sets off the impostor syndrome for me but this comment makes me feel like I can make it, thanks for being honest brah
As a non-programmer, I have no idea what’s going on, but I enjoy the ASMR
@WeyardWiz
Жыл бұрын
Basically the objective is to create a spinning cube. A cube has vertices and is 3D. A good starting point is rotation matrices. You use a matrix for each of the 6 sides of the 3D cube to create the surface area. Since its rotating, that's why 0, 90 and 180 (degrees) He used a website to calculate the matrices output, which was in the form of X, Y, Z. Notice that you get different combos each time for different matrix inputs He is using C language to write the program and started out in a terminal, created a C file, and vimmed into it so he can edit the file and write the program Hope that helps :)
@Fialro03
Жыл бұрын
don't worry, i'm a programmer nd dont understand either
@Casevaiandando
Жыл бұрын
@@WeyardWiz why 3 rotations and not 4? arent there 4 quadrants? 0 90 180 270?
@MrKillerdu71
Жыл бұрын
@@Casevaiandando He swapped 270 with -90 which returns the same results (cos(-90) = cos(270) same for sin) so he did indeed rotate 4 times
@philippip1584
Жыл бұрын
Classic mao
I like how _accurate_ to irl programming this was. It's not just someone furiously typing away at a black screen, you are figuring out the math, searching for resources online, and casually using tools like inspect element.
@grzyb11
5 ай бұрын
nah bro idk how he didnt debug for 5 hours because thats what the real thing is like youre gonna spend more time debugging than programming
@josiahfu7703
5 ай бұрын
very true
@grzyb11
5 ай бұрын
@@josiahfu7703 everything else is accurate tho
@gruchenstein9163
Ай бұрын
@@grzyb11 i dont think it was 1st time he was programming this solution
@exaq
19 күн бұрын
"irl programming" you think this dude is in the matrix or sum?
30 seconds in and I feel delighted by this guy- Opening up Wikipedia, doing matrices homework using a formula- and figuring out the math for the rotation. This person knows what he's doing.
@NoHeartAnthony
Жыл бұрын
Copying other peoples shit. Great
@E_Rico
Жыл бұрын
It just pisses me off because in my college they will not allow you to search up stuff like this guy does during programming assessments. They want us to do everything purely off the top of our heads even though it is unrealistic. Is it right that they do this? I’m talking as a mechanical engineering student with hardly any programming experience.
@NoTwo
Жыл бұрын
And when the website's design was breaking, he opened inspect element to fix it lmao.
@NoTwo
Жыл бұрын
@@E_Rico This isn't good, and its not like this at my school. Half the job is looking stuff up. Its good to learn things because you'll be quicker at them later, but especially if you're a mech-e, that is pretty stupid.
@jakebrowning2373
Жыл бұрын
Read the pinned comment
My boy shows folks programming is not only coding skills but pure math and analytic mind 👌
@scrung
Жыл бұрын
depends on what you wanna program. not everyone is gonna program a mathy 3d renderer in the terminal
@sadri.gulnaroglu
Жыл бұрын
@@scrung as you said not everyone, as I said is not only... So we say the same. You just wanted to see conflict and solved by yourself;)
@rmpx2gh532
Жыл бұрын
depends on the program u want 2 creat.
@sadri.gulnaroglu
Жыл бұрын
@@rmpx2gh532 that’s what I said ;)
@aufkeinsten7883
Жыл бұрын
@@sadri.gulnaroglu Not sure if that's what you said. If I programmed something that required knowledge about a specific historic event, would that make programming about that historic event?
1:33 You editing that div to continue writing the matrix was an enlightening experience for me.
@RancorSweetly
Жыл бұрын
reminds me of a concealed weapon; one always needs the tools to properly protect oneself from unwarranted attack - display: none 💥
@Erliortmejurur
Жыл бұрын
funny enough if he was a web dev he would have just hit cmd-c, clicked it and hit delete. As a web dev this cube is completely over my head.
@TheJhonnycl
Жыл бұрын
I felt the same way. This changes EVERYTHING for me haha
@TheVirusWar
Жыл бұрын
adblock is your best friend here
@ReasonMakes
Жыл бұрын
@@RancorSweetly Usually you can just delete the node.
Hurts my brain, soothes my ears. Thank you for this unique experience
@nguyentiensu3825
Жыл бұрын
is this normal if i learn CS and dont know anything what he doing
@moustafael-shaboury1692
Жыл бұрын
@@nguyentiensu3825 I'm a physics student brother, you have a much better foundation to build on if you want to understand this in the future don't worry :) PS- I understand nothing too
@piyaphummuetkhambong768
Жыл бұрын
@@nguyentiensu3825 I'm also CS student but i love math more than coding LOL
@nguyentiensu3825
Жыл бұрын
@@piyaphummuetkhambong768 do u understand what he is doing in the clip ??
@piyaphummuetkhambong768
Жыл бұрын
@@nguyentiensu3825 I understand only early part of this video that he trying to use Matrix rotation formula to create this cube and calculate axis of x,y,z to calculate coordinate of cube else idk
As someone currently taking classes to learn code, I can confidently say I am lost but entertained.
@SussyRamen
Жыл бұрын
Same
@wetube6513
Жыл бұрын
print("Kill ads")
The internet is a... particularly unique place to find stuff like this
Ive found it. The perfect programmer background asmr. No more searching for a good video to vibe to while doing other stuff. this is it
@joshuacarlson4558
Жыл бұрын
try sean barrett
@hunteractually3637
Жыл бұрын
What keyboard does he use?
@Retrovoider
Жыл бұрын
@@hunteractually3637 little late but Iqunix OG80, currently using it right now! Sounds good and is definitely worth the buy
@bearfm
Жыл бұрын
@@hunteractually3637 IQUnix OG80 Wormhole w/ TTC ACE switches and Costar Stabilizers as per the description
this is my first asmr video. imagine listening to asmr on a regular basis and getting to a point where you're like, "oh ive heard this one before."
@carlosignacionavarrorios964
Жыл бұрын
yo wtf
@Thazo426
8 ай бұрын
Lit
This is great stuff! Just what I needed to see and hear. Really appreciate the time you took to put this together!
@Rametesaima
9 ай бұрын
@@NeoCoderNet Appreciate the link!
@NeoCoderNet
9 ай бұрын
Have you seen the video? What do you think of the video? I would be glad if you write your opinion in the video comment😄@@Rametesaima
I do art and films and really admire people who can code. I was always bad with math or logical things. I love how every human being is different
@WeyardWiz
Жыл бұрын
We dont actually know how to do this immediately, we actually require like 2 days to create such programs lol. This person posted a comment saying he took 10 hours to study this spinning cube before writing the actual program. That's about 2 days of work condensed into 20 mins video.
@sprite3398
Жыл бұрын
@@WeyardWiz he was talking about the math itself not the programme
@user-dh8oi2mk4f
Жыл бұрын
@@sprite3398 he got symbolab to do the math bro
@omercengiz8507
6 ай бұрын
Güzel bi yorum hemşerim :) TR
Relaxing, educating... Great work.
Base rígida de álgebra lineal, cálculos a la perfección viendo solo la fórmula y saber aplicarla y una dominación de programación. Sabe lo que quiere, pocos llegan a tanto, una inspiración
Hey man! Just bumped into the video and it's the first time i'm seeing concepts of the rotation matrices applied to code! I've studied them for university and now i can see the application for them!
This is actually so nice to watch. Very informative
Man this ASMR is crazy I love it
The sound of the keyboard is so satisfying!!!
I used to remember a lot of my math, it's when you stop using it you start to forget reaaally fast! Good work. Id like to see a little mini game, that would be cool and relaxing to watch it. 👌🏽👍🏼
Sin duda uno de los mejores creadores de contenido de ASMR con teclado, no me van a negar que no es música para sus oídos ;).
Yazdığınız koda cidden hayran kalıyorum, çok başarılı! HTML CSS JS hepsi birbirinden iyi izlemesi aşırı keyif veriyor.
Transformation matrices are very versatile. 🥰 Thanks for the video!
I love that he edited the CSS to be able to continue his formula at 1:30
@IDES0
Жыл бұрын
html div
@christiaanbruin4989
Жыл бұрын
@@IDES0 'display: none' is css my friend
@IDES0
Жыл бұрын
@Christiaan Bruin 🫡🫡🫡 didn't know. Thanks, java-main here lmao
Ready to sleep with the best ASMR on a keyboard 😃
@oldgigachad5001
Жыл бұрын
Yeah
@shamimhossen1061
Жыл бұрын
Can you tell me? how can you sleep after watching this?
@quadroninja2708
Жыл бұрын
@@shamimhossen1061 not "after" but rather "to it". I find typing sounds pretty relaxing and good to sleep while listening to
@Kav2990
2 ай бұрын
My brother bought me a new keyboard 'cause he couldn't sleep because of my noisy one lol
I just LOVE this video. It really IS ASMR programming. Easy to follow every step and understand the working process, especially as you show how you look up information you need (or being kind enough to think the viewer need anyway). Also very good choice of tooling and scope I think; basic ASCII instead of some graphics lib that needs initialization and stuff, plain good ole C and some global variables to make the little program less messy (procedural and data abstraction may be a good thing for most cases but here it would just clutter and complicate. Inspiring, captivating and pedagogic me thinks. All the best from a fellow programmer. :)
Only a few seconds in and I was melting from the pleasant sounds.
I really love the sound of this keyboard ❤
Great video! 18:04 was my favorite part! Closes the tab just to open another one. Glad to know I'm not the only one💀
@ServetGulnaroglu
Жыл бұрын
Thank you! Yeah, that way I feel better :)
@ziaurrahman9529
Жыл бұрын
it seems to be easier than removing the word from the search :D
@GerbenWijnja
Жыл бұрын
My favorite part was 0:03 touching cube.c before opening it. Servet, why?
Bu kadar yetenekli bir yazılımcı daha görmedim ömrümde, emeğinize sağlık ve eğer yorum olarak nereden başladınız nasıl ilerlediniz bir tecrübe aktarımı yaparsanız herkese faydalı olur. İyi çalışmalar...
Doing stuff like this is actually a breathe of fresh air rather than dealing with business problems all the time
@marinamaged962
Жыл бұрын
Are you a business major
@trevorfranks69
Жыл бұрын
@@marinamaged962 what do you think a programmer does on the daily? Just beep boop beep boop?
@marinamaged962
Жыл бұрын
@@trevorfranks69 I’m a programmer and that’s literally all we do
Kısa zaman oldu sizi takibe alalı ama gerçekten ben gibi birçok genç arkadaşa, bu işi öğrenmek isteyenlere ilham olduğunuz aşikar. Temennim boynuzun kulağı geçmesi ama nasip kısmet :D Eline emeğine sağlık hocam başarılarının devamını diliyorum.
Impossible don't subscribe in your channel, haha. What an amazing video, bro! Keep up with this awesome content! I didn't understand much the math stuff but I really enjoyed that 😁
Cute keyboard, calming sound I like
I didn't know this is something I needed in my life.
Mind-blowing... gotta finish it tomorrow :-) Almost Doom. Thank you
The keyboard sound, feels like you are typing in finger into wood my man. Really nice math and programming skills.
I love how you used matrices. I'm taking linear algebra classes tomorrow too. I wish one day I can code smoothly like you
A genius man. the code helps me fix it my Insomnia.
Very good. You could use quaternions for a more of natural rotation than the rotation matrices. Quaternions let you specify the axis of rotation where the rotation matrices usually don't have a consistent rotation axis which is unnatural. You can also combine rotations with quaternions for some cool effects that look completely natural.
@HyperFocusMarshmallow
Жыл бұрын
If quaternions are mentioned we might as well also mention geometric algebra. As far as rotations goes they can be used to get the same improvement that you’d get from quaternions, but in a more transparent way, that generalizes better to any number of dimensions. Check it out if you haven’t, it’s pretty cool stuff and and they’re quite good at building geometric intuition in my opinion! Then again, not everything has to be optimal or use the absolute best tool for the job. If you know a tool that does what you want, just use it. You can always pick up new tools when you want to or need to! Happy programming!
@wise_old_tree
Жыл бұрын
Tf
@nkay441
Жыл бұрын
@@wise_old_tree 😂
@staticmemes3556
Жыл бұрын
@@wise_old_tree 😂😂💔
@rikiz98
Жыл бұрын
@@wise_old_tree basically shit that robotics/math engineers say
Fell asleep to this and legit had a dream that i finished a project im working on. So when i woke up I just chilled and took it easy and then checked for comments....im super behind now. Thanks alot man!
@Pogass
Жыл бұрын
xqcL
@morallycorruptmaleficentti1194
Жыл бұрын
@@Pogass OMEGALUL lets get a RIP in the chat for my job
@mrsnup
Жыл бұрын
@@morallycorruptmaleficentti1194 u lost your job?!?!
It looks amazing. I realy love this atmosphere) Thank u
@ServetGulnaroglu
Жыл бұрын
I'm glad you like it
I had no idea ASMR programming existed. I am so on board for this.
great work and problem-solving, I really enjoyed watching your thinking process while you code.
@TheBrainn
Жыл бұрын
He’s copying off another screen.
@jazzgirl2358
Жыл бұрын
@@w1l1 Exactly, I tried to do this myself, took me like 10 hours and lots of debugging. Programming is not only typing but mostly thinking. Crazy how many new programmers will be mislead
@suyahatesntr
Жыл бұрын
@@w1l1 wtf. It depends how you perceive the message. The hell are you talking about, do you think they intend to destroy someone, what if their intention is actually the opposite.
@TheBrainn
Жыл бұрын
@@w1l1 yeah pretty much but this is probably more of a subtly humorous or satirical series that’s just meant to be listed to in the background for that type-y office ambience
@Kaminomenom
Жыл бұрын
@@w1l1 That's not the youtuber's intention though, and It's their choice what they think about it and it shouldn't be the youtuber's fault
Офигеть... Как же это круто!
I fell asleep , best educational asmr ever !
This is a really cool code and this will help me keep learning how to code so i can be like this guy
I love the fact that we live in a world where you can literally jsut look up anything and get an answer for it like we are able to build so much so fast based off so many others frameworks
I'm new to programming and this will be my inspiration.
@luiscamacho1996
Жыл бұрын
You will never make it. Programming is for 180 IQ asians only.
@G41headache
Жыл бұрын
Best to learn how to write clean code first. Understand concepts like OOP, SOLID principles and TDD.
You made it look so ez. Its so cool gotta try it out
Really speed ran that spinning cube, nice job man.
Great !! and amazing skill. Thank you for relaxing.
@ServetGulnaroglu
Жыл бұрын
Glad you enjoyed it!
As someone who is about to self study linear transformations, this is very motivating even though it’s scary.. lol
uhhh i came from recommended and i didnt watch anything like this but this is cool i literally sat here and watched this whole thing, i like
@bytezorro
Жыл бұрын
😆
I have no idea what the hell is going on in there but it's so relaxing to watch
Other people: ASMR 🤤 Me: free code 🤑
Dziękuje za wspaniały film oraz czytelną implementację kodu w c oraz użycia trybu tekstowego. Prostota i elegancja w jednym.
@awli8861
10 ай бұрын
Tak? To świetnie
You're a great coder. Don't let anyone keep you down.
@ServetGulnaroglu
8 ай бұрын
Thank you joseph 🥹
i think this was better as a learning experience then a relaxing one
nice one and iam have done the same 3D rotating cube but on OpenGl graphics Great work there man
@ServetGulnaroglu
Жыл бұрын
Nice work! Glad you liked it
As programmer, NeoVim user and mechanical keyboards fan, I find this SO relaxing and amazing. Thinking about porting your code to Rust, just because Rust is sexy.
The slamming a finger down on a button on a keyboard is the best noise ever.
Really fascinating to see how you use screenshots as part of your workflow. Gonna have to borrow that trick.
@user-sj3rn6yf6k
Жыл бұрын
What the program?
@SonnyVA
Жыл бұрын
@@user-sj3rn6yf6k apple has a built in screen shot application, windows should have it too? not too sure
@VigilIsWatching
Жыл бұрын
@@SonnyVA snipping tool
@jeffxdd4351
Жыл бұрын
Yep Snipping tool (Win-Shift-S). If you want the window to remain on top as it does in macOS, install Microsoft PowerToys which contains a bunch of useful tools, like keybindable colour picker and, of course, a tool which allows you to force any window to always stay on top. I don't think there's a way to do that without installing something, unless I'm mistaken.
Finally, a real programmer.
way more simple than what i would've thought
I started with the world of programming recently and honestly I have no idea what is going on in the video, but I hope one day to have that ability to program like you, enjoy the video a lot.
@lerebox
7 ай бұрын
@@NeoCoderNet damn good job
Programming + Linear Algebra goes hard
People have different views on how coding works but to me it’s like learning a language, that’s it. It’s just how I see it
thank you for making this video. i will watch it tomorrow and will try to learn how you did this! (me obviously lying)
As a programmer and an insomniac, nice recommendation KZread., was not expecting this at all but it turned out great.
Heyy you use Mac right so you can map those escape and(or) ctrl(cmd in Mac i Guess) key to caps lock using karabiner elements( and other keybinds for ur pc according to ur needs ) , this would help you so much with vim and other general purpose copy, paste, stuff etc you can use your left hand for everything on the left and right ctrl just doesn't need to be pressed, also you an use ctrl/cmd + [ to go to normal mode
I don’t code, also not into it… but I got caught up and watched the whole video lol pretty cool vid🔥 seems so hard to code
I never stop watching this
A video full of little trick and an implementation of math... Damn you give me the inspiration to finish and take the University degree
really great and relaxing.
I'm taking computer science, and seeing this makes this part of my bucket list ❤
Thanks for this video ! Very cool.
cool, been trying to make something similiar in C# but went wrong so far :D EDIT: today completed it using your calculateX,Y,Z functions !! thx for inspiration
@nguyentiensu3825
Жыл бұрын
wow youre so great
Can you make a video explaining your train of thought when making this please? I am extremely curious how you did it, and maybe try replicating it.
Perfect design 👌
This is pure art
I really like the sound of your keyboard and the flexibility it has. From which brand is this keyboard from?
Vc é um gênio
The dude just coded a distraction out of existence on a website. He is too powerful.
I love that keyboard sound
I love your vim, could you share your plugins / config ?
Great video! I was wondering, how do you keep windows on top while working on one in the background?
@dialecticalmonist3405
Жыл бұрын
It's probably a feature of the note app he's using. But I don't know what he is using.
@thesoundoflife6973
Жыл бұрын
He is using vim, probably on a terminal window I think I think he has some other app to do that🤔
@sisyphus6800
Жыл бұрын
For windows you can get Powertoys it includes a feature where you can force any window to be in the front also other useful tools.
Incredible job man thats impressive
I don’t know what I’m watching but it’s cool seeing this guy do this
How are you popping up the always-on-top windows from the selection crop? Brilliant stuff man, learned so much watching this. From a lowly python dev x
@AndyFuntown
Жыл бұрын
This is what I want to know....
@user-vi8dd8pi6w
Жыл бұрын
+1
@jaseejaocalo6654
Жыл бұрын
up
@imax1337
Жыл бұрын
+1
Hello I often see you quickly format the long code you copied from the other site Could you told me what shortcut is it? Or can you share your vim setting ? This would be helpful for me ! Many thanks ! Also great video for programming !!
@MaizuRoad
Жыл бұрын
+1
@pavloburyanov5842
Жыл бұрын
+2
Thanks this is going to help with creating a sweet project.
Quite good explanation without saying any word
Let’s go! Been waiting for this one! Got any tips for me? I’m learning python in my first year
@ServetGulnaroglu
Жыл бұрын
You can watch python crash courses on freecodecamp
@Bot-lj6nu
Жыл бұрын
Rather go and watch python course of BRO CODE.
@lassyoutube
Жыл бұрын
@@Bot-lj6nu HONESTLY
For anyone wonders which board he's using, it's a Iqunix OG80. Thank me later ;)
@rodjnn
Жыл бұрын
do you know what screenshot utility he used?
@tueucnguyen7641
Жыл бұрын
I don't know unfortunately. Maybe Final Cut cus he's using a mac.
@MoMoneyMoritz
Жыл бұрын
thanks mate! hero :)
so satisfying!
what is your screenshot software😀
What site is used to calc matrix? It seems very useful.
@callum5474
Жыл бұрын
symbolab
@diegof4083
Жыл бұрын
@@callum5474 thanks
Ahh the beauty of C not bounds checking that zBuffer memset, and then having it not explode at runtime :)
@WeyardWiz
Жыл бұрын
That part confused me. What is that used for? And what would happen w/ out it?
This is awesome!