Visual Programming: The Worlds
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.