Make a ppt on indian medical graduate Title:-Indian Medical Graduate Made by Parveen Garg roll no 100 Also add this

Reading File
Reading File
Running Command

mkdir -p /home/daytona/workspace/indian-medical-graduate

Writing File

~/indian-medical-graduate/create_ppt.js

const pptxgen = require("pptxgenjs");

let pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "Parveen Garg";
pres.title = "Indian Medical Graduate";

// ─── Color palette ───────────────────────────────────────────────
const DARK_BLUE   = "0D2B55";   // dominant background
const MID_BLUE    = "1A4B8C";   // secondary panels
const ACCENT      = "E8A020";   // golden accent
const LIGHT_GREY  = "EFF3F8";   // light slide bg
const WHITE       = "FFFFFF";
const BODY_TEXT   = "1C2B3A";
const MUTED       = "5A7A9A";

// ─── Helper: dark-bg header bar ──────────────────────────────────
function addHeader(slide, text) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0, y: 0, w: 10, h: 1.0, fill: { color: DARK_BLUE }
  });
  slide.addText(text, {
    x: 0.35, y: 0, w: 9.3, h: 1.0,
    fontSize: 26, bold: true, color: WHITE,
    fontFace: "Calibri", valign: "middle", margin: 0
  });
}

// ─── Helper: accent rule line ────────────────────────────────────
function addRule(slide, y) {
  slide.addShape(pres.ShapeType.rect, {
    x: 0.35, y: y, w: 1.6, h: 0.07, fill: { color: ACCENT }, line: { type: "none" }
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 1 – TITLE                                         ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();

  // Full dark background
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BLUE } });

  // Decorative right panel
  s.addShape(pres.ShapeType.rect, { x: 7.2, y: 0, w: 2.8, h: 5.625, fill: { color: MID_BLUE } });

  // Vertical accent bar
  s.addShape(pres.ShapeType.rect, { x: 7.0, y: 0, w: 0.18, h: 5.625, fill: { color: ACCENT }, line: { type: "none" } });

  // Caduceus-inspired decorative circles
  for (let i = 0; i < 5; i++) {
    s.addShape(pres.ShapeType.ellipse, {
      x: 7.4 + (i % 2) * 0.5,
      y: 0.5 + i * 0.9,
      w: 1.6, h: 1.6,
      fill: { type: "none" },
      line: { color: ACCENT, width: 1.5, dashType: "dash" }
    });
  }

  // Golden accent rule
  s.addShape(pres.ShapeType.rect, { x: 0.6, y: 1.8, w: 2.0, h: 0.09, fill: { color: ACCENT }, line: { type: "none" } });

  // Main title
  s.addText("Indian Medical Graduate", {
    x: 0.6, y: 1.0, w: 6.2, h: 0.85,
    fontSize: 36, bold: true, color: WHITE,
    fontFace: "Calibri", valign: "middle", margin: 0
  });

  // Subtitle
  s.addText("Competency-Based Medical Education in India", {
    x: 0.6, y: 1.95, w: 6.2, h: 0.55,
    fontSize: 16, color: ACCENT,
    fontFace: "Calibri", italic: true, margin: 0
  });

  // Author block
  s.addShape(pres.ShapeType.rect, { x: 0.6, y: 3.2, w: 5.5, h: 1.2, fill: { color: "0A1E3D" }, line: { type: "none" } });
  s.addText([
    { text: "Presented by: ", options: { color: ACCENT, bold: true } },
    { text: "Parveen Garg", options: { color: WHITE, bold: true } },
    { text: "\nRoll No: 100", options: { color: MUTED } }
  ], {
    x: 0.6, y: 3.2, w: 5.5, h: 1.2,
    fontSize: 15, fontFace: "Calibri", valign: "middle", margin: 14
  });

  // MCI/NMC badge
  s.addText("NMC | CBME 2019 Framework", {
    x: 0.6, y: 4.9, w: 5.5, h: 0.45,
    fontSize: 11, color: MUTED, italic: true, fontFace: "Calibri", margin: 0
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 2 – WHAT IS AN INDIAN MEDICAL GRADUATE?          ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "What is an Indian Medical Graduate (IMG)?");

  // Definition box
  s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.15, w: 9.3, h: 1.3, fill: { color: MID_BLUE }, line: { type: "none" } });
  s.addText(
    "An Indian Medical Graduate is a physician who has completed the MBBS (Bachelor of Medicine and Bachelor of Surgery) program as defined by the National Medical Commission (NMC) of India, equipped with competencies to function as a physician of first contact.",
    { x: 0.35, y: 1.15, w: 9.3, h: 1.3, fontSize: 13, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 12 }
  );

  // Three key pillars
  const pillars = [
    { label: "Duration", value: "5.5 Years\n(4.5 academic + 1 yr internship)", icon: "📅" },
    { label: "Degree", value: "MBBS\n(Recognized globally)", icon: "🎓" },
    { label: "Regulator", value: "National Medical Commission\n(NMC), India", icon: "🏛️" },
  ];
  pillars.forEach((p, i) => {
    let x = 0.35 + i * 3.15;
    s.addShape(pres.ShapeType.rect, { x, y: 2.65, w: 2.9, h: 2.45, fill: { color: WHITE }, line: { color: DARK_BLUE, width: 1 } });
    s.addShape(pres.ShapeType.rect, { x, y: 2.65, w: 2.9, h: 0.45, fill: { color: DARK_BLUE }, line: { type: "none" } });
    s.addText(p.label, { x, y: 2.65, w: 2.9, h: 0.45, fontSize: 13, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 });
    s.addText(p.icon + "\n" + p.value, { x, y: 3.1, w: 2.9, h: 2.0, fontSize: 13, color: BODY_TEXT, fontFace: "Calibri", align: "center", valign: "middle" });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 3 – CBME FRAMEWORK & NMC                         ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "CBME Framework & NMC Regulations");
  addRule(s, 1.08);

  const points = [
    "Competency-Based Medical Education (CBME) was introduced by MCI/NMC in 2019 for MBBS students.",
    "The Graduate Medical Education Regulations define the roles of an IMG as: Clinician, Leader, Communicator, Lifelong Learner, Professional, and Team Member.",
    "The MBBS curriculum is divided into 3 phases: Phase I (1 year), Phase II (1.5 years), and Phase III (2 years + internship).",
    "CBME emphasizes outcome-based learning, formative assessment, and skill development in simulated as well as clinical environments.",
    "Attitude, Ethics and Communication (AETCOM) module is a new addition to instill professional values.",
  ];

  // Left accent strip
  s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.2, w: 0.12, h: 4.0, fill: { color: ACCENT }, line: { type: "none" } });

  points.forEach((pt, i) => {
    s.addShape(pres.ShapeType.ellipse, { x: 0.28, y: 1.28 + i * 0.78, w: 0.26, h: 0.26, fill: { color: ACCENT }, line: { type: "none" } });
    s.addText(pt, {
      x: 0.7, y: 1.22 + i * 0.78, w: 9.0, h: 0.7,
      fontSize: 12.5, color: BODY_TEXT, fontFace: "Calibri", valign: "middle", margin: 0
    });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 4 – ROLES OF AN IMG                              ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BLUE } });

  // Title
  s.addText("Roles of an Indian Medical Graduate", {
    x: 0.5, y: 0.25, w: 9.0, h: 0.65,
    fontSize: 26, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", margin: 0
  });
  s.addShape(pres.ShapeType.rect, { x: 0.5, y: 0.92, w: 2.0, h: 0.08, fill: { color: ACCENT }, line: { type: "none" } });

  const roles = [
    { role: "Clinician",         desc: "Diagnose and manage common diseases at primary & secondary level",      col: "1A4B8C" },
    { role: "Leader & Manager",  desc: "Organize healthcare delivery and manage resources effectively",          col: "1A4B8C" },
    { role: "Communicator",      desc: "Communicate effectively with patients, families, and healthcare teams",  col: "1A4B8C" },
    { role: "Professional",      desc: "Demonstrate ethical conduct, integrity, and social accountability",      col: "1A4B8C" },
    { role: "Lifelong Learner",  desc: "Self-directed learning and keeping up with medical advances",            col: "1A4B8C" },
    { role: "Team Member",       desc: "Work collaboratively in multidisciplinary teams for patient care",       col: "1A4B8C" },
  ];

  roles.forEach((r, i) => {
    let col = i % 3;
    let row = Math.floor(i / 3);
    let x = 0.35 + col * 3.15;
    let y = 1.1 + row * 2.1;
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 1.9, fill: { color: MID_BLUE }, line: { color: ACCENT, width: 1 } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 3.0, h: 0.42, fill: { color: ACCENT }, line: { type: "none" } });
    s.addText(r.role, { x, y, w: 3.0, h: 0.42, fontSize: 13, bold: true, color: DARK_BLUE, fontFace: "Calibri", align: "center", valign: "middle", margin: 0 });
    s.addText(r.desc, { x, y: y + 0.42, w: 3.0, h: 1.48, fontSize: 11.5, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 8 });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 5 – PHASES OF MBBS                               ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "Phases of MBBS Program");
  addRule(s, 1.08);

  const phases = [
    {
      phase: "Phase I",
      duration: "1 Year",
      subjects: ["Anatomy", "Physiology", "Biochemistry"],
      color: "1A4B8C"
    },
    {
      phase: "Phase II",
      duration: "1.5 Years",
      subjects: ["Pathology", "Pharmacology", "Forensic Medicine", "Microbiology"],
      color: "0D5C63"
    },
    {
      phase: "Phase III (Part 1)",
      duration: "1 Year",
      subjects: ["Ophthalmology", "ENT", "Community Medicine"],
      color: "8B4513"
    },
    {
      phase: "Phase III (Part 2)",
      duration: "1.5 Years + Internship",
      subjects: ["Medicine", "Surgery", "OBG", "Paediatrics", "Psychiatry"],
      color: "6A1E55"
    },
  ];

  // Timeline spine
  s.addShape(pres.ShapeType.rect, { x: 0.55, y: 1.3, w: 0.1, h: 3.8, fill: { color: ACCENT }, line: { type: "none" } });

  phases.forEach((ph, i) => {
    let y = 1.25 + i * 0.95;
    // Dot
    s.addShape(pres.ShapeType.ellipse, { x: 0.44, y: y + 0.09, w: 0.32, h: 0.32, fill: { color: ph.color }, line: { type: "none" } });
    // Phase label
    s.addShape(pres.ShapeType.rect, { x: 0.9, y, w: 1.5, h: 0.82, fill: { color: ph.color }, line: { type: "none" } });
    s.addText(ph.phase + "\n" + ph.duration, { x: 0.9, y, w: 1.5, h: 0.82, fontSize: 11, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });
    // Subjects
    s.addText(ph.subjects.join("  •  "), { x: 2.55, y: y + 0.05, w: 7.1, h: 0.72, fontSize: 12, color: BODY_TEXT, fontFace: "Calibri", valign: "middle" });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 6 – COMPETENCIES & SKILLS                        ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "Core Competencies of an IMG");

  // Two-column layout
  const leftItems = [
    ["Clinical Skills", "History taking, physical examination, procedural skills"],
    ["Diagnostic Reasoning", "Clinical problem-solving and evidence-based approach"],
    ["Emergency Management", "Basic life support, first aid, triage"],
    ["Preventive Medicine", "Health promotion, immunization, screening"],
  ];
  const rightItems = [
    ["Communication", "Doctor-patient relationship, counseling, consent"],
    ["Ethics & Professionalism", "Medical ethics, legal aspects, patient rights"],
    ["Research Aptitude", "Reading and interpreting medical literature"],
    ["Community Health", "Social determinants, national health programs"],
  ];

  function addCompBox(slide, items, x) {
    items.forEach(([title, desc], i) => {
      let y = 1.15 + i * 1.08;
      slide.addShape(pres.ShapeType.rect, { x, y, w: 4.4, h: 0.95, fill: { color: WHITE }, line: { color: MID_BLUE, width: 0.75 } });
      slide.addShape(pres.ShapeType.rect, { x, y, w: 0.25, h: 0.95, fill: { color: ACCENT }, line: { type: "none" } });
      slide.addText(title, { x: x + 0.32, y: y + 0.04, w: 4.0, h: 0.35, fontSize: 12, bold: true, color: DARK_BLUE, fontFace: "Calibri", valign: "middle", margin: 0 });
      slide.addText(desc, { x: x + 0.32, y: y + 0.4, w: 4.0, h: 0.52, fontSize: 10.5, color: MUTED, fontFace: "Calibri", valign: "top", margin: 0 });
    });
  }

  addCompBox(s, leftItems, 0.35);
  addCompBox(s, rightItems, 5.25);
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 7 – AETCOM MODULE                                ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "AETCOM Module – Attitude, Ethics & Communication");
  addRule(s, 1.08);

  // Intro text
  s.addText(
    "AETCOM is a longitudinal thread woven across all phases of MBBS. It aims to produce doctors with sound ethical values, strong communication skills, and a humanistic approach to medicine.",
    { x: 0.35, y: 1.18, w: 9.3, h: 0.75, fontSize: 12.5, color: BODY_TEXT, fontFace: "Calibri", valign: "middle" }
  );

  const modules = [
    { title: "Doctor-Patient Relationship", color: "1A4B8C" },
    { title: "Empathy & Compassion", color: "0D5C63" },
    { title: "Informed Consent", color: "8B4513" },
    { title: "Truth Telling", color: "6A1E55" },
    { title: "Confidentiality", color: "1A4B8C" },
    { title: "End-of-Life Care", color: "0D5C63" },
    { title: "Medical Errors", color: "8B4513" },
    { title: "Resource Allocation", color: "6A1E55" },
  ];

  modules.forEach((m, i) => {
    let col = i % 4;
    let row = Math.floor(i / 4);
    let x = 0.35 + col * 2.35;
    let y = 2.1 + row * 1.5;
    s.addShape(pres.ShapeType.rect, { x, y, w: 2.2, h: 1.3, fill: { color: m.color }, line: { type: "none" } });
    s.addText(m.title, { x, y, w: 2.2, h: 1.3, fontSize: 12, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle", margin: 6 });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 8 – INTERNSHIP & CLINICAL TRAINING               ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "Compulsory Rotating Internship (CRI)");
  addRule(s, 1.08);

  s.addText("Duration: 1 year | Mandatory for full MBBS registration with State Medical Councils", {
    x: 0.35, y: 1.15, w: 9.3, h: 0.55, fontSize: 13, bold: true, color: MID_BLUE, fontFace: "Calibri", valign: "middle"
  });

  const rotations = [
    { dept: "Medicine", wks: "2 months" },
    { dept: "Surgery", wks: "2 months" },
    { dept: "OBG", wks: "2 months" },
    { dept: "Paediatrics", wks: "1 month" },
    { dept: "Community Medicine", wks: "2 months" },
    { dept: "Casualty / Emergency", wks: "1 month" },
    { dept: "Orthopaedics", wks: "2 weeks" },
    { dept: "Ophthalmology + ENT", wks: "2 weeks" },
    { dept: "Psychiatry", wks: "2 weeks" },
    { dept: "Elective / Other", wks: "Remaining" },
  ];

  rotations.forEach((r, i) => {
    let col = i % 2;
    let row = Math.floor(i / 2);
    let x = 0.35 + col * 4.8;
    let y = 1.85 + row * 0.69;
    s.addShape(pres.ShapeType.rect, { x, y, w: 4.55, h: 0.6, fill: { color: i % 2 === 0 ? WHITE : "E8EFF8" }, line: { color: "CCD8E8", width: 0.5 } });
    s.addShape(pres.ShapeType.rect, { x, y, w: 0.2, h: 0.6, fill: { color: ACCENT }, line: { type: "none" } });
    s.addText(r.dept, { x: x + 0.28, y, w: 2.8, h: 0.6, fontSize: 12, color: BODY_TEXT, fontFace: "Calibri", valign: "middle", margin: 0 });
    s.addText(r.wks, { x: x + 3.1, y, w: 1.3, h: 0.6, fontSize: 12, bold: true, color: MID_BLUE, fontFace: "Calibri", valign: "middle", align: "right", margin: 0 });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 9 – GLOBAL RECOGNITION & NEXT STEPS              ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "Global Recognition & Career Pathways");
  addRule(s, 1.08);

  // Left: Recognition
  s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.2, w: 4.3, h: 4.0, fill: { color: WHITE }, line: { color: MID_BLUE, width: 0.75 } });
  s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.2, w: 4.3, h: 0.48, fill: { color: MID_BLUE }, line: { type: "none" } });
  s.addText("🌐  Global Recognition", { x: 0.35, y: 1.2, w: 4.3, h: 0.48, fontSize: 13.5, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });

  const recognition = [
    "WHO-listed medical institution graduates accepted worldwide",
    "Eligible for USMLE (USA), PLAB (UK), AMC (Australia), MCCEE (Canada)",
    "NMC Act 2020 enables bilateral recognition agreements",
    "Foreign Medical Graduate Examination (FMGE) for practicing in India",
    "Accepted in Gulf countries, Southeast Asia, and Africa",
  ];
  recognition.forEach((r, i) => {
    s.addShape(pres.ShapeType.rect, { x: 0.48, y: 1.82 + i * 0.62, w: 0.22, h: 0.22, fill: { color: ACCENT }, line: { type: "none" } });
    s.addText(r, { x: 0.8, y: 1.77 + i * 0.62, w: 3.65, h: 0.62, fontSize: 11.5, color: BODY_TEXT, fontFace: "Calibri", valign: "middle" });
  });

  // Right: Career paths
  s.addShape(pres.ShapeType.rect, { x: 5.0, y: 1.2, w: 4.65, h: 4.0, fill: { color: WHITE }, line: { color: MID_BLUE, width: 0.75 } });
  s.addShape(pres.ShapeType.rect, { x: 5.0, y: 1.2, w: 4.65, h: 0.48, fill: { color: DARK_BLUE }, line: { type: "none" } });
  s.addText("🎯  Career Pathways", { x: 5.0, y: 1.2, w: 4.65, h: 0.48, fontSize: 13.5, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });

  const careers = [
    ["PG Entrance (NEET-PG)", "MD / MS / Diploma in 40+ specialties"],
    ["Public Health Service", "UPSC / State PSC / Armed Forces Medical Services"],
    ["Research", "ICMR, DBT, DST fellowships & PhD programs"],
    ["Academia", "Lecturer / Faculty in Medical Colleges"],
    ["Entrepreneurship", "Clinics, Hospitals, Health-tech startups"],
  ];
  careers.forEach(([title, desc], i) => {
    let y = 1.82 + i * 0.7;
    s.addText("▸ " + title, { x: 5.1, y, w: 4.4, h: 0.33, fontSize: 12, bold: true, color: MID_BLUE, fontFace: "Calibri", valign: "middle", margin: 0 });
    s.addText(desc, { x: 5.1, y: y + 0.32, w: 4.4, h: 0.34, fontSize: 10.5, color: MUTED, fontFace: "Calibri", valign: "top", margin: 0 });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 10 – CHALLENGES & WAY FORWARD                    ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_GREY } });
  addHeader(s, "Challenges & Way Forward");
  addRule(s, 1.08);

  const challenges = [
    { label: "Challenges", items: ["Urban-rural divide in clinical exposure", "Faculty shortage in medical colleges", "Rote learning vs. critical thinking", "Limited research culture at UG level", "High cost of medical education"], color: "C0392B" },
    { label: "Way Forward", items: ["Strengthen simulation-based training", "Telemedicine & digital health integration", "One-Nation-One-Exam (NEXT) implementation", "Increase rural postings & community exposure", "Focus on mental health of medical students"], color: "1A8C4E" },
  ];

  challenges.forEach((col, ci) => {
    let x = 0.35 + ci * 5.0;
    s.addShape(pres.ShapeType.rect, { x, y: 1.2, w: 4.5, h: 4.1, fill: { color: WHITE }, line: { color: col.color, width: 1.2 } });
    s.addShape(pres.ShapeType.rect, { x, y: 1.2, w: 4.5, h: 0.52, fill: { color: col.color }, line: { type: "none" } });
    s.addText(col.label, { x, y: 1.2, w: 4.5, h: 0.52, fontSize: 15, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });
    col.items.forEach((item, ii) => {
      s.addShape(pres.ShapeType.ellipse, { x: x + 0.2, y: 1.9 + ii * 0.68, w: 0.2, h: 0.2, fill: { color: col.color }, line: { type: "none" } });
      s.addText(item, { x: x + 0.5, y: 1.85 + ii * 0.68, w: 3.85, h: 0.62, fontSize: 11.5, color: BODY_TEXT, fontFace: "Calibri", valign: "middle" });
    });
  });
}

