Make a presentation(ppt) on spider group which includes- intrudtion, general feature, mental&physical characters,general modalities, remedy name

Asking for Preferences
Reading File
Reading File
Reading File
Finding Sources
Searching the Web

homeopathy spider group remedies introduction general features mental physical modalities

Reading Web Page

https://www.iosrjournals.org/iosr-jdms/papers/Vol24-issue12/…

Reading File
Running Command

ls -la /home/daytona/workspace/ && mkdir -p /home/daytona/workspace/spider-homeopathy-ppt

Writing File

~/spider-homeopathy-ppt/spider_ppt.js

const pptxgen = require("pptxgenjs");

const pres = new pptxgen();
pres.layout = 'LAYOUT_16x9';
pres.author = 'Homeopathy Materia Medica';
pres.title = 'Spider Group of Remedies in Homoeopathy';

// ─── COLOR PALETTE ───────────────────────────────────────────────
const C = {
  darkBg:    "0D0D1A",   // deep navy-black (title / section bg)
  midBg:     "1A1040",   // deep purple (content bg)
  accentPurple: "6C3FC5", // vivid purple accent
  accentGold:   "E8B84B", // warm gold
  accentRed:    "C23B3B", // spider red
  white:     "FFFFFF",
  lightGray: "D0D0D0",
  cardBg:    "2A1A5E",   // card fill
  cardBg2:   "1F1450",
};

// ─── HELPER: section label bar ───────────────────────────────────
function addSectionBar(slide, label) {
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0, w: 10, h: 0.6,
    fill: { color: C.accentPurple },
    line: { color: C.accentPurple }
  });
  slide.addText(label.toUpperCase(), {
    x: 0, y: 0, w: 10, h: 0.6,
    align: "center", valign: "middle",
    fontSize: 13, bold: true, color: C.white,
    charSpacing: 4, margin: 0
  });
}

// ─── HELPER: slide background ────────────────────────────────────
function darkSlide(pres) {
  const slide = pres.addSlide();
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0, w: 10, h: 5.625,
    fill: { color: C.darkBg }, line: { color: C.darkBg }
  });
  return slide;
}

function midSlide(pres) {
  const slide = pres.addSlide();
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0, y: 0, w: 10, h: 5.625,
    fill: { color: C.midBg }, line: { color: C.midBg }
  });
  return slide;
}

// ─── HELPER: accent left border ──────────────────────────────────
function addLeftBorder(slide, color, y, h) {
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.35, y: y, w: 0.07, h: h,
    fill: { color: color }, line: { color: color }
  });
}

// ─── SLIDE 1: TITLE ──────────────────────────────────────────────
{
  const slide = darkSlide(pres);

  // Spider web decorative arcs (corner circles)
  slide.addShape(pres.shapes.OVAL, {
    x: -0.3, y: -0.3, w: 2.8, h: 2.8,
    line: { color: C.accentPurple, width: 1, transparency: 60 },
    fill: { type: "none" }
  });
  slide.addShape(pres.shapes.OVAL, {
    x: -0.8, y: -0.8, w: 3.8, h: 3.8,
    line: { color: C.accentPurple, width: 0.5, transparency: 75 },
    fill: { type: "none" }
  });
  slide.addShape(pres.shapes.OVAL, {
    x: 7.5, y: 3.0, w: 2.8, h: 2.8,
    line: { color: C.accentGold, width: 1, transparency: 60 },
    fill: { type: "none" }
  });
  slide.addShape(pres.shapes.OVAL, {
    x: 7.0, y: 2.5, w: 3.8, h: 3.8,
    line: { color: C.accentGold, width: 0.5, transparency: 75 },
    fill: { type: "none" }
  });

  // Horizontal gold accent line
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 2.5, y: 2.1, w: 5, h: 0.04,
    fill: { color: C.accentGold }, line: { color: C.accentGold }
  });

  // Title
  slide.addText("SPIDER GROUP", {
    x: 0.5, y: 0.9, w: 9, h: 1.0,
    align: "center", fontSize: 52, bold: true, color: C.white,
    charSpacing: 8, glow: { size: 12, color: C.accentPurple, opacity: 0.7 }
  });
  slide.addText("OF REMEDIES IN HOMOEOPATHY", {
    x: 0.5, y: 1.9, w: 9, h: 0.55,
    align: "center", fontSize: 20, bold: false, color: C.accentGold,
    charSpacing: 3
  });

  // Subtitle block
  slide.addShape(pres.shapes.ROUNDED_RECTANGLE, {
    x: 2.2, y: 2.65, w: 5.6, h: 0.85,
    fill: { color: C.accentPurple, transparency: 30 },
    line: { color: C.accentPurple, width: 1 },
    rectRadius: 0.1
  });
  slide.addText("Materia Medica  |  Class Arachnida  |  Arthropoda", {
    x: 2.2, y: 2.65, w: 5.6, h: 0.85,
    align: "center", valign: "middle", fontSize: 13,
    color: C.lightGray, italic: true
  });

  // Footer
  slide.addText("Orris  ·  Homeopathy Materia Medica", {
    x: 0, y: 5.2, w: 10, h: 0.4,
    align: "center", fontSize: 10, color: C.accentPurple
  });
}

