Git Product home page Git Product logo

cg-laboratoryworks's Introduction

CG-LaboratoryWorks

Computer Graphics — Laboratory Works (Java 1.8 + Gradle + libGDX)


Move Polygon

Polygon move and rotation actions by some trajectory

To open this scene: Left "Ctrl" + "1"

Hotkeys

  1. "K" – switch on/off all coordinate values
  2. "S" – show static frame of the scene
  3. "C" – clear all points
  4. "Z" – remove last added a point
  5. "Space" [only CUSTOM mode] – move polygon by a trajectory

Screen

view_move_polygon


Bezier Lines

Quadratic Bezier lines

To open this scene: Left "Ctrl" + "2"

Hotkeys

  1. "K" – switch on/off all coordinate values
  2. "C" – clear all points
  3. "Z" – remove last added a point

Screen

view_bezier


Reflection

Reflection of the circle via line

To open this scene: Left "Ctrl" + "3"

Hotkeys

  1. "K" – switch on/off all coordinate values
  2. "B" – move the original circle object (red)
  3. "S" – move the small point

Screen

view_reflection


Lines Intersection

Lines intersection by 4 points

To open this scene: Left "Ctrl" + "4"

Hotkeys

  1. "K" – switch on/off all coordinate values
  2. "R" – choose 4 points through a random generator

Screen

view_lines_intersection


Cycloid

Cycloid move and rotation actions by a trajectory of some shape

To open this scene: Left "Ctrl" + "5"

Hotkeys

  1. "K" – switch on/off all coordinate values
  2. "V" – switch on/off a trajectory

Screen

view_cycloid


Cut Polygon

Cut complex polygon as a set of some simple shapes

To open this scene: Left "Ctrl" + "6"

Hotkeys

  1. "K" – switch on/off all coordinate values

Screen

view_cut_polygon


How to launch

  1. Import the project through IntelliJ IDEA as based-on Gradle project
  2. Add configuration for launch:
    1. Main class: store.vxdesign.cg.desktop.DesktopLauncher
    2. Working directory: ./CG-LaboratoryWorks/core/assets
    3. Use classpath of module: CG-LaboratoryWorks.desktop.main
    4. JRE: 1.8
  3. Launch the project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.