// ╔══════════════════════════════════════════════════════════╗
// ║  SLIDE 11 – THANK YOU                                   ║
// ╚══════════════════════════════════════════════════════════╝
{
  let s = pres.addSlide();
  s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BLUE } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 3.8, w: 10, h: 1.825, fill: { color: MID_BLUE } });
  s.addShape(pres.ShapeType.rect, { x: 0, y: 3.7, w: 10, h: 0.12, fill: { color: ACCENT }, line: { type: "none" } });

  // Large THANK YOU
  s.addText("Thank You", {
    x: 0.5, y: 1.0, w: 9.0, h: 1.5,
    fontSize: 60, bold: true, color: WHITE,
    fontFace: "Calibri", align: "center", valign: "middle"
  });

  s.addText("Indian Medical Graduate | CBME Framework | NMC India", {
    x: 0.5, y: 2.6, w: 9.0, h: 0.55,
    fontSize: 14, color: ACCENT, italic: true,
    fontFace: "Calibri", align: "center"
  });

  s.addText([
    { text: "Presented by  ", options: { color: MUTED } },
    { text: "Parveen Garg", options: { bold: true, color: WHITE } },
    { text: "  |  Roll No: 100", options: { color: MUTED } }
  ], {
    x: 0.5, y: 4.1, w: 9.0, h: 0.7,
    fontSize: 15, fontFace: "Calibri", align: "center", valign: "middle"
  });

  s.addText("Questions & Discussion Welcome", {
    x: 0.5, y: 4.85, w: 9.0, h: 0.45,
    fontSize: 12, color: "7A9BBC", italic: true, fontFace: "Calibri", align: "center"
  });
}

