Home
Classes
C
AlphaBackground
F
draw
C
AngleQuantity
F
step
C
CircularArc
C
CleanableArray
F
clean
C
CleanableSpriteArray
C
DrawableArray
F
draw
C
Drawer
F
draw
F
set
C
DrawerBuilder
F
build
F
setAlphaChannelRef
F
setElement
F
setOffsetPositionRef
F
setPositionRef
F
setRotationAngleRef
F
setScaleFactorRef
F
setShapeColorRef
F
setStrokeWeightRef
F
setTextSizeRef
C
FontManager
F
applyFont
F
loadAll
F
register
C
FontUnit
F
applyFont
F
loadFile
C
FrameCounter
F
mod
F
resetCount
F
step
C
Grid
F
getCell
F
getCellIndex
F
getRelativePositionCell
C
Illuminant
C
KinematicQuantity
F
addSpeed
F
getDirection
F
getSpeed
F
step
C
LineSegment
C
LoopableArray
F
clear
F
get
F
getLast
F
loop
F
loopBackwards
F
nestedLoopJoin
F
pop
F
push
F
pushAll
F
pushRawArray
F
roundRobin
C
LoopedFrameCounter
F
completeCycle
F
getProgressRatio
F
off
F
on
C
NaiveCell
F
getNeighborCell
F
setNeighborCell
C
NaiveEdge
F
getAdjacentNode
F
isIncidentTo
C
NonLoopedFrameCounter
F
completeCycle
F
getProgressRatio
F
off
F
on
F
resetCount
C
NullCell
C
NumberContainer
C
ObjectPool
F
recycleAll
F
use
C
p5exClass
F
createScalableCanvas
F
resizeScalableCanvas
F
setCurrentRenderer
F
setFrameRate
F
updateMaxCanvasRegion
C
PhysicsBody
F
accelerate
F
addSpeed
F
applyForce
F
attractEachOther
F
attractToPoint
F
bounce
F
collides
F
constrainSpeed
F
getDirection
F
getSpeed
F
setFriction
F
step
C
PoolableArray
C
QuadraticBezierCurve
F
checkControlPoint
C
RandomShapeColor
F
clear
F
get
F
pushCandidate
F
pushCandidateFromFunction
C
RectangleRegion
C
Region
C
ScalableCanvas
F
cancelScale
F
getNonScaledValueOf
F
resize
F
scale
F
updateSize
C
ScalableShape
F
draw
C
ScaleFactor
F
applyScale
F
cancel
C
ScreenEffect
C
ScreenFlash
C
ScreenShake
C
ShapeColor
F
applyColor
C
ShapeType
C
SpriteArray
C
SteppableArray
F
step
C
TimedFrameCounter
F
off
F
on
F
step
C
TwoDimensionalArray
F
get2D
F
set2D
C
WeightedRandomSelector
F
clear
F
get
F
push
Modules
M
p5ex
F
angleDifference
F
applyRandomTexture
F
calculateLeverageForce
F
cielabColor
F
cielabValueToXyzValue
F
cielchColor
F
distSq
F
drawSineWave
F
easeLinear
F
easeOutBack
F
easeOutCubic
F
easeOutQuad
F
easeOutQuart
F
EMPTY_FUNCTION
F
getDirectionAngle
F
getEasingFunction
F
getRandom
F
gradationBackground
F
hsbColor
F
lerp
F
lerpPixel
F
listenKey
F
loopArray
F
loopArrayBackwards
F
mouseIsInCanvas
F
mouseOnCanvas
F
multiplyMatrixAndArray
F
nestedLoopJoin
F
popRandom
F
randomBetween
F
randomInt
F
randomIntBetween
F
randomSign
F
roundRobin
F
setIlluminant
F
setPixel
F
subtractColor
Region
p5ex
~
Region
Spatial region.
Constructor
new Region
()
Source:
p5ex.mjs
,
line 15