Miscellaneous scripts to implement mathematical objects in graphics