ScreenshotGenerator¶
Overview¶
Generate a rasterized screenshot for a simulation using scenery's built-in machinery. Used in phet-io as well as PhetMenu (optionally)
@author Sam Reid (PhET Interactive Simulations)
Class ScreenshotGenerator¶
Static Methods¶
generateScreenshot( sim : Sim, mimeType ) : string¶
Default to PNG
Source Code¶
See the source for ScreenshotGenerator.ts in the joist repository.