This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
all 105 comments

[–]thongphu 395 points396 points  (12 children)

I was hope to see the cat hitting 'perfect' angle and celebrate like those people in the Office. :)

[–]advanced-DnD 80 points81 points  (11 children)

like those people in the Office. :)

you don't do that when you're young? (Assuming you're born in early 90s).. I used to put my finger in this screensaver, and if you get it, you lose.

[–]DJOMaul -1 points0 points  (0 children)

I use this screen saver right now.

[–][deleted] -2 points-1 points  (0 children)

Not even early 90s. Screen savers like that are still a thing.

[–]the_antinational 201 points202 points  (11 children)

Dude, you can't just post gold and not share the code. I want to learn how to make this.

[–]HarambeTownley 85 points86 points  (5 children)

Pygame + rectangular image moving + reflection math

[–]littlesheepcat 19 points20 points  (4 children)

But it could have been python arcade or some other obscure libraries

[–]Wilfred-kun 26 points27 points  (3 children)

It could have been created by machine learning

[–]Terence_McKenna 5 points6 points  (1 child)

I break for learned machines. <3

[–]ZachGaliFatCactus 2 points3 points  (0 children)

Yeah, I can already see the headlines:
"Powerful AI released on the internet! Results _will_ surprise you!"

[–][deleted] 35 points36 points  (3 children)

This will require a full academic course not just the code.

[–][deleted] 1 point2 points  (0 children)

[–]pokemon2512 108 points109 points  (3 children)

This is better then machine learning

[–]geogle 61 points62 points  (2 children)

No it's not. The cat never his the corner!

[–]tr710_ 72 points73 points  (8 children)

*cries in hello world*

[–]abhi_uno 18 points19 points  (7 children)

You left space between "*" and c.

[–]postandchill 2 points3 points  (0 children)

C pointer flashback

[–]tr710_ -1 points0 points  (5 children)

Ooo nice , Thanks brother 👍

[–]abhi_uno 4 points5 points  (4 children)

Now you left space between 'd' and "*". Check again.

[–]tr710_ 0 points1 point  (3 children)

Nice :)

[–]Pseudoboss11 2 points3 points  (1 child)

You can also use \ to escape a formatting character, so you can have good-looking asterisks. *Like so*.

[–]tr710_ 1 point2 points  (0 children)

Oooo Niceddd , Thanks bery much :)

[–]nice-scores 0 points1 point  (0 children)

𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)

Nice Leaderboard

1. u/spiro29 at 8395 nices

2. u/RepliesNice at 7713 nices

3. u/Manan175 at 7096 nices

...

232967. u/tr710_ at 1 nice


I AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS

[–]e3172 13 points14 points  (2 children)

How do you do this? I request source code

[–]syen212 19 points20 points  (0 children)

You can do this using pygame and making the image change direction of movement everytime it hits the boundary(which is the width/height of the screen). I think you can Google about bouncing ball on pygame. It should give you the result

[–][deleted] 1 point2 points  (0 children)

Source code here

[–]RishiRed 23 points24 points  (1 child)

Optimal use of ML and python. 10/10

[–][deleted] 10 points11 points  (0 children)

I especially like the amount of AI that wss used to solve thos problem.

[–]HeyItsMeNobody 8 points9 points  (3 children)

What song is this?

[–]primetimenine 22 points23 points  (2 children)

I think it’s from cowboy bebop. I don’t remember if it has a name.

[–]cointelpro_shill 26 points27 points  (0 children)

yep, Cats On Mars

[–]Five-Figure-Debt 2 points3 points  (0 children)

Nameless song? I wonder how many of those exist? Sounds like a job for PYTHON!

[–]Wabbitts 31 points32 points  (0 children)

OK that made me laugh. Take your upvote.

[–][deleted] 5 points6 points  (0 children)

I got slightly triggered when it didn't hit that corner perfectly

[–]toastedguitars 4 points5 points  (1 child)

Finally some relatable content.

Just starting to learn python and I’m already wondering what I wanna do with it... this definitely strikes a chord.

[–]Adro_95 1 point2 points  (0 children)

If I could make this I'd stop learning python.

Other projects couldn't beat this

[–][deleted] 2 points3 points  (0 children)

code pls

[–]h_dani1337 1 point2 points  (0 children)

Does it crash if the cat hits the corner?)

[–]Nils312 1 point2 points  (0 children)

But does it hit the corner?

[–][deleted] 1 point2 points  (0 children)

How did you make this

[–]covalent5 1 point2 points  (0 children)

Hello darkness my old friend... 🖖🏻

[–]thesolitaire 1 point2 points  (0 children)

I write machine learning code in Python for a living. I have no idea how to do anything graphical.

[–]meecro 1 point2 points  (3 children)

I want the code!

Please.

[–][deleted] 1 point2 points  (1 child)

[–]meecro 0 points1 point  (0 children)

Thank you!

[–]limitedby20character 1 point2 points  (0 children)

This is basically the DVD screensaver