// ─── Write file ──────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/indian-medical-graduate/Indian_Medical_Graduate.pptx" })
  .then(() => console.log("✅  PPTX created successfully"))
  .catch(e => { console.error("❌  Error:", e); process.exit(1); });
Running Command

cd /home/daytona/workspace/indian-medical-graduate && node create_ppt.js

Your presentation is ready! Here's a summary of what was created:

Indian Medical Graduate

Presentation · PPTX


The presentation has 11 slides with a professional dark-blue and gold color scheme:
SlideContent
1Title Slide - "Indian Medical Graduate" by Parveen Garg, Roll No. 100
2What is an IMG? - Definition, degree, duration, and NMC regulator
3CBME Framework - 2019 NMC regulations, phases, AETCOM
4Roles of an IMG - 6 roles: Clinician, Leader, Communicator, Professional, Learner, Team Member
5Phases of MBBS - Timeline from Phase I to Phase III + Internship
6Core Competencies - 8 key competency areas in two-column layout
7AETCOM Module - 8 ethics and communication topics
8Compulsory Rotating Internship - All rotations with duration
9Global Recognition & Careers - USMLE/PLAB eligibility, PG options, AFMS
10Challenges & Way Forward - Two-column comparison
11Thank You - Closing slide with presenter name and Roll No. 100
This is a shared conversation. Sign in to Orris to start your own chat.