How hsantosdias/robotic_arm_2025 works
This is a Java desktop simulation of an articulated 3D robot arm. Users manipulate joint angles and the viewport with mouse and keyboard; a render/update loop transforms the scene and paints its projected geometry. The README identifies the scene and rendering capabilities, while sampled code confirms the input, geometry, transformation, and projection layers. World-to-scene wiring is not visible in the excerpts, so those links are omitted.
Main entry points: Shape.java Shape Base · Robot.java Robot UI · Support.java Arm Support · Joint.java Joint One
Components 16
Application
- Robot UI
Robot.java - Scene World
World.java
Arm Geometry
- Fixed Base
Base.java - Arm Support
Support.java - Joint One
Joint.java - Joint Two
Joint2.java - Joint Three
Joint3.java - Gripper Mount
Pyramid.java - Pincer
Pincer.java - Cube Shape
Cubo.java - H Shape
H.java
3D Graphics
- Shape Base
Shape.java - Transforms
Matrix.java - 3D Points
Point3d.java - Screen Projection
Screen.java
Other components
- User
Connections 19
- User → Robot UI: mouse and keys
- Robot UI → Scene World: creates scene
- Robot UI → Transforms: builds view transform
- Fixed Base → Arm Support: draws
- Arm Support → Joint One: draws
- Joint One → Joint Two: draws
- Joint Two → Joint Three: draws
- Joint Three → Gripper Mount: draws
- Gripper Mount → Pincer: draws
- Shape Base → 3D Points: transforms points
- Shape Base → Screen Projection: projects points
- Fixed Base → Shape Base: extends
- Arm Support → Shape Base: extends
- Joint One → Shape Base: extends
- Joint Two → Shape Base: extends
- Joint Three → Shape Base: extends
- Gripper Mount → Shape Base: extends
- Cube Shape → Shape Base: extends
- H Shape → Shape Base: extends