Skip to content
/ live-cg Public

LIVE Interactive Visualization Environment for Computational Geometry

License

Notifications You must be signed in to change notification settings

sebkur/live-cg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveCG

LIVE Interactive Visualization Environment for Computational Geometry

This project aims to create a system for interactive visualization of algorithms from computational geometry.

Running the application

Using gradle

You can run the main UI using gradle directly:

./gradlew run

Using scripts

Setup the execution environment:

./gradlew createRuntime

Then you can run the main executables from the build directory:

./scripts/livecg-ui
./scripts/livecg-create-image
./scripts/livecg-visualization

Using standalone JAR files

Build the JAR files:

./gradlew fatJars

Then run them like this:

java -jar build/libs/livecg-ui.jar
java -jar build/libs/livecg-create-image.jar
java -jar build/libs/livecg-visualization.jar

Setting up the development environment

You can create an Eclipse project like this:

./gradlew cleanEclipse eclipse

Editor

Key Bindings

Main

File:

  • Ctrl + N: New document
  • Ctrl + O: Open document
  • Ctrl + S: Save document
  • Ctrl + Q: Quit

Tools:

  • q: select/move mode
  • w: rotate mode
  • e: scale mode
  • a: rectangular selection mode
  • s: add mode
  • d: delete mode

Edit:

  • Ctrl + A: Select all objects
  • Ctrl + Shift + A: Select nothing

Move mode

  • Ctrl: while dragging nodes, snap to other nodes

Add mode

  • left mouse button: add a node
  • Ctrl + left mouse button: close a ring

With selected object

  • Ctrl + Shift + 'o': open / close a ring