An open API service indexing awesome lists of open source software.

https://github.com/mateusjssilva/3d-robotic-arm

This project is an OpenGL example that demonstrates how to create and render a 3D robotic arm. It showcases the use of OpenGL for modeling and animating a multi-jointed robotic arm with realistic movements.
https://github.com/mateusjssilva/3d-robotic-arm

3d computer-graphics glut opengl robotic-arm

Last synced: 3 months ago
JSON representation

This project is an OpenGL example that demonstrates how to create and render a 3D robotic arm. It showcases the use of OpenGL for modeling and animating a multi-jointed robotic arm with realistic movements.

Awesome Lists containing this project

README

        

# 3D Robotic Arm

This repository contains an OpenGL project for drawing a 3D robotic arm. The user can interact with the robotic arm and rotate its parts using the specified keys.

## Screenshot


3D Robotic Arm

## Prerequisites

To ensure the project runs correctly on different platforms, specific libraries are included based on the operating system:

```c
#ifdef __APPLE__ // MacOS
#define GL_SILENCE_DEPRECATION
#include
#include
#include
#else // Windows and Linux
#include
#include
#include
#endif
```

## Features

- **Shoulder Rotation:**
- Key `o`: Rotates the shoulder clockwise.
- Key `O`: Rotates the shoulder counterclockwiseo.

- **Elbow Rotation:**
- Key `c`: Rotates the elbow clockwise.
- Key `C`: Rotates the elbow counterclockwise.

- **Hand Rotation:**
- Key `m`: Rotates the hand clockwise
- Key `M`: Rotates the hand counterclockwise.

- **Thumb Rotation:**
- Key `p`: Rotates the thumb clockwise.
- Key `P`: Rotates the thumb counterclockwise.

- **Index Finger Rotation:**
- Key `i`: Rotates the index finger clockwise.
- Key `I`: Rotates the index finger counterclockwise.

- **Ring Finger Rotationr:**
- Key `a`: Rotates the ring finger clockwise.
- Key `A`: Rotates the ring finger counterclockwise.

- **Full Arm Rotation Around Y-Axis:**
- Key `y`: Rotates the entire arm clockwise.
- Key `Y`: Rotates the entire arm counterclockwise.

- **Exit the Program:**
- Key `ESC`: Closes the program.

## Contribution

Feel free to open issues or submit pull requests. All contributions are welcome!

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.