Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MagnifyAntiSnowflake ¶
MagnifyAntiSnowflake curve section.
func SnowflakeVertices ¶
func SnowflakeVertices(spec SnowflakePlotSpec) []maf.Vec
SnowflakeVertices of a Koch snowflake curve.
Types ¶
type PlotSpec ¶
type PlotSpec struct { // Order of the Koch curve. Order int // Seg is the line segment to which the iterative division process is // applied. Seg maf.LineSeg }
PlotSpec specifies the properties of a Koch curve.
type SnowflakePlotSpec ¶
type SnowflakePlotSpec struct { // AntiSnowflake is true to obtain a Koch anti-snowflake curve. AntiSnowflake bool // Order of the Koch snowflake curve. Order int // Equilateral is the equilateral triangle whose edges are the subject of // the iterative division process. Equilateral maf.Triangle }
SnowflakePlotSpec specifies the properties of a Koch snowflake curve.
Click to show internal directories.
Click to hide internal directories.