News for hackers. Stuff that matters.
Re:Put the DVD logo in the corner (2023) by dingaling on Friday July 05, 2024 @04:38PM (#40885788)
If it somehow did hit exactly right angles into the corner, wouldn't it then be stuck bouncing between diametrical corners?

In fact I don't see how it ever could hit a a corner exactly.

Re:Put the DVD logo in the corner (2023) by Retr0id on Friday July 05, 2024 @06:44PM (#40886711)
Re:Put the DVD logo in the corner (2023) by Aditya_Garg on Friday July 05, 2024 @06:50PM (#40886749)
Only if the tv is a square, which most tvs are not.
Re:Put the DVD logo in the corner (2023) by NAR8789 on Friday July 05, 2024 @04:59PM (#40885956)
Try on paper originating it from a corner on a rectangle where the initial path is just offset from the diametrical corner.
Re:Put the DVD logo in the corner (2023) by sopooneo on Friday July 05, 2024 @06:24PM (#40886594)
You clearly know more about this than me, because I'm currently Googling to understand what "diametrical corners" are. But in a simple implementation, wouldn't the x and y velocities both be reversed at once with a corner hit, both side and top/bottom collisions having been detected "at once" in the same part of the code between updating positions? And then the logo would just bounce out exactly the way it came in?
Re:Put the DVD logo in the corner (2023) by lupire on Friday July 05, 2024 @09:34PM (#40887566)
"diametrical" is fancy for "opposite".

You are correct.

Re:Put the DVD logo in the corner (2023) by Keyframe on Saturday July 06, 2024 @07:14AM (#40889689)
Re:Put the DVD logo in the corner (2023) by matt-attack on Saturday July 06, 2024 @10:05AM (#40890557)
Curious to know if you’re under the presumption that TVs are square? Or are you imagining that the logo doesn’t move at 45 degrees?

Both seem obviously false but I’m struggling to think how someone could otherwise have come to your conclusion.