نمونه استفاده از Excalidraw در Obsidian

در اینجا یک مثال از استفاده از Excalidraw در Obsidian است.

نقاشی

// شروع نقاشی Excalidraw
{
  "elements": [
    {
      "type": "rectangle",
      "version": 1672589772574,
      "versionNonce": 1327454386,
      "isDeleted": false,
      "id": "1",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 50,
      "y": 50,
      "width": 200,
      "height": 100,
      "seed": 12345,
      "strokeColor": "#FF6347",
      "backgroundColor": "#f0f0f0"
    }
  ]
}

مثال ساده از Excalidraw

در اینجا یک مثال ساده از Excalidraw است که یک مربع و یک خط را نمایش می‌دهد.

نقاشی

// شروع نقاشی Excalidraw
{
  "elements": [
    {
      "type": "rectangle",
      "version": 1672589772574,
      "versionNonce": 1327454386,
      "isDeleted": false,
      "id": "1",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 50,
      "y": 50,
      "width": 100,
      "height": 100,
      "seed": 12345,
      "strokeColor": "#0000FF",
      "backgroundColor": "#FFEB3B"
    },
    {
      "type": "line",
      "version": 1672589772575,
      "versionNonce": 1327454387,
      "isDeleted": false,
      "id": "2",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "angle": 0,
      "x": 50,
      "y": 150,
      "width": 150,
      "height": 0,
      "seed": 67890,
      "strokeColor": "#FF0000"
    }
  ]
}
// پایان نقاشی Excalidraw