For the creative exercise, I decided to clean up my Week #1 Creative Exercise cat sketch by using functions for each of the body parts. After practicing functions with the previous exercises, this wasn't too hard. The only thing I couldn't get to work was copying the tail animation that I added from Week #2. I tried to copy it into the new tail function, but what it did was remove the tail and animate the head. Other than that it wasn't too hard.
For the lofi AR assignment, I utilized a transparent sheet, a sticker, and a pencil case that I had to create this gif of a bee moving through a flower field. The most difficult part about this is obviously the reflective qualities of the sheet and the difficulty in keeping it flat while filming with the other hand. Overall, I'm still happy with the result and finding two items that work together instead of just having the bee move through the room or something.
Apex Legends Motion Controller Concept: A handheld motion controller that replaces the mouse functions in Apex Legends. Hardware: I used the Arduino Micro for it's native usb functions with a MPU 6050 accelerometer to mimic the movements of a mouse and control the camera movement. There are 3 buttons: one to control aiming, one to control shooting, and a button to turn around 180 degrees. When the game is not open, it can also just function as a mouse and control the cursor. Since it is just replacing the mouse it also functions in other games as well. Final Product: Video 1 Video 2 Code --------------------------------------------------- #include <MPU6050.h> #include <Wire.h> #include <I2Cdev.h> #include <Mouse.h> #include <Keyboard.h> MPU6050 mpu; int16_t ax, ay, az, gx, gy, gz; int16_t accx, accy, accz; int vx, vy; int TRIGGER_BUTTON = 5; int AIM_BUTTON = 6; int TURN_BUTTON = 8; int lastTurnPushed = 0; bool weaponModeOn = true; float a...
Comments
Post a Comment