Skip to content

FelixzeroSun/Animation

Repository files navigation

Since I already uploaded JSON file generated in step 1, into the step 2 folder, so you can just skip step 1, and follow the guidance of step 2 directly.

Step 1 (Optional): Open the 'segment.ipynb' file in Jupyter Notebook and run the code from top to bottom in an environment that supports '.ipynb' files. After running the code, a new folder will be generated containing images of all the frames, allowing us to visualize and choose parameters for optimal segmentation effects. Additionally, a JSON file will be created, which includes the coordinates for each individual part.

Step 2: Navigate to the 'sketch_241107a' subfolder within the Processing directory. You will find all the necessary materials and related action-handling code in this folder. Open 'sketch_241107a.pde' and run it to view the complete animation process. If you press the run botton in the Processing, you will see the whole animation process. And an output video will show under Processing folder.

Note: In the demo video, to better showcase all the functionalities, I have adjusted the initial number of lives to 3 and cut down few seconds in the previous video. The drop interval for the black bombs has been adjusted to approximately 0.8 seconds, with the left and right hands releasing them randomly. The red bombs are released every 3 seconds once the conditions are met.I generated the output video by VideoExport provieded by Processing, I removed this part for the submission version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published