@andamento/core ​
Pure TypeScript, no DOM: tiling patterns, createLayout, content placement, fills, hit testing, keyboard navigation and CSS helpers.
Interfaces ​
- AshlarSpec
- BasketweaveSpec
- BevelFacet
- BevelOptions
- CairoSpec
- Cell
- CellCss
- CellCssOptions
- CellShape
- ChevronSpec
- ContentOptions
- CoverOptions
- DelaunaySpec
- Feature
- FishScaleSpec
- FitOptions
- FitResult
- FlemishBondSpec
- FlowSpec
- Focus
- GenerateContext
- GradientOptions
- GridSpec
- HatSpec
- HerringboneSpec
- HexagonalSpec
- HitOptions
- HopscotchSpec
- ImageFillOptions
- IsohedralInfo
- IsohedralSpec
- JigsawSpec
- Layout
- LayoutOptions
- MatchOptions
- MondrianSpec
- OctagonSquareSpec
- PenroseSpec
- PeriodicCheck
- PeriodicDefinition
- PeriodicSpec
- Piece
- PinwheelSpec
- Pixels
- RawTile
- Rect
- RhombilleSpec
- RhombitrihexagonalSpec
- RoundedCorner
- RunningBondSpec
- SafeAreaOptions
- ScreenBox
- Shape
- SpectreSpec
- SubstitutionRule
- TilesSpec
- TriangularSpec
- TrihexagonalSpec
- Vec
- VoronoiSpec
- WeightedLayoutOptions
- WeightedLayoutResult
- WeightOptions
Type Aliases ​
- CellFill
- ContentCells
- ContentPlacement
- Direction
- EdgeKind
- EdgeMode
- HatLabel
- Polygon
- ProceduralSpec
- SizeField
- SpectreLabel
- TilingSpec
- TilingType
Variables ​
Functions ​
- add
- area
- ashlar
- backdropCss
- basketweave
- bbox
- bevelFacets
- boundsAspectRatio
- cairo
- cellAt
- cellCss
- cellInDirection
- cellShape
- cellsInRect
- centroid
- checkPeriodic
- chevron
- cleanPolygon
- clipConvex
- clipHalfPlane
- clipPolygonToConvex
- colorCells
- containsPolygon
- contentSlots
- convexHull
- coverRect
- createLayout
- cross
- cssPolygon
- cssShapes
- delaunay
- delaunayTriangles
- dot
- edgeSize
- ensurePositive
- estimateFocus
- fishScale
- fitCount
- flemishBond
- flow
- generateMondrian
- generatePeriodic
- generateSubstitution
- generateTiles
- gradientFill
- grid
- hat
- hatSupertile
- herringbone
- hexagonal
- hopscotch
- imageFill
- imageSize
- insetConvex
- insetPolygon
- insetPolygonPieces
- isConvex
- isohedral
- isohedralInfo
- isohedralPrototile
- jigsaw
- length
- lightVector
- loadImagePixels
- matchSlots
- mondrian
- morphPolygon
- mulberry32
- nearestCell
- objectPosition
- octagonSquare
- outsetPolygon
- overlay
- paletteFill
- partition
- penrose
- periodic
- periodicDefinition
- pinwheel
- placedBounds
- pointInPolygon
- protoTileFill
- radialSize
- randomFill
- rectPolygon
- rectsOverlap
- regionCss
- resamplePolygon
- rhombille
- rhombitrihexagonal
- roundCorners
- roundedPolygon
- runningBond
- safeArea
- safeAreaCss
- scale
- screenToLayout
- shapeArea
- shapeCentroid
- sharesEdge
- signedArea
- spectre
- spectreSupertile
- splitSelfIntersections
- sub
- tiles
- tileSpans
- transform
- triangular
- trihexagonal
- vec
- viewCss
- visibleShapes
- voronoi
- voronoiCells
- weightedFeatures
- weightedLayout