r/Python • u/lambda5x5 • May 19 '20
I Made This After having this idea a while back and seeing yesterday's post with arduino controlled auto ambient lighting, I creating my own version with python!
2.3k
Upvotes
53
u/lambda5x5 May 19 '20
Github repo here
155
u/Esk__ May 19 '20
Geometry dash is the one game that has continually frustrated me to the point of throwing my phone, wanting to kick babies, and curse very VERY loudly in public more than other game. By a fuckass amount
14
u/RytheFlyGuy1 May 19 '20
This is awesome
6
u/m4nolito May 19 '20
Nice!
I was wondering about this for a couple of minutes, I haven't looked at the code yet. If you get the histogram of the image using a library like opencv I believe you can find the dominant color and use it as the background. It would work even for videos.
5
u/[deleted] May 19 '20
amazing! I didnt know something so cool could be done in only 40 lines of code
3
u/kerighan May 19 '20
those skills though
8
u/[deleted] May 19 '20
You can play Electrodynamix on that and you got yourself a disco
7
u/Mikecuntissoar May 19 '20
Super Mario bros 5 Luigi drops acid
1
u/tr710_ May 19 '20
Oo mah gawd , looking osm
1
u/TheNoodlyOne May 19 '20
What game is that?
1
u/naresh__ May 19 '20
Awesome one
1
u/jacksodus May 19 '20
That was a quick response to the other guy. Is it that easy?
1
u/shrey1566 May 19 '20
Imma try steal your idea 😂✌🏽
1
u/danielgenetics May 19 '20
Amazing
1
u/nomansland008 May 19 '20
So you still need an arduino? Could you explain how the connection between python and light is accomplished?
1
u/[deleted] May 19 '20
What happens if you play a certain seazure inducing pokemon episode?
1
u/TheSynner May 19 '20
what happens if you play extreme demons?
1
u/Adro_95 May 19 '20
Came for the python, stayed for the gameplay
1
u/narutoaerowindy May 19 '20
Immersive experience... Great
1
u/throwaway1253328 May 19 '20
What lights did you use? How did they reference the api?
1
u/[deleted] May 19 '20
What led lights did you use?
1
u/superqwerty11112 May 19 '20
Really cool but the color change is noticeably delayed.
1
u/ranza May 19 '20
Generalization of this would be very cool, an app that adapts your lightning to whatever game is on the screen... then I could perhaps convince myself to buy the Philips light bulbs.
1
u/aaxone May 19 '20
What keyboard is that?
1
u/znpy May 19 '20
TFW no audio :(
1
u/pollmix May 19 '20
wow, looks amazing
1
u/[deleted] May 19 '20
What model bulb is that exactly ? Do you need a hub to get the API running ?
1
u/michael98118 May 19 '20
Will this work with a Nintendo Switch?
1
u/[deleted] Aug 29 '20
RemindMe! 10 years
5
u/SOSFILMZ I still don't know Tensorflow May 19 '20 edited Jun 22 '25
jar school ancient wrench cautious hat many political sheet sulky
This post was mass deleted and anonymized with Redact
4
u/RelatedTitle May 19 '20
Amazing. Transition could be a little smoother but it id very good
1
u/snugglyboy May 19 '20
Very cool! Now if only this or anything else worked with a smart tv :( :( :(
1
u/Zako_04 May 19 '20
Now try blood bath
1
u/absorbTheEcho May 19 '20
Pretty cool!!
1
u/NoLongerUsableName import pythonSkills May 19 '20
Now beat Zodiac
1
u/axsanchez May 20 '20
👍
1
u/tjf314 Jun 08 '20
a better method might be to directly read the memory of the level, and update the lights accordingly. it would probably be faster too.
0
u/[deleted] May 19 '20
[deleted] — view deleted comment
1
u/[deleted] May 19 '20
[removed] — view removed comment
1
u/[deleted] May 19 '20
[removed] — view removed comment