At the core of visual programming are simple nodes with input and output ports that you connect by drawing linesâjust as in a spreadsheet but with explicit links rather than named cells. This nodeâportâline system forms a selfâcontained âworldâ that can be zoomed out to reveal nested boxes or trays, each world communicating through its own ports via JSON or OOP objects. In practice, the UI of a desktop app is one such world: a button in a window sends a command down its port into an applicationâlogic world that edits database tables (spreadsheets joined by common fields), and then feeds back updates to the UI. These worlds can be linked using various transportsâUDP, 0MQ, HTTP, WebRTC, or EventEmitterâdepending on whether itâs desktopâserver, buttonâaction, or peerâtoâpeer. The author envisions extending this pattern to a Comic World where AIâgenerated panels and speech balloons are assembled through ports that output image URLs, coordinates, and text; by feeding generated captions into the worldâs input port they can automatically produce new comics.






















