Originally we had talked about rapping everything up in a namespace but moved away from that once we started using RequireJS. However, P5.js uses RequireJS and has a global namespace, so it is definitely possible. This would also allow us to have some constants + static variables (like BBMod version info) etc bound to the BBMod object.
Originally we had talked about rapping everything up in a namespace but moved away from that once we started using RequireJS. However, P5.js uses RequireJS and has a global namespace, so it is definitely possible. This would also allow us to have some constants + static variables (like BBMod version info) etc bound to the
BBMod
object.