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

https://github.com/sebkur/live-cg

LIVE Interactive Visualization Environment for Computational Geometry
https://github.com/sebkur/live-cg

application computational-geometry gui gui-application java

Last synced: 5 months ago
JSON representation

LIVE Interactive Visualization Environment for Computational Geometry

Awesome Lists containing this project

README

          

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