Box - 04-27-01 - Quadcopter
Student: Zijun Zhao (GitHub: gyt1Kf)
Student: Guanhao Wang (GitHub: HowellWang04)
The quadcopter is built from scratch using primitive geometries: a flat body box with a dome, four arms each ending in a motor cylinder and cross-blade rotor group, and a landing gear with skids and legs. Propellers alternate between clockwise and counter-clockwise rotation.
Instead of a simple circle, the aircraft flies a figure-8 (Lissajous) path with sinusoidal altitude variation. The heading is computed each frame from the velocity derivative using atan2, so the nose always faces the direction of travel with a forward pitch tilt.
As the quadcopter flies, it leaves an ink trail on the ground rendered via a Canvas2D texture updated every frame. Each ink point has a core dot and a bleed halo; opacity decays over 9 seconds to simulate drying ink, so the trail gradually fades behind the aircraft as it completes the figure-8.
Student: Jiaqi Ye (GitHub: Jiaqi-Ye)
Student: Pavan Thodima (GitHub: pthodima)
- Radar points at the propeller airplane
- There is an x-wing flying above the airplane in the opposite direction
- Some stars in the background.
- Switchable cameras (Essentially 4 different cameras, I tried using a 5th to lerp between them smoothly, but the code got too complex).
- The airplane also moves up and down while going around in a circle, the barrel roll is actually a bug that stems from how I handle pitching up and pitching down, but it looked cool, so I left it in.
Student: Yulong Wu (GitHub: seealake)
Student: Tyler Tang (GitHub: ttang56-lang)
Student: Yeheya Mohammad (GitHub: YeheyaMohammad01)