// ─── SLIDE 2: INTRODUCTION ───────────────────────────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "Introduction");

  // Left content panel
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.3, y: 0.75, w: 5.9, h: 4.6,
    fill: { color: C.cardBg, transparency: 20 },
    line: { color: C.accentPurple, width: 1 }
  });

  addLeftBorder(slide, C.accentGold, 0.85, 4.3);

  slide.addText("What is the Spider Group?", {
    x: 0.55, y: 0.85, w: 5.5, h: 0.5,
    fontSize: 16, bold: true, color: C.accentGold
  });

  const introPoints = [
    "Spider remedies belong to Class Arachnida, Order Araneae, Phylum Arthropoda — eight-legged predatory arthropods.",
    "Prepared from the whole living spider, spider venom, or spider web (Tela Araneae / cobweb) via trituration and potentisation.",
    "Introduced into homeopathic Materia Medica through provings, toxicological studies and clinical experience.",
    "The group shares a common 'spider essence' — a unique combination of restlessness, periodicity, hypersensitivity, and cunning survival instinct.",
    "Antidote for the entire group: Ledum Palustre.",
    "First major spider remedy introduced: Tarentula Hispanica (Spanish Spider) — by Dr. Nunez in 1864.",
  ];

  slide.addText(introPoints.map((t, i) => ({
    text: `${t}`,
    options: { bullet: { code: "25CF", color: C.accentPurple }, breakLine: true, color: C.white, fontSize: 11.5, paraSpaceAfter: 6 }
  })), {
    x: 0.55, y: 1.45, w: 5.55, h: 3.65
  });

  // Right: classification box
  slide.addShape(pres.shapes.ROUNDED_RECTANGLE, {
    x: 6.45, y: 0.75, w: 3.2, h: 4.6,
    fill: { color: C.cardBg2, transparency: 15 },
    line: { color: C.accentGold, width: 1.5 },
    rectRadius: 0.12
  });
  slide.addText("CLASSIFICATION", {
    x: 6.45, y: 0.82, w: 3.2, h: 0.42,
    align: "center", fontSize: 12, bold: true, color: C.accentGold, charSpacing: 2
  });

  const taxa = [
    ["Kingdom", "Animalia"],
    ["Phylum", "Arthropoda"],
    ["Class", "Arachnida"],
    ["Order", "Araneae"],
    ["Fangs", "Chelicerae"],
    ["Legs", "4 pairs (8)"],
    ["Eyes", "Simple (6–8)"],
    ["Spinnerets", "Silk glands"],
  ];

  taxa.forEach(([label, val], i) => {
    const yy = 1.35 + i * 0.47;
    slide.addShape(pres.shapes.RECTANGLE, {
      x: 6.55, y: yy, w: 1.3, h: 0.38,
      fill: { color: C.accentPurple, transparency: 25 },
      line: { color: C.accentPurple }
    });
    slide.addText(label, {
      x: 6.55, y: yy, w: 1.3, h: 0.38,
      align: "center", valign: "middle", fontSize: 10, bold: true, color: C.white, margin: 0
    });
    slide.addText(val, {
      x: 7.9, y: yy, w: 1.65, h: 0.38,
      align: "left", valign: "middle", fontSize: 10, color: C.lightGray, margin: 4
    });
  });
}

// ─── SLIDE 3: GENERAL FEATURES ───────────────────────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "General Features");

  // 3 column cards
  const cols = [
    {
      title: "🕷 Zoological",
      items: [
        "8 legs, 2 body segments (cephalothorax + abdomen)",
        "Chelicerae with venom glands and fangs",
        "Silk-producing spinnerets",
        "Simple eyes (6–8); no antennae",
        "Predatory — paralyse prey with venom",
        "Subgroups by fang mechanism:\n  - Mygalomorphae (vertical fangs): Mygale, Tarentula Cubensis\n  - Araneomorphae (lateral fangs): Aranea, Theridion, Latrodectus"
      ]
    },
    {
      title: "⚗ Source & Preparation",
      items: [
        "Prepared from: whole live spider, venom, or web (Tela Araneae)",
        "Method: trituration (insoluble parts) or liquid potencies",
        "Provings done on healthy subjects in classical Hahnemannian tradition",
        "Spider web (cobweb) used empirically since ancient times for wound healing and intermittent fever",
        "Latrodectus toxicology closely mirrors its homeopathic proving picture"
      ]
    },
    {
      title: "🧠 Essence",
      items: [
        "Central theme: survival, cunning, entrapment",
        "Inner tension between two extremes: hyperactivity ↔ collapse",
        "Sensitivity to all stimuli: sound, light, touch, colour",
        "Periodicity — symptoms recur at exact times",
        "Music — unique: may aggravate OR ameliorate",
        "Shamelessness; sexuality; violence; hysteria",
        "Strong fear of spiders (Arachnophobia) often in patients needing the remedy"
      ]
    }
  ];

  cols.forEach((col, ci) => {
    const xpos = 0.2 + ci * 3.27;
    slide.addShape(pres.shapes.RECTANGLE, {
      x: xpos, y: 0.72, w: 3.1, h: 4.7,
      fill: { color: C.cardBg, transparency: 20 },
      line: { color: ci === 0 ? C.accentRed : ci === 1 ? C.accentGold : C.accentPurple, width: 1.5 }
    });
    slide.addText(col.title, {
      x: xpos + 0.1, y: 0.78, w: 2.9, h: 0.44,
      fontSize: 12, bold: true,
      color: ci === 0 ? C.accentRed : ci === 1 ? C.accentGold : C.accentPurple
    });
    slide.addText(col.items.map(t => ({
      text: t,
      options: { bullet: true, breakLine: true, color: C.white, fontSize: 10, paraSpaceAfter: 5 }
    })), {
      x: xpos + 0.12, y: 1.28, w: 2.88, h: 4.0
    });
  });
}

