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