##The Singleton Pattern
class SantaClaus {
private static uniqueInstance : SantaClaus;
##The Singleton Pattern
class SantaClaus {
private static uniqueInstance : SantaClaus;
I am assuming you are here because like me, you installed a bazillion different python interpreters on mac and the whole thing is a spagetti. Today, I finally fixed my python installation. Whatever I install for python2 or python3 using pip JUST.WORKS.. My god! finally.
Here is what I had messed up, which you also probably did:
| // Not quite there yet, but better than nothing | |
| // TODO: JSDoc, based on website documentation | |
| // TODO: Interface/class types for each of these ML algorithm instances | |
| // TODO: Break this apart into multiple files for readability | |
| // TODO: Test autocomplete in a vanilla JS project | |
| // TODO: Test autocomplete in a TypeScript project | |
| import { MediaElement } from "p5"; | |
| export as namespace ml5; |