/** * Initialize the library. Must be called before any use of the library. Must be called by passing * the PApplet. e.g. {@code Fisica.init(this)} * * @param applet The applet on which to use the library. This library can only be used with one * applet */ public static void init(PApplet applet) { m_parent = applet; m_initialized = true; m_viewport = new FViewport(); m_viewport.setScaleTransform(20); }