Inspiration

We wanted to development an application for the Myo armband and take advantage of its features. A paint application was a perfect idea as it made use of both arm movement and gestures.

What it does

Make a fist to paint Spread your fingers to change colour (Current colour is displayed at the bottom) Move your hand inward and outward to make the brush thinner and thicker Click on the Erase button to use the eraser (By hovering over button and making a fist) Save the image using the Save button Clear the canvas using the Clear button

How We built it

We used the Myo Connect application to use the Myo as the cursor and register the fist gesture as a hold until released left click

We used the java.awt and swing to implement the graphics. The java application tracks the cursor and draws when the fist gesture is selected.

In addition, we also utilized maven with the Java Myo library as a dependency communicate with the armband to check for other gestures and perform other functionalities.

Challenges We ran into

We had a lot of difficulties trying to implement our custom cursor control using the gyroscope and accelerometer. In the end, we decided to use the Myo Connect application to map the cursor for us and just use the cursor input instead.

Accomplishments that We are proud of

We were able to use the Myo Java library to connect the Myo with our application. We also managed to read the gestures using the library and perform operations with them. Moreover, we created a paint program which allowed us to paint with different brush sizes and colours.

What We learned

We learned how the java graphics library works, how to use the Myo library, and how to multi-thread the program.

What's next for Mayo

Adding more features such as custom background, image loading to background, and different kinds of paintbrushes.

Built With

Share this project:

Updates