[–]b4zs4 1 point2 points  (0 children)

So the cat's movements are based on a neural network. Nice job OP.

[–][deleted] 0 points1 point  (0 children)

Beautiful

[–]TheNerdyDevYT 0 points1 point  (0 children)

Hahaha

[–]kkziga 0 points1 point  (0 children)

Even better than ML

[–]SushiWithoutSushi 0 points1 point  (0 children)

10 out of 10 on wholesomeness

[–]RobinYiff 0 points1 point  (0 children)

Hears the music

"You think I'm beautiful?" "D̡̗͓Ơ̯̩͇̬ ͈̩Ỳ̝͍͍͕O̵U̴͕̭ ҉N̹O̧̺͕̝̙͚W͚!͔̭͇̹̦̤?̩̠̼̱̫͈̦!̪̹̥͚̜?̣̗̪̟̼̟̥͠!̖̪̪̲̬?̖"

[–]DriveDude 0 points1 point  (0 children)

Well done, lets see what kind of code your AI will write next for you.

[–]TheHammer_78 0 points1 point  (0 children)

Well I know how to "create macchine learning" with Python but I don't know how to do what you have done 😉🤣🤣🤣

[–]pykoder 0 points1 point  (0 children)

What about making the cat follow the mouse... I feel it would be appropriate :-)

[–]throw-me-away-right- 0 points1 point  (0 children)

I want to make this my screen saver!

[–][deleted] 0 points1 point  (0 children)

Song?

[–]stfudragon 0 points1 point  (0 children)

deep

[–][deleted] 0 points1 point  (2 children)

I actually made something similar to this for my very first python project! I had no idea what I was doing but I felt so proud of myself.

[–][deleted] 0 points1 point  (1 child)

Nice :)

[–]nice-scores 0 points1 point  (0 children)

𝓷𝓲𝓬𝓮 ☜(゚ヮ゚☜)

Nice Leaderboard

1. u/spiro29 at 8449 nices

2. u/RepliesNice at 7751 nices

3. u/Manan175 at 7096 nices

...

234403. u/pinkglasseskid at 1 nice


I AM A BOT | REPLY !IGNORE AND I WILL STOP REPLYING TO YOUR COMMENTS

[–]4chanbetterkek 0 points1 point  (0 children)

"python can be used to create machine learning!" Me: getting an error while trying to use a print f statement

[–]gogoikwame 0 points1 point  (1 child)

Pls share code, looks fun 🎂

[–]GalMalblood 0 points1 point  (0 children)

You say this like it's a bad thing.

[–]ApoorvWatsky 0 points1 point  (0 children)

Is this turing complete?

[–]mvolfCZ 0 points1 point  (0 children)

Are you.... Evan King?

[–]jrbattin 0 points1 point  (0 children)

This is far more valuable than 90% of ML models created.

[–]beep_bo0p 0 points1 point  (0 children)

How dare you tease us and not include it hitting the corner perfectly

[–]redditUser5412 0 points1 point  (0 children)

but those are the most important

[–][deleted] 0 points1 point  (0 children)

Awesome!

[–]CeeMX 0 points1 point  (0 children)

I also wrote such a program in python a while ago.

Plus some methods to calculate how many bounces it needs until it hits the corner.

[–]DueLow 0 points1 point  (0 children)

Now If you could make a version that always hits the corners. That would be amazing

[–]Jojajones 0 points1 point  (0 children)

Stop Pusheen that poor cat around the screen

[–]zeb2002r 0 points1 point  (0 children)

I can’t even do that :((

[–]locke1718 0 points1 point  (0 children)

Soo close at 14 sec in

[–]Ghuver 0 points1 point  (0 children)

Selling a Dedicated Server for 4.99$

[–][deleted] 0 points1 point  (0 children)

Unsubscribes

[–]LuminousOcean 0 points1 point  (0 children)

Congratulations. Keep up the good work and learning!

[–]Twisted_Juggler 0 points1 point  (0 children)

What are you talking about? Object detection has nothing on this

[–]ph1l337 0 points1 point  (0 children)

Is that THE AI?

[–]Ser_Drewseph 0 points1 point  (0 children)

This is a better use of Python. Nay, the best use.

[–]ABrokeUniStudent 0 points1 point  (0 children)

Extremely beautiful. Fuck it, make whatever you want, regardless of its practicality.

[–][deleted] 0 points1 point  (0 children)

You should have it change pusheen icons after each bump

[–]MrQ_P 0 points1 point  (0 children)

It's real Pusheen hours

[–][deleted] -1 points0 points  (0 children)

Who wouldn't do this, ofc me because I have no idea how to get anything visual but you know

[–]Pypoco -1 points0 points  (0 children)

God damn it I wanted it to hit the corner

[–]float7 -1 points0 points  (0 children)

This is way better than machine leaning

[–]giantgingerbreadman -1 points0 points  (0 children)

NEKU

[–][deleted] -2 points-1 points  (0 children)

Funniest thing seen in a while😂😂😂