SvgAnimation

io.github.scala_tessella.dcel.conversion.SvgAnimation
object SvgAnimation

Animated SVG export for TilingDCEL: toUniformityAnimation walks through the refinement steps of the uniformity tree as an SMIL-animated drawing. Static tiling SVG lives in TilingSVG.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension (tiling: TilingDCEL)
def toUniformityAnimation(strokeWidth: Double = ..., padding: Double = ..., scale: Double = ..., vertexRadius: Double = ..., animationDuration: Double = ..., pauseBetweenSteps: Double = ...): String

Renders the tiling as an animated SVG that walks through the steps of TilingDCEL.uniformityTree (via scanUniformityTree). Each step highlights the next layer of vertex-class refinement, pausing between steps so the viewer can follow the grouping.

Renders the tiling as an animated SVG that walks through the steps of TilingDCEL.uniformityTree (via scanUniformityTree). Each step highlights the next layer of vertex-class refinement, pausing between steps so the viewer can follow the grouping.

Value parameters

animationDuration

Seconds spent on each step's transition.

pauseBetweenSteps

Seconds of dwell between steps.

vertexRadius

Radius of the highlight circle drawn around each vertex being grouped.

Attributes