// ─── SLIDE 4: MENTAL CHARACTERISTICS ─────────────────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "Mental Characteristics");

  // Left panel heading
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.25, y: 0.72, w: 4.65, h: 4.7,
    fill: { color: C.cardBg2, transparency: 15 },
    line: { color: C.accentPurple, width: 1.5 }
  });

  slide.addText("Core Mental Themes", {
    x: 0.35, y: 0.78, w: 4.4, h: 0.42,
    fontSize: 14, bold: true, color: C.accentPurple
  });

  const mentals = [
    { h: "Restlessness & Hurriedness", b: "Constant inner and outer unrest. Must keep moving. Hurried speech. Can't sit still." },
    { h: "Cunning & Manipulation", b: "Feigns sickness to gain sympathy. Deceptive, sly, scheming. Creates webs of manipulation." },
    { h: "Hypersensitivity", b: "Over-sensitive to noise, light, touch, colors. Sounds penetrate through whole body to the teeth." },
    { h: "Periodicity", b: "Symptoms recur at exact same time — daily, weekly, or seasonal." },
    { h: "Music / Dance", b: "Peculiar: music may cause intense restlessness OR bring relief. Strong desire to dance (Tarentula Hisp.)." },
    { h: "Violence & Hysteria", b: "Hysterical conduct, tears clothing, violent impulses. Attacks worse when not being observed." },
    { h: "Sexuality", b: "Sexual excitement verging on insanity. Lasciviousness. Shameless behavior." },
    { h: "Fear & Anxiety", b: "Fear of death, suffocation, constriction. Anxiety in cardiac region (Latrodactus)." },
  ];

  mentals.forEach((m, i) => {
    const yy = 1.28 + i * 0.52;
    slide.addText([
      { text: m.h + "  ", options: { bold: true, color: C.accentGold, fontSize: 10.5 } },
      { text: m.b, options: { bold: false, color: C.lightGray, fontSize: 10 } }
    ], { x: 0.45, y: yy, w: 4.35, h: 0.48 });
  });

  // Right panel - key rubrics
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 5.15, y: 0.72, w: 4.55, h: 4.7,
    fill: { color: C.cardBg, transparency: 20 },
    line: { color: C.accentGold, width: 1.5 }
  });

  slide.addText("Key Rubrics & Features", {
    x: 5.25, y: 0.78, w: 4.3, h: 0.42,
    fontSize: 14, bold: true, color: C.accentGold
  });

  const rubrics = [
    ["Delirium", "restlessness, must keep in motion"],
    ["Delusions", "swollen body parts; head not belonging to self"],
    ["Impulse", "to destroy, strike, bite"],
    ["Aversion", "to company, yet fear of being alone"],
    ["Loquacity", "with constant talking, singing, moaning"],
    ["Weeping", "alternating with laughter (Ignatia-like)"],
    ["Concentration", "difficult; mind unsettled"],
    ["Jealousy", "envy, suspicion, distrust"],
    ["Suicidal tendency", "thoughts of death (Latrodactus, Theridion)"],
    ["Dreams", "of flying, falling, spiders, death"],
  ];

  rubrics.forEach(([rub, desc], i) => {
    const yy = 1.28 + i * 0.43;
    slide.addShape(pres.shapes.RECTANGLE, {
      x: 5.2, y: yy, w: 2.05, h: 0.35,
      fill: { color: C.accentPurple, transparency: 40 },
      line: { color: C.accentPurple }
    });
    slide.addText(rub, {
      x: 5.2, y: yy, w: 2.05, h: 0.35,
      align: "center", valign: "middle", fontSize: 10, bold: true, color: C.white, margin: 0
    });
    slide.addText(desc, {
      x: 7.3, y: yy, w: 2.3, h: 0.38,
      valign: "middle", fontSize: 9.5, color: C.lightGray, margin: 3
    });
  });
}

// ─── SLIDE 5: PHYSICAL CHARACTERISTICS ──────────────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "Physical Characteristics");

  const sections = [
    {
      title: "Nervous System", color: C.accentRed,
      items: ["Chorea-like movements — convulsive jerks of arms and legs", "Trembling, twitching of limbs", "Hyperesthesia of spinal cord", "Sensitivity of spine between scapulae", "Restless hands; limbs drag while walking"]
    },
    {
      title: "Cardiovascular", color: C.accentGold,
      items: ["Palpitations; sensation of heart twisted and turning", "Precordial anguish", "Marked action on coronary arteries (Latrodactus)", "Angina-like constriction, cardiac syncope", "Pulse rate rapidly lowered (Tela Araneae)"]
    },
    {
      title: "Sensory & Skin", color: C.accentPurple,
      items: ["Every sound penetrates whole body — to the teeth", "Extreme sensitivity to music, bright colors, light", "Itching, stinging, burning sensations of skin", "Sensitive skin especially in thighs", "Urticaria, herpes, pemphigus (Latrodactus)"]
    },
    {
      title: "Generals & Characteristic", color: "4CBFB4",
      items: ["Great periodicity — exact timing of symptoms", "Chilliness — feels cold to the bone (Aranea Diadema)", "Emaciation and great weakness", "Abnormal sensitiveness to damp and cold", "Sensation of numbness / enlargement on waking"]
    }
  ];

  sections.forEach((sec, i) => {
    const col = i % 2;
    const row = Math.floor(i / 2);
    const xpos = col === 0 ? 0.2 : 5.15;
    const ypos = 0.72 + row * 2.45;

    slide.addShape(pres.shapes.RECTANGLE, {
      x: xpos, y: ypos, w: 4.7, h: 2.25,
      fill: { color: C.cardBg2, transparency: 20 },
      line: { color: sec.color, width: 1.5 }
    });
    slide.addShape(pres.shapes.RECTANGLE, {
      x: xpos, y: ypos, w: 4.7, h: 0.42,
      fill: { color: sec.color, transparency: 20 },
      line: { color: sec.color }
    });
    slide.addText(sec.title, {
      x: xpos + 0.1, y: ypos, w: 4.5, h: 0.42,
      valign: "middle", fontSize: 12, bold: true, color: C.white, margin: 6
    });
    slide.addText(sec.items.map(t => ({
      text: t,
      options: { bullet: true, breakLine: true, color: C.lightGray, fontSize: 9.8, paraSpaceAfter: 3 }
    })), { x: xpos + 0.15, y: ypos + 0.46, w: 4.45, h: 1.72 });
  });
}

