This is a pet project I started after the last Mayflower Barcamp.
I found the project interesting and fun, so I wrote a blog post about it.
The finished blogpost you can see here TODO: insert link
.
- Streams pixel data to a Pixelflut server at high frame rates.
- Implements performance optimizations, including delta encoding, multi-threading, and efficient buffer management.
- See commit history for step-by-step optimizations.
- Benchmarking support using JMH.
- Uses JavaCV for multimedia frame extraction.
- Java 21 or later.
- Maven 3.8+
- A Pixelflut server (e.g., pixelpwnr-server).
Use Maven to compile and package the application:
mvn clean package
Clone the repository, download the mp4 from the internet archive and place it in the root directory of the project named Touhou_Bad_Apple.mp4
.
Run the main class via
mvn exec:java -Dexec.mainClass="de.theoptik.badapple.Launcher"
Alternatively, you can open the project in your favorite IDE and run the Launcher
class directly.
By default the client will connect to a server running on localhost:1337
.
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions and feedback are welcome! Feel free to fork the repository, open issues, or submit pull requests.