Apel is a library that brings particle animations to the table with flexible behaviour and a clean developer interface. It promises also lots of predefined shapes & paths to help the developer on their particle scene
Fix the StackOverflowException by untangling convertToSteps and getDistance. Curve distance is needed to determine the steps per curve when the interval is provided, but that shouldn't assume any overall step count.
Fix the ArrayIndexOutOfBoundsException by ensuring the constructors produce renderingSteps and renderingInterval arrays with the appropriate number of elements.
This and #27 both change PathAnimatorBase to add the same defaulting array functions. I think those will merge OK, but if not, I can rebase.
Two fixes included here:
StackOverflowException
by untanglingconvertToSteps
andgetDistance
. Curve distance is needed to determine the steps per curve when the interval is provided, but that shouldn't assume any overall step count.ArrayIndexOutOfBoundsException
by ensuring the constructors producerenderingSteps
andrenderingInterval
arrays with the appropriate number of elements.This and #27 both change
PathAnimatorBase
to add the same defaulting array functions. I think those will merge OK, but if not, I can rebase.