Skip to content

Canvix — Free & open-source graphic design tool. A community-built Canva alternative with a drag-and-drop editor, templates, shapes, text, images & one-click export. Works on desktop, tablet & mobile.

2.0 KB
Raw Blame
{
  "canvixPluginApi": "1.1",
  "id": "com.canvix.wordcloud",
  "name": "Word Cloud",
  "description": "Turn any text into a seeded word-cloud graphic. Deterministic, offline, zero network.",
  "version": "1.0.2",
  "author": {
    "name": "Canvix team",
    "url": "https://github.com/mir-ashiq/canvix"
  },
  "engines": {
    "canvix": ">=0.13.4 <0.32.0"
  },
  "entry": {
    "panel": "panel.html",
    "service": "service.html"
  },
  "permissions": [
    "design:read",
    "design:write",
    "element:plugin",
    "storage"
  ],
  "files": [
    "manifest.json",
    "panel.html",
    "panel.js",
    "service.html",
    "service.js",
    "wordcloud.js"
  ],
  "elements": [
    {
      "kind": "cloud",
      "label": "Word cloud",
      "initialData": {
        "words": [],
        "seed": 42,
        "density": 0.7,
        "mask": "rect",
        "palette": "canvix"
      },
      "schema": [
        {
          "key": "seed",
          "type": "number",
          "label": "Seed",
          "min": 1,
          "max": 9999
        },
        {
          "key": "density",
          "type": "range",
          "label": "Density",
          "min": 0.1,
          "max": 1,
          "step": 0.05
        },
        {
          "key": "mask",
          "type": "select",
          "label": "Shape",
          "options": [
            {
              "value": "rect",
              "label": "Rectangle"
            },
            {
              "value": "circle",
              "label": "Circle"
            }
          ]
        },
        {
          "key": "palette",
          "type": "select",
          "label": "Palette",
          "options": [
            {
              "value": "canvix",
              "label": "Canvix"
            },
            {
              "value": "sunset",
              "label": "Sunset"
            },
            {
              "value": "ocean",
              "label": "Ocean"
            },
            {
              "value": "mono",
              "label": "Mono"
            }
          ]
        }
      ]
    }
  ]
}