gewel.draw.Frame

class gewel.draw.Frame(scene: gewel.draw.BaseScene, at_time: float)[source]

Bases: object

A single frame in a scene. Normally constructed using scene[frame_time]. See __getitem__().

Typically these are used inside notebooks to render an image of a scene at a given time.

Parameters
  • scene – The scene.

  • at_time – The time for the frame.

Methods

to_png