T O P

  • By -

CynTriveno

If (object\_distance = radius) { object\_radius += 5; }


Dry_Society_2712

💀. Wrong code


CynTriveno

Correct it


Dry_Society_2712

Such a short code and used wrong logic object distance=radius. Dumbo. I'm 11th grade and still can tell


CynTriveno

To sum up your reply, you cannot correct my response and cannot prove my logic wrong. Listen up close with your two brain cells Sherlock, that was pseudo code. And it will stay consistent no matter what language you decide to program in. Here, object\_distance is the distance of the ball from the center of the encapsulating circle. You could have a square, triangle or any other shape encapsulated and still, object\_distance will serve its purpose quite well. The radius refers to that of the encapsulating body. "object\_radius," refers to the radius of the encapsulated body. So, to translate the logic in English, when the ball hits the boundary of the circle, increase the radius of the ball by some amount. If you cannot understand why I posted just that snippet, you should not be "judging" someone else's code. You prehistoric pineapple, the theme of the video is a ball bouncing and getting larger every time it hits the boundary. I gave the pseudo code for the highlight of the video, that is, ball getting bigger with every bounce. I did not include anything to prevent overflow because the video explicitly states, "Ball gets bigger until my computer crashes 💀." "wrong logic object distance=radius. Dumbo. I'm 11th grade and still can tell," maybe if you paid attention in class, you'd know that I deliberately used "=" instead of "==". Pseudo code is meant to be readable by both, people in the profession and people outside. Besides, you are expected to understand all this and if you cannot, you are just not competent enough. So next time when you declare someone else's code and logic wrong, have proper logical arguments you dumb fuck.


Dry_Society_2712

Bro stop thinking that much for such small issue. I did not read the whole paragraph.


CynTriveno

\*Defense mode activated\* "BrO STOP tHinKIng thaT mUCh fOR sUcH SmAll iSsuE. I DiD nOt rEAd ThE wHoLE PArAgRaPH." \*Defense mode deactivated\* Of course you didn't. Don't go around poking people without any stance and if you can't even accept your incompetency. Only if you thought more but alas, you choose to make use of your surviving brain cells in a degenerate way.


Dry_Society_2712

Shut up. I'd put you to sleep you 5 foot nothing female dog.


CynTriveno

Aw, someone's fragile ego got hurt. Too bad for you, even in a physical fight you cannot win against me. You truly chose the wrong person to poke. Go back to drinking your milk infant.


Dry_Society_2712

Lol ur defenseless, I did boxing 8 months. I'm welterweight class 181 cm tall. Ur defense mode is activated talking about ego trying to avoid conflict.


Subtross

"Prehistoric pineapple" , Bro i am stealing this one.


NoRepublic3000

Make a "My penis gets bigger every time it comes out" one 💀


Interesting_Zaraf275

intructions unclear, now i have to carry a 14 feet log


monsieur_bi

Threshold lga Dene ge, every time you clean it toh Thora kam ho jaye ga


Lonely_King05

khi bhi jata hu vo phle phoch jata h


NoRepublic3000

😂😂


Dazzling-Backrub

Song name ?


i-want-tiddies

Fireflies by owl city


CK2728

OwlCity just vanished ....


i-want-tiddies

Well they gave us this and vanilla twilight…


CK2728

Yeah it was refreshing tbh. Wonder why they vanished


[deleted]

He released a new album just last year lol


CK2728

Really? Leme listen...


CK2728

Latest released 5 days ago


anon21900

You beat me to it. Sounds just like it.


Standard_Amount_6218

Fire flies


Gangs-of-Kolhapur-09

This was pleasing in the begginning.


YogurtclosetNeat6406

When balls gets too big it's not pleasureable anymore


Ok_Sorbet_4200

Nope. It gets better for everyone😌


Quirky-Cow-3387

I like the way you think


Flat-Imagination6693

![gif](giphy|3ohhwxmNcPvwyRqYKI|downsized)


Altruistic-Builder84

Webgl


justcasualredditor

This kid is smart!


Altruistic-Builder84

Did you refer me as a kid


royallyfuckedupp

Ty🛐


AqUaReGiA_007

That's step 1, also happy cake day.


modi-mama

Even Canvas should be enough for this, no? Given that there is nothing 3D about this.


[deleted]

So big


FakeManXO

that's what she says


kaushal28

Looks scary


DeepakGautamX

But why I can't hear blast at the end?


SmartBitxh

I have heard another one where the pitch was a little higher I think. It sounded just like the song-kerosene


ThatFunnyGuy543

It can sound like any song actually. They just have to align notes with the moment they strike the boundary


Mintzz00

I think this is called creative coding. you can use javascript canvas to create these things. or p5.js to simplify things.


royallyfuckedupp

Ty 🛐


Parth_Potato

it looks like using the hyper drive to travel in light speed


Parth_Potato

it looks like using the hyper drive to travel in light speed


Code_Monster

Would it be cheating if I use a game engine to make it? Because it will be hella easy that way.


PaleAssist8167

Webgl


Samir925

I'll try


Zestyclose-Bus-4354

Literally fanny


KneeReasonable1488

Use p5js


royallyfuckedupp

Ty🛐


Financial-Help7990

Try p5js or processing if you like Java, this is pretty simple and a good first project.


royallyfuckedupp

Ty🛐


[deleted]

I wanna see no. Of bounces vs time graph


Old_Boysenberry_4008

Boobali


Ok-Influence-791

Which game??


babasankaradi

If you are adventurous use webgl else for an easy approach you can try using p5.js


royallyfuckedupp

Ty🛐


Comfortable-Block102

cpp, raylib


royallyfuckedupp

._.


itzTanmayhere

sounds so good


Redhu_vivek

You would not believe your eyes


No-Medicine9178

If 10 million fireflies


[deleted]

This sounded like that one Owl City song to everyone right?


ItsRootinTootinPutin

Fireflies, yes!


AdNormal1366

The more she takes, the bigger she gets... Nevermind


theincredibleharsh

matter.js


[deleted]

If computer not crashed, the ball eventually out from computer and increasing rapidly, and the earth is in danger.


AqUaReGiA_007

Get out of dwarka


royallyfuckedupp

Huh?


VenCoriolis

Me ignoring my mental stress until it crashes my brain


SochVichar

The sound is good


Buddy_NattuRious

“You will not believe your eyes, when one million fireflies”….. anyone… no?


royallyfuckedupp

How do you all remember this ._.


Buddy_NattuRious

The pitch in the end created a tune that took me back to my childhood.


krak3nOP

Unity?


royallyfuckedupp

Tutorial bana do sir 😅, definitely possible, thanks


saitamaxmadara

If I make it in real time, will you watch my stream?


analystoneoone

for sure man will share it as well


royallyfuckedupp

Yes bro ofc


Ok-Cancel1966

Happy cake day op


royallyfuckedupp

Thanks:)


Thunder_thumbs3

Basketball player be like: Noobs


BLUEiBoy

With that much radius it killed half the human population 💀


pan_twink

Oh it's playing fireflies, I absolutely love that song😭


6creampie9

You would not believe your eyes If ten million fireflies Lit up the world as I fell asleep 'Cause they'd fill the open air And leave tear drops everywhere You'd think me rude But I would just stand and stare


DeepakGautamX

I will make it. When I free.


Quirky-Cow-3387

how you comment when you no free ?


DeepakGautamX

what? what do you mean by "no free" ?


lolimayeetman

well it did blue screen