Tkinter frame with Traffic light in a single statechart (with history). from sccd.runtime.libs import ui_v2 as ui CANVAS_DIMS = (100, 350)