// ─── SLIDE 6: GENERAL MODALITIES ─────────────────────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "General Modalities");

  // WORSE column
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.25, y: 0.72, w: 4.55, h: 4.7,
    fill: { color: "2A0D0D", transparency: 10 },
    line: { color: C.accentRed, width: 2 }
  });
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.25, y: 0.72, w: 4.55, h: 0.55,
    fill: { color: C.accentRed, transparency: 10 },
    line: { color: C.accentRed }
  });
  slide.addText("▼  WORSE  (Aggravation)", {
    x: 0.3, y: 0.72, w: 4.45, h: 0.55,
    align: "center", valign: "middle",
    fontSize: 14, bold: true, color: C.white, margin: 0
  });

  const worse = [
    ["Motion", "activity worsens neurological symptoms"],
    ["Touch", "extreme hyperesthesia"],
    ["Noise / Sound", "sound penetrates whole body"],
    ["Bright colours / Light", "visual hypersensitivity"],
    ["Music", "(aggravates in some — Theridion)"],
    ["Damp & cold weather", "esp. Aranea Diadema"],
    ["Periodicity", "fixed times: day, week, year"],
    ["Night & sleep", "symptoms intensify at night"],
    ["Left side", "laterality of many spider Rx"],
    ["Coitus", "seminal emissions, aggravation"],
  ];

  worse.forEach(([w, note], i) => {
    const yy = 1.35 + i * 0.39;
    slide.addShape(pres.shapes.RECTANGLE, {
      x: 0.35, y: yy, w: 1.7, h: 0.32,
      fill: { color: C.accentRed, transparency: 50 },
      line: { color: C.accentRed, width: 0.5 }
    });
    slide.addText(w, {
      x: 0.35, y: yy, w: 1.7, h: 0.32,
      align: "center", valign: "middle", fontSize: 10, bold: true, color: C.white, margin: 0
    });
    slide.addText(note, {
      x: 2.1, y: yy, w: 2.55, h: 0.35,
      valign: "middle", fontSize: 9.5, color: C.lightGray, italic: true, margin: 2
    });
  });

  // BETTER column
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 5.2, y: 0.72, w: 4.55, h: 4.7,
    fill: { color: "0A1F0A", transparency: 10 },
    line: { color: "4BA84B", width: 2 }
  });
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 5.2, y: 0.72, w: 4.55, h: 0.55,
    fill: { color: "4BA84B", transparency: 10 },
    line: { color: "4BA84B" }
  });
  slide.addText("▲  BETTER  (Amelioration)", {
    x: 5.25, y: 0.72, w: 4.45, h: 0.55,
    align: "center", valign: "middle",
    fontSize: 14, bold: true, color: C.white, margin: 0
  });

  const better = [
    ["Open air", "fresh air relieves most complaints"],
    ["Music", "(ameliorates in Tarentula Hispanica)"],
    ["Dancing", "rhythmic movement relieves restlessness"],
    ["Constant movement", "Tarentula Cubensis must keep moving"],
    ["Darkness / quiet", "relieves hypersensitivity"],
    ["Warmth", "esp. general chilliness"],
    ["Pressure", "firm pressure relieves pains"],
    ["Smoking / tobacco", "Aranea Diadema"],
    ["Summer", "Aranea Diadema worse in cold/damp"],
    ["Lying down", "reduces vertigo and weakness"],
  ];

  better.forEach(([b, note], i) => {
    const yy = 1.35 + i * 0.39;
    slide.addShape(pres.shapes.RECTANGLE, {
      x: 5.3, y: yy, w: 1.7, h: 0.32,
      fill: { color: "4BA84B", transparency: 40 },
      line: { color: "4BA84B", width: 0.5 }
    });
    slide.addText(b, {
      x: 5.3, y: yy, w: 1.7, h: 0.32,
      align: "center", valign: "middle", fontSize: 10, bold: true, color: C.white, margin: 0
    });
    slide.addText(note, {
      x: 7.05, y: yy, w: 2.55, h: 0.35,
      valign: "middle", fontSize: 9.5, color: C.lightGray, italic: true, margin: 2
    });
  });
}

// ─── SLIDE 7: REMEDY NAMES (overview table) ───────────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "Remedy Names — Spider Group");

  const remedies = [
    { no: "01", name: "Tarentula Hispanica", common: "Spanish Spider", keynote: "Extreme restlessness; desires music & dance; hysterical conduct; chorea", mod: "< music/colour/touch; > dancing" },
    { no: "02", name: "Tarentula Cubensis", common: "Cuban Tarantula", keynote: "Septic states; atrocious burning pain; must keep in motion despite < walking", mod: "< noise/cold/damp; > relaxation" },
    { no: "03", name: "Aranea Diadema", common: "Cross / Garden Spider", keynote: "Exact periodicity; feels cold to the bone; sensation of enlargement on waking", mod: "< cold/damp/night; > tobacco/pressure" },
    { no: "04", name: "Aranea Ixobola", common: "Ixobola Spider", keynote: "Nervous temperament; headache with sense of constriction; periodicity", mod: "< cold; > rest" },
    { no: "05", name: "Theridion Curassavicum", common: "Orange Spider", keynote: "Extreme sensitiveness to noise; vertigo < closing eyes/least noise; spinal caries", mod: "< noise/jar/touch; > absolute rest" },
    { no: "06", name: "Mygale Lasiodora", common: "Black Cuban Spider", keynote: "Chorea; twitching of facial muscles; unsteady gait; constant involuntary movements", mod: "< morning; > sleep" },
    { no: "07", name: "Latrodectus Mactans", common: "Black Widow Spider", keynote: "Cardiac failure; angina; constriction; screaming from anguish; fear of death", mod: "< least motion; > lying still" },
    { no: "08", name: "Latrodectus Hasselti", common: "Red-back Spider", keynote: "Similar to Lat. Mactans; cardiac and urogenital symptoms dominant", mod: "< activity; > rest" },
    { no: "09", name: "Latrodectus Katipo", common: "Katipo Spider (NZ)", keynote: "Neuromuscular toxicity picture; pain radiating from bite site; prostration", mod: "< exertion" },
    { no: "10", name: "Aranerum Tela", common: "Cobweb / Spider Web", keynote: "Lowers pulse rapidly; calm delightful feeling followed by sleep; sleeplessness", mod: "< stimuli; > absolute rest/warmth" },
  ];

  // Header row
  const cols = [
    { label: "#", w: 0.35, x: 0.15 },
    { label: "Remedy Name", w: 2.2, x: 0.55 },
    { label: "Common Name", w: 1.7, x: 2.8 },
    { label: "Keynote / Essence", w: 3.85, x: 4.55 },
    { label: "Modalities", w: 1.5, x: 8.45 },
  ];

  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.12, y: 0.68, w: 9.75, h: 0.38,
    fill: { color: C.accentPurple }, line: { color: C.accentPurple }
  });
  cols.forEach(c => {
    slide.addText(c.label, {
      x: c.x, y: 0.68, w: c.w, h: 0.38,
      align: "center", valign: "middle", fontSize: 10, bold: true, color: C.white, margin: 0
    });
  });

  remedies.forEach((r, i) => {
    const yy = 1.1 + i * 0.45;
    const rowColor = i % 2 === 0 ? "1E1050" : "251460";
    slide.addShape(pres.shapes.RECTANGLE, {
      x: 0.12, y: yy, w: 9.75, h: 0.41,
      fill: { color: rowColor }, line: { color: "333366", width: 0.5 }
    });
    slide.addText(r.no, { x: 0.15, y: yy, w: 0.35, h: 0.41, align: "center", valign: "middle", fontSize: 9, bold: true, color: C.accentGold, margin: 0 });
    slide.addText(r.name, { x: 0.55, y: yy, w: 2.2, h: 0.41, valign: "middle", fontSize: 9.5, bold: true, color: C.white, margin: 3 });
    slide.addText(r.common, { x: 2.8, y: yy, w: 1.7, h: 0.41, valign: "middle", fontSize: 9, color: C.lightGray, italic: true, margin: 3 });
    slide.addText(r.keynote, { x: 4.55, y: yy, w: 3.85, h: 0.41, valign: "middle", fontSize: 9, color: C.lightGray, margin: 3 });
    slide.addText(r.mod, { x: 8.45, y: yy, w: 1.5, h: 0.41, valign: "middle", fontSize: 8.5, color: "A8D8A8", margin: 2 });
  });
}

// ─── SLIDE 8: INDIVIDUAL REMEDIES DETAIL (1 of 2) ────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "Key Remedies — Detailed Profile (1/2)");

  const rx = [
    {
      name: "Tarentula Hispanica",
      sub: "Spanish Spider",
      color: C.accentRed,
      mentals: "Extreme restlessness. Cunning, deceptive. Hurried speech. Hysterical conduct; violent, tears clothing. Intense desire for music — soothes or excites.",
      physicals: "Chorea; constant involuntary movements. Head jerked to one side. Sexual excitement almost to insanity. Intense spinal sensitivity. Palpitations.",
      keynote: "Music and dance ameliorate. Complaints WORSE bright colours, music, touch, periodically.",
      mod: "< touch/colour/music/morning | > dancing/constant movement/darkness"
    },
    {
      name: "Aranea Diadema",
      sub: "Cross Spider / European Garden Spider",
      color: C.accentGold,
      mentals: "Nervous phlegmatic temperament. Despondent, longs for death. Delusion of being swollen. Morose, peevish during intermittent fever.",
      physicals: "Feels cold to the bone — cannot get warm. Marked periodicity at exact times. Sensation of enormous numbness/enlargement on waking. Violent toothache on retiring.",
      keynote: "Coldness + periodicity are the twin pillars. Abnormal sensitivity to damp and cold.",
      mod: "< cold/damp/rain/afternoon-midnight | > tobacco/pressure/open air/summer"
    },
    {
      name: "Theridion Curassavicum",
      sub: "Orange Spider",
      color: "4CBFB4",
      mentals: "Extreme sensitivity to noise — sounds penetrate teeth. Afraid of being touched. Hysteria. Vertigo, nausea on closing eyes.",
      physicals: "Phthisis — stitch high up in left apex. Spinal caries. Sensitiveness of all senses. Every jar and sound intolerable. Trembling whole body.",
      keynote: "Hypersensitivity to vibration and jar. Vertigo worse closing eyes.",
      mod: "< noise/jar/touch/closing eyes/left side | > absolute rest/pressure"
    },
  ];

  rx.forEach((r, i) => {
    const xpos = 0.15 + i * 3.28;
    slide.addShape(pres.shapes.RECTANGLE, {
      x: xpos, y: 0.72, w: 3.1, h: 4.7,
      fill: { color: C.cardBg, transparency: 15 },
      line: { color: r.color, width: 2 }
    });
    slide.addShape(pres.shapes.RECTANGLE, {
      x: xpos, y: 0.72, w: 3.1, h: 0.55,
      fill: { color: r.color, transparency: 20 },
      line: { color: r.color }
    });
    slide.addText([
      { text: r.name + "\n", options: { bold: true, fontSize: 11, color: C.white, breakLine: true } },
      { text: r.sub, options: { italic: true, fontSize: 9.5, color: C.lightGray } }
    ], { x: xpos + 0.1, y: 0.72, w: 2.9, h: 0.55, valign: "middle" });

    const labels = ["Mentals", "Physicals", "Keynote", "Modalities"];
    const bodies = [r.mentals, r.physicals, r.keynote, r.mod];
    const lcolors = [C.accentPurple, C.accentRed, C.accentGold, "4BA84B"];

    let yy = 1.35;
    labels.forEach((lbl, li) => {
      slide.addText(lbl.toUpperCase(), {
        x: xpos + 0.12, y: yy, w: 2.85, h: 0.26,
        fontSize: 9, bold: true, color: lcolors[li], charSpacing: 1
      });
      yy += 0.26;
      slide.addText(bodies[li], {
        x: xpos + 0.12, y: yy, w: 2.85, h: li < 2 ? 0.82 : 0.52,
        fontSize: 9.2, color: C.white, margin: 2
      });
      yy += (li < 2 ? 0.85 : 0.55);
    });
  });
}

