Examples

Divooka Compute ships a library of example documents - games, charts, terrains, sound, 3D models, data analysis, web pages, benchmarks and more - sorted into categories. You never edit a shipped example: you open a copy of it wherever you like, and change the copy as much as you want.

Finding one

  • On the start screen, Or from an example shows four. Shuffle draws another four; click a card to open a copy of that one.
  • New from examples shows them all. Open it with Browse all on the start screen, Examples on the start screen's rail, or Ctrl+Shift+E (Ctrl+Shift+H does the same).

New from examples: the categories on the left, the examples of one in the middle, and a picture of the selected example's graph with its description on the right

The categories are on the left, with how many examples each holds - hover over one for what it is about - and the examples of the chosen category in the middle, with how many graphs and nodes each has. The keyboard starts in Search examples: type to find one by name. The examples and their categories are named in the language chosen in Appearance and settings. The right half describes the selected example: its title, author and description, and a picture of its graph drawn from the document itself. Drag the picture to pan it and scroll to zoom, or click it for a larger view; when an example has several graphs, the row above the picture switches between them.

Basics is the place to start: values and nodes, arrays and collections, functions passed around as values, notes and drawings, and programs that read what you type.

Opening a copy

The Save as box at the bottom holds the name the copy will have - the example's own, unless you type another. Press Open a copy. A save dialog asks where the copy should live, starting in the first folder of your workspace - or in a Divooka folder in your Documents when the workspace is empty, in which case the folder you save into joins the workspace. Save, and the copy opens in a tab of its own; the status bar reads Opened a copy of Hello World.

The copy is an ordinary document: run it with F5, in either mode, change it, and save it with Ctrl+S. An example that references no packages - Hello World is one - is offered every node the distribution ships; see References for making it reference only what it uses.

Before running some of them

Most examples run as they are. A few reach outside Divooka Compute, and each says so in its description:

Category What it needs
Automation It moves the real mouse pointer and presses keys in other programs until you press Esc. Read its notes first.
ComfyUI ComfyUI already running on your machine.
GenAI (Hosted) A language model available locally.
GenAI (Services) An API key for a paid online service, which it calls.
Benchmarks Nothing, but it is heavy: run it Compiled.

Examples with windows - games in Glaze, applications in GUI, the Visual Novel games - open a window of their own when they run; close it to end the run. Examples that serve a web page open it in your browser, and run until you press Stop.