Skip to content

Instantly share code, notes, and snippets.

@faustinoaq
faustinoaq / bounce.cpp
Last active January 26, 2025 18:39
OpenGL animation of a bouncing ball inside a transparent rotating cube that changes direction on click
/**
* @file bounce.cpp
* @brief OpenGL animation of a bouncing ball inside a transparent cube
* @author @faustinoaq
*
* This program creates a 3D animation using OpenGL and GLFW showing a red sphere
* bouncing inside a transparent cube with colored faces. The animation includes:
* - A rotating view of the scene
* - Sphere-cube collision detection and response
* - Transparent cube faces with colored edges
@faustinoaq
faustinoaq / migrate.sh
Last active March 31, 2025 10:02
Migrate the old UIUCPlus to the new UIUCPlus, ensuring it is properly formatted and compilable.
#!/bin/bash
# Migrate the old UIUCPlus to the new UIUCPlus, ensuring it is properly formatted and compilable.
# Cleanup
rm -rf FormattedUIUCPlus NewUIUCPlus
# Clone updated repos
git clone https://github.com/sugamadhiakri/UIUCPlus FormattedUIUCPlus
git clone https://github.com/summer-research-program/UIUCPlus NewUIUCPlus