// ─── SLIDE 9: INDIVIDUAL REMEDIES DETAIL (2 of 2) ────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "Key Remedies — Detailed Profile (2/2)");

  const rx2 = [
    {
      name: "Latrodectus Mactans",
      sub: "Black Widow Spider",
      color: C.accentRed,
      mentals: "Shrieking, screaming, shouting from anguish. Anxiety in chest. Thoughts of death. Dreams of flying. Oversensitive to noise and pain.",
      physicals: "Marked action on heart & coronary arteries. Angina pectoris — constriction, extending to arm. Cardiac syncope, myocardial infarction picture. Skin: urticaria, herpes.",
      keynote: "The #1 cardiac spider remedy. Screaming from precordial anguish.",
      mod: "< least motion/noise | > lying still/rest"
    },
    {
      name: "Mygale Lasiodora",
      sub: "Black Cuban Spider",
      color: C.accentPurple,
      mentals: "Delirious, restless, sad. Fears death. Despondent. Aversion to food.",
      physicals: "Chorea of children. Twitching facial muscles. Mouth & eyes open in rapid succession. Head jerked to one side. Tongue dry. Excessive thirst. Violent erections. Unsteady gait.",
      keynote: "Chorea — uncontrolled jerking movements of face and limbs.",
      mod: "< morning/excitement | > sleep"
    },
    {
      name: "Aranerum Tela (Cobweb)",
      sub: "Spider Web",
      color: C.accentGold,
      mentals: "Nervous irritability. Mind unsettled, difficulty focusing. Episodes of sudden fearfulness. Sensitivity overwhelms.",
      physicals: "Lowers pulse frequency rapidly. Calm, delightful feeling → disposition to sleep. Distinctly chilly constitution. Used historically for intermittent fever and wound dressing.",
      keynote: "Rapidly lowers pulse. Calming sedative effect. Ancient empirical use for fever.",
      mod: "< stimuli/cold | > warmth/absolute rest/sleep"
    },
  ];

  rx2.forEach((r, i) => {
    const xpos = 0.15 + i * 3.28;
    slide.addShape(pres.shapes.RECTANGLE, {
      x: xpos, y: 0.72, w: 3.1, h: 4.7,
      fill: { color: C.cardBg, transparency: 15 },
      line: { color: r.color, width: 2 }
    });
    slide.addShape(pres.shapes.RECTANGLE, {
      x: xpos, y: 0.72, w: 3.1, h: 0.55,
      fill: { color: r.color, transparency: 20 },
      line: { color: r.color }
    });
    slide.addText([
      { text: r.name + "\n", options: { bold: true, fontSize: 11, color: C.white, breakLine: true } },
      { text: r.sub, options: { italic: true, fontSize: 9.5, color: C.lightGray } }
    ], { x: xpos + 0.1, y: 0.72, w: 2.9, h: 0.55, valign: "middle" });

    const labels = ["Mentals", "Physicals", "Keynote", "Modalities"];
    const bodies = [r.mentals, r.physicals, r.keynote, r.mod];
    const lcolors = [C.accentPurple, C.accentRed, C.accentGold, "4BA84B"];

    let yy = 1.35;
    labels.forEach((lbl, li) => {
      slide.addText(lbl.toUpperCase(), {
        x: xpos + 0.12, y: yy, w: 2.85, h: 0.26,
        fontSize: 9, bold: true, color: lcolors[li], charSpacing: 1
      });
      yy += 0.26;
      slide.addText(bodies[li], {
        x: xpos + 0.12, y: yy, w: 2.85, h: li < 2 ? 0.82 : 0.52,
        fontSize: 9.2, color: C.white, margin: 2
      });
      yy += (li < 2 ? 0.85 : 0.55);
    });
  });
}

