Skip to content

Conversation

@TheAgamer554
Copy link
Contributor

Based on the famous touhou inspired black and white video (https://www.youtube.com/watch?v=FtutLA63Cp8), compared the coordinates of the LEDs to the pixels in the video to replicate it frame by frame. This was made trough a simple script i made in java to convert the images to csv frames for the tree.

The full version didn't fit, as it was larger than the 25 GB permitted on GitHub, so a trimmed version was uploaded. The full version can be found here: https://drive.google.com/file/d/1Zy1kz8YrNmLj9zM24qycitdXuQlJFZLi/view

the full version didn't fit, as it was larger than the 25 GB permitted on GitHub, so a trimmed version was uploaded. the full version can be found here: https://drive.google.com/file/d/1Zy1kz8YrNmLj9zM24qycitdXuQlJFZLi/view?usp=sharing
@avenzi
Copy link

avenzi commented Jan 1, 2022

I'm so thrilled that we had the same idea :D
You may want to check out my PR, which provides a link to my repo that has scripts to convert GIFs into the csv format. I actually did a full version of bad apple that I submitted with that PR, which ended up being about 37MB. You might be able to use my repo to cut down the size of yours as well, if you are interested.

@TheAgamer554
Copy link
Contributor Author

oh lmao, i just used ffmpeg and scanned trough every frame. I did it very lazily over an afternoon in java since that's the lang i was familiar with. Mine was around 27 MB at 30fps

@avenzi
Copy link

avenzi commented Jan 2, 2022

Oh I thought you said it was 25 GB, which is why I offered my repo. Looks like you got it worked out anyway.
I can't wait to see Matt's tree filled with memes :)

@d-albrecht
Copy link
Contributor

Hey, you might want to adjust the axes. I'm pretty sure that the image is only visible from the wrong side of the tree (in regards to Matt's camera position). The viewing perspective is outlined here: #21

@TheAgamer554
Copy link
Contributor Author

Hey, you might want to adjust the axes. I'm pretty sure that the image is only visible from the wrong side of the tree (in regards to Matt's camera position). The viewing perspective is outlined here: #21

yeah, i wrote the entire code without looking at the repo, so i just chose some random coordinates that look good. I will fix it asap, thx for the heads up

Changed the coordinates of the video projection from X Z to Y Z
@TheAgamer554
Copy link
Contributor Author

for your viewing (and listening) pleasure https://youtu.be/IUReVLqnLDQ

@d-albrecht
Copy link
Contributor

Next, someone posts a tool where you input a random YouTube video ID and can download the animation csv... Man, impressive!

Only the resolution isn't optimal, but that's nothing you can influence.

@oliverdunk
Copy link
Member

Super cool animation and process behind it! Love it!

@oliverdunk oliverdunk merged commit b7d3b57 into standupmaths:main Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants