DrawDirectedNode

This effect draws a node as a directed arrow. The direction is given by the node's velocity (that is an array of double). The color is given by the node's hue molecule (that is a numeric number).

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun apply(graphic: Graphics2D, node: Node<*>, x: Int, y: Int)
open override fun <T : Any, P : Position2D<P>> apply(g: Graphics2D, node: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)

Applies the effect.

Link copied to clipboard
open override fun getColorSummary(): Color