Structure
Draw()
Exit()
Loop()
NoLoop()
NPMain()¹
PopStyle()
PushStyle()
Redraw()
Setup()
Environnement
CancelConsoleAutoPosition()¹
Cursor()
DisplayHeight
DisplayWidth
Focused
FrameCount
FrameRate()
FrameRateValue²
Height
HideConsole()¹
NoCursor()
Size()
Width
Donnée
Color
Conversions
Binary()
Hex()
Str()
Unbinary()
Unhex()
Forme
Primitives 2D
Arc()
Ellipse()
Line()
Point()
Quad()
Rect()
Triangle()
Courbes
Bezier()
Curve()
Attributs
EllipseMode()
NoSmooth()
RectMode()
Smooth()
StrokeCap()
StrokeJoin()
StrokeWeight()
|
Entrée de données
Souris
MouseButton
MouseClicked()
MouseDoubleClicked()¹
MouseDragged()
MouseMoved()
MousePressed()
IsMousePressed²
MouseReleased()
MouseWheel()
MouseX
MouseY
PMouseX
PMouseY
Clavier et console
Key
KeyCode
KeyPressed()
IsKeyPressed²
KeyReleased()
KeyTyped()
ReadConsoleChar()¹
ReadConsoleDouble()¹
ReadConsoleInt()¹
ReadConsoleString()¹
Date et heure
Day()
Hour()
Millis()
Minute()
Month()
Second()
Year()
Enregistrement
Image
Save()
SaveFrame()
Transformations
PopMatrix()
PushMatrix()
Rotate()
Scale()
Translate()
|
Couleur
Ajustements
Background()
Clear()
ColorMode()
Fill()
NoFill()
NoStroke()
Stroke()
Création
Alpha()
Blue()
Brightness()
Color()
Green()
Hue()
LerpColor()
Red()
Saturation()
Images
CreateImage()
PImage
Chargement et affichage
Image()
ImageMode()
LoadImage()
Pixels
Get()
LoadPixels()
Pixels[]
Set()
UpdatePixels()
Typographie
PFont
Chargement et affichage
CreateFont()
Text()
TextFont()
Attributs
TextAlign()
TextLeading()
TextMode()
TextSize()
TextWidth()
Caractéristiques
TextAscent()
TextDescent()
|
Mathématiques
Calculs
Abs()
Ceil()
Constrain()
Dist()
Exp()
Floor()
Lerp()
Log()
Mag()
Map()
Max()
Min()
Norm()
Pow()
Round()
Sq()
Sqrt()
Truncate()¹
Trigonométrie
Acos()
Asin()
Atan()
Atan2()
Cos()
Degrees()
Radians()
Sin()
Tan()
Nombre aléatoire
Random()
RandomGaussian()
RandomSeed()
Constantes
HALF_PI
PI
QUARTER_PI
TAU
TWO_PI
|