Revise the "view.php" example file to the class constructor's usage.
GET the meanings of variables:
$convex3d = new Convex3D(char Objtype, char int/ext, array background color components ( r, g, b ), array foreground color components (r, g, b ), int width, int height);
int/ext variable maybe 'INT' use of internal objects or 'EXT' use of external object from a file.
If the int/ext variable is 'INT' then objtype are: