Preparing search index...
The search index is not available
plotboilerplate - v
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
plotboilerplate
utils/algorithms/getContrastColor
Module utils/algorithms/getContrastColor
Index
Functions
get
Contrast
Color
plotboilerplate
Bezier
Path
Bezier
Path
Bounds
Bounds
Circle
Circle
Circle
Sector
Circle
Sector
Cubic
Bezier
Curve
Cubic
Bezier
Curve
Grid
Grid
Key
Handler
Key
Handler
XKey
Listener
XKey
Callback
Line
Line
Mouse
Handler
Mouse
Handler
XMouse
Event
XWheel
Event
XMouse
Params
XMouse
Callback
XWheel
Callback
PBImage
PBImage
PBText
PBText
Plot
Boilerplate
default
Plot
Boilerplate
Polygon
Polygon
Triangle
Triangle
UIDGenerator
UIDGenerator
VEllipse
VEllipse
VEllipse
Sector
VEllipse
Sector
Vector
Vector
Vert
Tuple
Vert
Tuple
Vertex
Vertex
Vertex
Attr
Vertex
Attr
IVertex
Attr
Vertex
Listeners
Vertex
Listeners
Vert
Event
Vert
Event
Params
Vert
Listener
draw
drawutils
drawgl
drawutilsgl
drawutilssvg
drawutilssvg
geomutils
geomutils
A collection of usefull geometry utilities.
index
Bezier
Path
Bounds
CSSBackdrop
Filter
Params
Canvas
Wrapper
Circle
Circle
Sector
Config
Cubic
Bezier
Curve
Dat
Gui
Props
Draw
Config
Draw
Lib
Draw
Lib
Configuration
Draw
Settings
Drawable
Font
Options
Font
Style
Font
Weight
GUI
Grid
IBounds
IDraggable
IHooks
IVertex
Attr
Key
Handler
Lil
Gui
Props
Line
Mouse
Handler
PBImage
PBParams
PBText
Path
Path
Segment
Plot
Boilerplate
Polygon
SVGPath
Params
SVGSerializable
Stroke
Options
Triangle
UID
UIDGenerator
VEllipse
VEllipse
Sector
Vector
Vert
Event
Vert
Event
Params
Vert
Listener
Vert
Tuple
Vertex
Vertex
Attr
Vertex
Listeners
XKey
Callback
XKey
Listener
XMouse
Callback
XMouse
Event
XMouse
Params
XWheel
Callback
XWheel
Event
XYCoords
XYDimension
drawutils
drawutilsgl
drawutilssvg
geomutils
interfaces
CSSBackdrop
Filter
Params
Canvas
Wrapper
Config
Dat
Gui
Props
Draw
Config
Draw
Lib
Draw
Lib
Configuration
Draw
Settings
Drawable
Font
Options
Font
Style
Font
Weight
GUI
IBounds
IDraggable
IHooks
Lil
Gui
Props
PBParams
Path
Path
Segment
SVGPath
Params
SVGSerializable
Stroke
Options
UID
XYCoords
XYDimension
interfaces/
Draw
Lib
Draw
Lib
An interface all drawing libraries must implement to be used with PlotBoilerplate.
Draw
Lib
Configuration
Font
Options
Stroke
Options
Defines a line-dash configuration.
Font
Style
Font
Weight
interfaces/additionals
Path
A common interface for general path representations.
Path
Segment
A common interface for different kinds of path segments.
interfaces/core
Canvas
Wrapper
This is used to wrap 2d/gl/svg canvas elements together.
Config
The config that's used by PB.
Draw
Config
Draw
Settings
IBounds
IDraggable
A wrapper class/interface for draggable items (mostly vertices).
IHooks
PBParams
For initialization the constructor needs a mix of config and draw-settings.
SVGSerializable
This is a fix for the problem, that the constructor's "name" attribute is not
XYCoords
XYDimension
Drawable
The types that can be drawn and thus added to the draw queue.
SVGPath
Params
A type for SVG <path d="..." /> params.
UID
A unique identifier (UID) to tell drawables apart in a performant manner.
interfaces/externals
CSSBackdrop
Filter
Params
This is just for the backdrop-filter vaules (CSS after effects filters). They are not directly
Dat
Gui
Props
GUI
Lil
Gui
Props
module
Bezier
Path
Bounds
Circle
Circle
Sector
Cubic
Bezier
Curve
Grid
Key
Handler
Line
Mouse
Handler
PBImage
Plot
Boilerplate
Polygon
Triangle
UIDGenerator
VEllipse
VEllipse
Sector
Vector
Vert
Tuple
Vertex
Vertex
Attr
Vertex
Listeners
default
drawutils
drawutilssvg
geomutils
utils/
Initialization
Observer
Initialization
Observer
utils/NGons
NGons
utils/
Params
Params
Wraps a Record<string,string> and adds type conversion methods (developed this in
utils/
Web
Colors
Blue
Cyan
Deep
Purple
Green
Indigo
Light
Blue
Light
Green
Pink
Purple
Red
Teal
Web
Colors
A set of beautiful web colors (I know, beauty is in the eye of the beholder).
shuffle
Web
Colors
A helper function to shuffle the colors into a new order.
utils/
Web
Colors
Contrast
Web
Colors
Contrast
utils/
Web
Colors
Malachite
Web
Colors
Malachite
A mix of green shades.
utils/algorithms/
Catmull
Rom
Path
Catmull
Rom
Path
utils/algorithms/
Circle
Intersections
Circle
Intersections
utils/algorithms/
Contour
Line
Detection
Contour
Line
Detection
utils/algorithms/
Cubic
Spline
Path
Cubic
Spline
Path
utils/algorithms/
Hobby
Path
Hobby
Path
utils/algorithms/
Metaballs
Metaballs
utils/algorithms/array
Fill
array
Fill
An equivalent of lodash.array_fill(...).
utils/algorithms/array
Resize
array
Resize
Resize a given array to a desired number of elements by adding or removing some.
utils/algorithms/array
Shuffle
array
Shuffle
Randomize a given array in-place.
utils/algorithms/clear
Duplicate
Vertices
clear
Duplicate
Vertices
Filter the array and clear all duplicates.
utils/algorithms/clear
Polygon
Duplicate
Vertices
clear
Polygon
Duplicate
Vertices
Remove all duplicate neighbours from the given polygon.
utils/algorithms/convex
Hull
get
Convex
Hull
utils/algorithms/convex
Polygon
Incircle
Polygon
Incircle
convex
Polygon
Incircle
Compute the max sized inlying circle in the given convex (!) polygon - also called the
utils/algorithms/delaunay
Delaunay
utils/algorithms/delaunay2voronoi
delaunay2voronoi
utils/algorithms/detect
Paths
detect
Paths
Run a path detection on the given set of path segments.
utils/algorithms/find
Polygon
Self
Intersections
find
Polygon
Self
Intersections
Collect all self-intersection points of the given polygon.
utils/algorithms/get
Contrast
Color
get
Contrast
Color
Contrast color algorithm by Martin Sojka's.
utils/algorithms/matrix
Fill
matrix
Fill
A matrix-fill helper function. Equivalent of lodash.array_fill(...).
utils/algorithms/split
Polygon
To
Non
Intersecting
split
Polygon
To
Non
Intersecting
This function cuts a given self-intersecting polygon into non-self-intersecting
utils/algorithms/sutherland
Hodgman
sutherland
Hodgman
utils/clone
Vertex
Array
clone
Vertex
Array
utils/datastructures/
Circular
Interval
Set
Circular
Interval
Set
utils/datastructures/
Color
Color
utils/datastructures/
Data
Grid2d
IData
Grid2d
Data
Grid
Face4
A 2D datagrid interface for getting/storing data in some 2 dimensional array style types.
utils/datastructures/
Data
Grid2d
List
Adapter
Data
Grid2d
List
Adapter
utils/datastructures/
Generic
Path
Generic
Path
A common interface for general path representations.
utils/datastructures/
Girih
Girih
utils/datastructures/
Girih
Bowtie
Girih
Bowtie
utils/datastructures/
Girih
Decagon
Girih
Decagon
utils/datastructures/
Girih
Hexagon
Girih
Hexagon
utils/datastructures/
Girih
Penrose
Rhombus
Girih
Penrose
Rhombus
utils/datastructures/
Girih
Pentagon
Girih
Pentagon
utils/datastructures/
Girih
Rhombus
Girih
Rhombus
utils/datastructures/
Girih
Tile
Tile
Type
Girih
Tile
IAdjacency
utils/datastructures/
Matrix4x4
Matrix4x4
utils/datastructures/
Voronoi
Cell
Voronoi
Cell
utils/datastructures/interfaces
Index
Pair
Interval
Some often-used interfaces.
Matrix
utils/detect
Dark
Mode
detect
Dark
Mode
utils/dom/get
Available
Container
Space
get
Available
Container
Space
utils/dom/getFProp
getFProp
Internal helper function used to get 'float' properties from elements.
utils/dom/gui
Size
Toggler
gui
Size
Toggler
utils/find
In
Vertex
Array
find
In
Vertex
Array
In an array of vertices find the first occurence of a specific vertex, using
utils/gup
gup
`gup` = "Get URL/URI Params".
utils/helpers/
Bezier
Path
Interaction
Helper
Bezier
Path
Interaction
Helper
utils/helpers/
Circle
Helper
Circle
Helper
utils/helpers/
Circle
Sector
Helper
Circle
Sector
Helper
utils/helpers/VEllipse
Sector
Helper
VEllipse
Sector
Helper
utils/io/
File
Drop
File
Drop
utils/parsers/OBJParser
OBJParser
utils/parsers/STLParser
STLParser