// ─── SLIDE 10: COMPARATIVE SUMMARY ───────────────────────────────
{
  const slide = midSlide(pres);
  addSectionBar(slide, "Comparative Summary — Spider Remedies");

  const comparisons = [
    { feature: "Extreme Restlessness", remedies: "Tarentula Hisp, Tarentula Cubensis, Mygale" },
    { feature: "Periodicity (exact timing)", remedies: "Aranea Diadema (most marked)" },
    { feature: "Cardiac Symptoms", remedies: "Latrodactus Mactans (chief), Latrodactus Hasselti" },
    { feature: "Chorea / Involuntary movements", remedies: "Mygale Lasiodora, Tarentula Hispanica" },
    { feature: "Music aggravates", remedies: "Theridion Curassavicum" },
    { feature: "Music ameliorates", remedies: "Tarentula Hispanica" },
    { feature: "Spinal sensitiveness", remedies: "Theridion Curassavicum (most marked)" },
    { feature: "Coldness to the bone", remedies: "Aranea Diadema" },
    { feature: "Vertigo < closing eyes", remedies: "Theridion Curassavicum" },
    { feature: "Desire to dance", remedies: "Tarentula Hispanica" },
    { feature: "Lowers pulse rapidly", remedies: "Aranerum Tela (Cobweb)" },
    { feature: "Septic / Gangrenous states", remedies: "Tarentula Cubensis, Latrodactus Mactans" },
  ];

  // Header
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.2, y: 0.7, w: 9.6, h: 0.38,
    fill: { color: C.accentPurple }, line: { color: C.accentPurple }
  });
  slide.addText("DISTINCTIVE FEATURE", { x: 0.2, y: 0.7, w: 4.0, h: 0.38, align: "center", valign: "middle", fontSize: 11, bold: true, color: C.white, margin: 0 });
  slide.addText("REMEDY / REMEDIES", { x: 4.25, y: 0.7, w: 5.55, h: 0.38, align: "center", valign: "middle", fontSize: 11, bold: true, color: C.white, margin: 0 });

  comparisons.forEach((c, i) => {
    const yy = 1.12 + i * 0.37;
    const bg = i % 2 === 0 ? "1E1050" : "251460";
    slide.addShape(pres.shapes.RECTANGLE, {
      x: 0.2, y: yy, w: 9.6, h: 0.34,
      fill: { color: bg }, line: { color: "333366", width: 0.5 }
    });
    slide.addShape(pres.shapes.RECTANGLE, {
      x: 4.18, y: yy, w: 0.04, h: 0.34,
      fill: { color: C.accentPurple }, line: { color: C.accentPurple }
    });
    slide.addText(c.feature, { x: 0.3, y: yy, w: 3.85, h: 0.34, valign: "middle", fontSize: 10, color: C.lightGray, margin: 4 });
    slide.addText(c.remedies, { x: 4.28, y: yy, w: 5.42, h: 0.34, valign: "middle", fontSize: 10, bold: true, color: C.accentGold, margin: 4 });
  });

  // Footer note
  slide.addShape(pres.shapes.RECTANGLE, {
    x: 0.2, y: 5.2, w: 9.6, h: 0.3,
    fill: { color: C.accentPurple, transparency: 70 },
    line: { color: C.accentPurple }
  });
  slide.addText("Group Antidote: Ledum Palustre  |  All spider remedies share restlessness, periodicity & hypersensitivity as group features", {
    x: 0.2, y: 5.2, w: 9.6, h: 0.3,
    align: "center", valign: "middle", fontSize: 9.5, italic: true, color: C.lightGray, margin: 0
  });
}

// ─── SLIDE 11: THANK YOU ──────────────────────────────────────────
{
  const slide = darkSlide(pres);

  // Decorative rings
  slide.addShape(pres.shapes.OVAL, {
    x: 3.2, y: 0.8, w: 3.6, h: 3.6,
    line: { color: C.accentPurple, width: 1.5, transparency: 50 },
    fill: { type: "none" }
  });
  slide.addShape(pres.shapes.OVAL, {
    x: 2.7, y: 0.3, w: 4.6, h: 4.6,
    line: { color: C.accentPurple, width: 0.7, transparency: 70 },
    fill: { type: "none" }
  });
  slide.addShape(pres.shapes.OVAL, {
    x: 2.2, y: -0.2, w: 5.6, h: 5.6,
    line: { color: C.accentGold, width: 0.5, transparency: 80 },
    fill: { type: "none" }
  });

  slide.addText("Thank You", {
    x: 0.5, y: 1.6, w: 9, h: 1.1,
    align: "center", fontSize: 52, bold: true, color: C.white,
    glow: { size: 14, color: C.accentPurple, opacity: 0.7 }
  });

  slide.addShape(pres.shapes.RECTANGLE, {
    x: 3.0, y: 2.75, w: 4.0, h: 0.04,
    fill: { color: C.accentGold }, line: { color: C.accentGold }
  });

  slide.addText("Spider Group of Remedies  |  Homoeopathic Materia Medica", {
    x: 0.5, y: 2.85, w: 9, h: 0.5,
    align: "center", fontSize: 14, color: C.accentGold, italic: true
  });

  slide.addText([
    { text: "Key Takeaway: ", options: { bold: true, color: C.accentPurple, fontSize: 12 } },
    { text: "All spider remedies share the trinity of ", options: { color: C.lightGray, fontSize: 12 } },
    { text: "Restlessness · Periodicity · Hypersensitivity", options: { bold: true, color: C.white, fontSize: 12 } }
  ], {
    x: 1, y: 3.5, w: 8, h: 0.55, align: "center"
  });

  slide.addText("Antidote for entire group: Ledum Palustre", {
    x: 1, y: 4.1, w: 8, h: 0.4,
    align: "center", fontSize: 11, color: C.accentGold, italic: true
  });

  slide.addText("Prepared by Orris  ·  Homeopathy Materia Medica", {
    x: 0, y: 5.2, w: 10, h: 0.4,
    align: "center", fontSize: 9.5, color: C.accentPurple
  });
}

// ─── WRITE FILE ───────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/spider-homeopathy-ppt/Spider_Group_Homoeopathy.pptx" })
  .then(() => console.log("✅  Saved: Spider_Group_Homoeopathy.pptx"))
  .catch(err => { console.error("❌ Error:", err); process.exit(1); });
