How Fluxygram works

How Fluxygram itself works, told step by step: you ask your AI agent, it writes a small JSON file and the diagram draws and explains itself.

animated flowchart Open in the editor

Step by step

  1. It starts with something you want to explain
  2. An agent with the Fluxygram skill understands it
  3. and writes JSON with nodes, edges and steps
  4. Fluxygram works out the layout and the motion
  5. and turns it into an animated story

Make one like this

Three ways, all free. No account needed.

In the editor

Open this diagram in the editor and change the text, the blocks or the order of the steps. Export it as a GIF or an HTML page.

Open in the editor →

With your AI agent

Install the Fluxygram skill in Claude, Cursor, Codex or Gemini and ask for it in plain words:

Use the Fluxygram skill to make an animated diagram: How Fluxygram works.
How to install the skill →

On your site

Download the JSON and show it anywhere with one script:

<script type="module" src="https://cdn.jsdelivr.net/npm/fluxygram@0.3"></script>
<fluxy-gram src="how-it-works.flux.json"></fluxy-gram>
Download the JSON →
See the JSON behind this diagram
{
  "$schema": "/schema/v1.json",
  "type": "flow",
  "title": "How Fluxygram works",
  "nodes": [
    {
      "id": "idea",
      "label": "Your question",
      "description": "“explain OAuth to me”",
      "icon": "message"
    },
    {
      "id": "agent",
      "label": "Agent + skill",
      "icon": "bot"
    },
    {
      "id": "json",
      "label": ".flux.json",
      "description": "nodes, edges, steps",
      "icon": "code",
      "accent": true
    },
    {
      "id": "core",
      "label": "Fluxygram",
      "description": "layout + motion",
      "icon": "workflow"
    },
    {
      "id": "out",
      "label": "Animated diagram",
      "icon": "rocket"
    }
  ],
  "edges": [
    {
      "id": "e1",
      "from": "idea",
      "to": "agent"
    },
    {
      "id": "e2",
      "from": "agent",
      "to": "json",
      "carries": "JSON"
    },
    {
      "id": "e3",
      "from": "json",
      "to": "core"
    },
    {
      "id": "e4",
      "from": "core",
      "to": "out"
    }
  ],
  "steps": [
    {
      "show": [
        "idea"
      ],
      "caption": "It starts with something you want to explain"
    },
    {
      "show": [
        "e1"
      ],
      "flow": "e1",
      "caption": "An agent with the Fluxygram skill understands it"
    },
    {
      "show": [
        "e2"
      ],
      "flow": "e2",
      "caption": "and writes JSON with nodes, edges and steps"
    },
    {
      "show": [
        "e3"
      ],
      "flow": "e3",
      "caption": "Fluxygram works out the layout and the motion"
    },
    {
      "show": [
        "e4"
      ],
      "flow": "e4",
      "highlight": [
        "out"
      ],
      "caption": "and turns it into an animated story",
      "state": {
        "out": "success"
      }
    }
  ]
}

More examples

See all examples →