The first preview of Ferris Draw!
Pre-releaseAdded the first few features and made the outline of the application.
Documentation
-
new(String)
Creates a new drawer object with the specified name. -
rotate(String, f32)
Rotates the object identified by the given name by a specified angle (f32
). The angle is in degrees. -
forward(String, f32)
Moves the object identified by the given name forward by the specified distance (f32
). The direction of movement depends on the current orientation of the object. -
center(String)
Centers the object identified by the given name. -
color(String, f32, f32, f32, f32)
Sets the color of the object identified by the given name. The parametersf32, f32, f32, f32
represent red, green, blue, and alpha (opacity) values, each ranging from 0.0 to 1.0. -
wipe()
Wipes all drawings from the workspace. -
exists(String)
Returns whether the drawer exists with that specific ID. -
remove(String)
Removes the drawer object based on the ID. -
drawers()
Returns a list of the drawers' name.