Running Command

cd /home/daytona/workspace/spider-homeopathy-ppt && node spider_ppt.js 2>&1

Running Command

ls -lh /home/daytona/workspace/spider-homeopathy-ppt/Spider_Group_Homoeopathy.pptx

Your presentation is ready! Download it here:

Spider Group Homoeopathy

Presentation · PPTX


Here is what's inside the 11-slide deck (deep purple/navy theme with gold accents):
SlideContent
1Title Slide - Spider Group of Remedies in Homoeopathy
2Introduction - What the group is, preparation method, history, group essence; full Linnaean classification table
3General Features - 3 columns: Zoological features, Source & Preparation, Core Essence
4Mental Characteristics - 8 core mental themes (restlessness, cunning, hysteria, sexuality, violence, fear...) + 10 key rubrics
5Physical Characteristics - 4 system cards: Nervous, Cardiovascular, Sensory/Skin, Generals
6General Modalities - Side-by-side WORSE vs BETTER columns with 10 entries each and explanatory notes
7Remedy Names - Full table of all 10 spider remedies with common name, keynote, and modalities
8Detailed Profiles 1/2 - Tarentula Hispanica, Aranea Diadema, Theridion Curassavicum
9Detailed Profiles 2/2 - Latrodectus Mactans, Mygale Lasiodora, Aranerum Tela
10Comparative Summary - 12 distinctive features mapped to specific remedies
11Thank You - Key takeaway: Restlessness · Periodicity · Hypersensitivity; antidote Ledum Pal.

Make a presentation(ppt) on spider group which includes- intrudtion, general feature, mental&physical characters,general modalities, remedy name for homeopathy study reference j d patil book of MM and add some pictures

Summarising Conversation
Finding Sources
Searching the Web

spider group homeopathy J.D. Patil materia medica tarentula aranea mygale theridion latrodectus

Searching the Web

tarentula hispanica aranea diadema theridion mygale latrodactus spider free images homeopathy remedy

Searching the Web

site:commons.wikimedia.org tarentula hispanica spider OR aranea diadema OR latrodectus mactans OR mygale OR theridion

Reading Web Page

https://www.iosrjournals.org/iosr-jdms/papers/Vol24-issue12/…

Searching the Web

tarentula hispanica spider wikimedia commons public domain photograph

Searching the Web

aranea diadema cross spider latrodectus mactans black widow mygale theridion wikimedia commons photograph

Running Command

mkdir -p /home/daytona/workspace/spider-homeopathy-ppt2 && node /home/daytona/skills/shared/scripts/fetch_images.js \ "https://upload.wikimedia.org/wikipedia/commons/8/8f/Lycosa_tarentula.jpg" \ "https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Black_widow_spider_9854_lores.jpg/800px-Black_widow_spider_9854_lores.jpg" \ "https://upload.wikimedia.org/wikipedia/commons/b/b6/Tarantula_Mexico_claudio_giovenzana_2010.jpg" \ "https://upload.wikimedia.org/wikipedia/commons/7/7d/LatrodectusMactansVentral34.JPG" \ 2>&1 | head -5

Running Command

mkdir -p /home/daytona/workspace/spider-homeopathy-ppt2/imgs && curl -s --max-time 15 "https://upload.wikimedia.org/wikipedia/commons/8/8f/Lycosa_tarentula.jpg" -o /home/daytona/workspace/spider-homeopathy-ppt2/imgs/tarentula.jpg && echo "tarentula OK" & curl -s --max-time 15 "https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Black_widow_spider_9854_lores.jpg/800px-Black_widow_spider_9854_lores.jpg" -o /home/daytona/workspace/spider-homeopathy-ppt2/imgs/blackwidow.jpg && echo "blackwidow OK" & wait ls -lh /home/daytona/workspace/spider-homeopathy-ppt2/imgs/

Generating Image

Tarentula Hispanica Spanish wolf spider close-up photograph on white background, scientific illustration style

Generating Image

Latrodectus mactans black widow spider showing red hourglass marking on abdomen, scientific photograph style white background

Generating Image

Aranea diadema cross spider garden spider with cross pattern on abdomen in web, scientific illustration

Generating Image

Mygale lasiodora black Cuban tarantula large hairy spider side view scientific photograph white background

Generating Image

Theridion curassavicum orange spider small colorful West Indian spider scientific illustration white background

Make a presentation(ppt) on opedu group which includes- intrudtion, general feature, mental&physical characters,general modalities, remedy name for homeopathy study reference j d patil book of MM and add some pictures

Searching the Web

opium group homeopathy J.D. Patil materia medica introduction general features mental physical modalities remedies

Searching the Web

opium group homoeopathy remedies opium codeine morphinum nux moschata cannabis indica general features

Reading File
Searching the Web

"opium group" homoeopathy materia medica "opium" "nux moschata" "cannabis" "passiflora" "morphinum" group study remedies

Searching the Web

homeopathy "opium group" OR "opiaceae group" remedy list features narcotic stupor fearlessness insensibility J.D.Patil

Reading Web Page

https://www.homeopathy360.com/harnessing-the-healing-power-o…

Searching the Web

opium group homoeopathy "general characters" "narcotics" "stupor" "insensibility" "fearlessness" "opium" "nux moschata" "cannabis" remedies list BHMS

Reading File
Generating Image

Papaver somniferum opium poppy plant with pink flowers and green seed pods, botanical scientific illustration on white background

Generating Image

Myristica fragrans nutmeg fruit cut open showing seed, botanical illustration Nux Moschata, white background

This is a shared conversation. Sign in to Orris to start your own chat.