Penguin Warrior is a RPG game where user can role play penguin in the Arctic environments. Several environmental objects are provided for users to navigate and engage with the space. The penguin can walk through water, grass but not rocks and walls. The bullet can be shot through water and grass as well, rather rocks and walls. This games demonstrates the use of Processing as a quick prototyping and Object-Oriented Programming library for interactive projects. With Java and Processing, it was a success showcase of Java classes, polymorphisms and inheritance of the OOP concepts.
The interface of the game is straight forward, users use a single joystick to control the movement of the penguin Avatar. User can press the SPACE bar for shoot and with two computers, users can actually interact with other players to play against each other.
To implement the game, we used the serial communication between Arduino and Processing with Arduino Firmata library. The joystick sends a single command through serial channel to the Processing terminal. When received the encoded commands, the Processing application extract the moves and run the game on screen. Here we used serial communication because the game is played sequentially so that serial communication can best ensure the command to be delivered in the correct order. The final results can be seen below.
Github Source Code →
Sports Clinic is a hackathon project made at UCLA IDEA Hardware Hack, Spring 2016. The theme of this hackathon is sports technology. Therefore my team decided to design a wearable device and a visualization userface that can send real data feedback to athletes and coaches of the movements they’re practicing. It is intended to help the athletes or even normal people to improve on their movements through machine learning algorithm, data visualization and haptic feedback
The users can enjoy real data streaming sent back from the wearable device. Cater to each specific sport, the wearable band will generate various parameters affecting the athletes’ performance. It is important to quantify the movements of athletes so that they can improve on the consistency of their movements.
The project utilized the Arduino MKR100 WiFi module, gyroscope and an accelerometer to calculate the pitch angle of how basketball players shoot free-throws. It then populate data through PubNub API in JSON format, so that users can visualize their data locally.
Github Source Code →