Computer Graphics — Laboratory Works (Java 1.8 + Gradle + libGDX)
Polygon move and rotation actions by some trajectory
To open this scene: Left "Ctrl" + "1"
- "K" – switch on/off all coordinate values
- "S" – show static frame of the scene
- "C" – clear all points
- "Z" – remove last added a point
- "Space" [only CUSTOM mode] – move polygon by a trajectory
Quadratic Bezier lines
To open this scene: Left "Ctrl" + "2"
- "K" – switch on/off all coordinate values
- "C" – clear all points
- "Z" – remove last added a point
Reflection of the circle via line
To open this scene: Left "Ctrl" + "3"
- "K" – switch on/off all coordinate values
- "B" – move the original circle object (red)
- "S" – move the small point
Lines intersection by 4 points
To open this scene: Left "Ctrl" + "4"
- "K" – switch on/off all coordinate values
- "R" – choose 4 points through a random generator
Cycloid move and rotation actions by a trajectory of some shape
To open this scene: Left "Ctrl" + "5"
- "K" – switch on/off all coordinate values
- "V" – switch on/off a trajectory
Cut complex polygon as a set of some simple shapes
To open this scene: Left "Ctrl" + "6"
- "K" – switch on/off all coordinate values
- Import the project through IntelliJ IDEA as based-on Gradle project
- Add configuration for launch:
- Main class:
store.vxdesign.cg.desktop.DesktopLauncher
- Working directory:
./CG-LaboratoryWorks/core/assets
- Use classpath of module:
CG-LaboratoryWorks.desktop.main
- JRE:
1.8
- Main class:
- Launch the project