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

https://github.com/ksprugevics/procedural-graph-animation-java

My first attempt at a procedural animation - a graph of interconnected nodes in 2D space. I am planning to expand this to the 3D space using Unity.
https://github.com/ksprugevics/procedural-graph-animation-java

animation java procedural-animation swing swing-gui

Last synced: 8 months ago
JSON representation

My first attempt at a procedural animation - a graph of interconnected nodes in 2D space. I am planning to expand this to the 3D space using Unity.

Awesome Lists containing this project

README

          

# A procedural-ish graph animation


showcasegif

A simple procedural animation with flying nodes that follow a linear path and connect to other nearby nodes. You can mess around with the parameters in real time.


example

## Options
- Animation speed
- Node count
- Node size
- Maximum distance for a node to be connected to another
- Connection maximum line width
- Individual node selection and modification:
- Line equation change
- Velocity

## Known issues
- The slope of the line equation is inverted
- Tends to run more slowly the more nodes and the larger maximum distance

## Setup
- Run the compiled .jar in releases or compile yourself with a java18 compatible compiler

*Stay tuned for a 3D version (eventually)*