The Slut Application Programming Interface (API)
SHAPE

Wires
point()
line()
rect()
circle()
curve()

Solids
plane()
cuboid()
disc()
sphere()

Drawing Events
onDraw()
onDrawOrtho()


TRANSFORM

moveBy()
moveTo()
rotBy()
rotTo()
orbitBy()
orbitTo()
scaleBy()
scaleTo()
zoomBy()
zoomTo()

Canceling Animations
cancelTweenMoves()
cancelTweenRots()
cancelTweenOrbits()
cancelTweenScales()
cancelThrustMoves()
cancelThrustRots()
cancelThrustOrbits()
cancelThrustScales()

INPUT

Mouse
onMouseMove()
onMouseButtonUp()
onMouseButtonDown()
onMouseIn()
onMouseOut()
onMouseDrag()

Keyboard
onKeyDown()
onKeyUp()

Joystick
onJoyAxisMotion()
onJoyHatMotion()
onJoyButtonDown()
onJoyButtonUp()


TYPOGRAPHY

font()
text()


SHADING

addLight()
setMaterial()
unsetMaterial()

BY CLASSES

Base Classes
World
Camera
Sprite
Tag
Context
Tween
Thrust

Derrived
Light
Material
TagText
SpriteText



NETWORKING

Client/Server
connectionMade()
connectionFailed()
connectionLost()
dataReceived()
write()

Interprocess Communication
connectionMade()
outReceived()
errReceived()
inConnectionLost()
outConnectionLost()
errConnectionLost()
processEnded()
write()


::>EXAMPLE CODE

Initiated by Stephan Hechenberger
Thanks to CADRE's 103