Make a ppt on stress and time management in medical college Add these Topic:-stress and time management Name surya Roll no 138
mkdir -p /home/daytona/workspace/stress-ppt
~/stress-ppt/create_ppt.js
const pptxgen = require("pptxgenjs");
let pres = new pptxgen();
pres.layout = 'LAYOUT_16x9';
pres.author = 'Surya';
pres.title = 'Stress and Time Management in Medical College';
// Color palette
const DARK_BG = "0D1B2A"; // deep navy
const MID_BG = "1B2A3B"; // slate navy
const ACCENT = "E94F37"; // vibrant red-orange
const ACCENT2 = "F7C59F"; // soft peach
const WHITE = "FFFFFF";
const LIGHT = "D6E4F0";
const GRAY = "A8B9CC";
const GREEN = "2EC4B6";
const YELLOW = "FFD166";
// ───────────────────────────────────────────────
// SLIDE 1 – TITLE SLIDE
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: DARK_BG };
// Red accent strip left
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.18, h: 5.625, fill: { color: ACCENT } });
// Top decorative bar
s.addShape(pres.ShapeType.rect, { x: 0.18, y: 0, w: 9.82, h: 0.07, fill: { color: ACCENT } });
// Stethoscope icon placeholder (circle with cross)
s.addShape(pres.ShapeType.ellipse, { x: 7.8, y: 0.5, w: 1.6, h: 1.6, fill: { color: MID_BG }, line: { color: ACCENT, width: 2 } });
s.addText("⚕", { x: 7.8, y: 0.55, w: 1.6, h: 1.5, fontSize: 52, align: "center", color: ACCENT2 });
// Subtitle tag
s.addShape(pres.ShapeType.rect, { x: 0.6, y: 1.1, w: 3.5, h: 0.4, fill: { color: ACCENT }, rectRadius: 0.05 });
s.addText("MEDICAL COLLEGE SEMINAR", { x: 0.6, y: 1.1, w: 3.5, h: 0.4, fontSize: 11, bold: true, color: WHITE, align: "center", valign: "middle", margin: 0 });
// Main title
s.addText("STRESS &", { x: 0.55, y: 1.7, w: 7, h: 1.0, fontSize: 58, bold: true, color: WHITE, charSpacing: 2 });
s.addText("TIME MANAGEMENT", { x: 0.55, y: 2.6, w: 8.5, h: 1.0, fontSize: 46, bold: true, color: ACCENT, charSpacing: 2 });
s.addText("in Medical College", { x: 0.55, y: 3.5, w: 6, h: 0.55, fontSize: 22, italic: true, color: GRAY });
// Divider line
s.addShape(pres.ShapeType.line, { x: 0.55, y: 4.2, w: 6.5, h: 0, line: { color: ACCENT2, width: 1.2 } });
// Name & Roll
s.addText([
{ text: "Surya", options: { bold: true, color: WHITE } },
{ text: " | Roll No. 138", options: { color: GRAY } }
], { x: 0.55, y: 4.35, w: 7, h: 0.5, fontSize: 16 });
}
// ───────────────────────────────────────────────
// SLIDE 2 – TABLE OF CONTENTS
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: MID_BG };
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.85, fill: { color: DARK_BG } });
s.addText("OVERVIEW", { x: 0.4, y: 0, w: 9, h: 0.85, fontSize: 28, bold: true, color: WHITE, valign: "middle", charSpacing: 4 });
s.addShape(pres.ShapeType.line, { x: 0.4, y: 0.87, w: 9.2, h: 0, line: { color: ACCENT, width: 2 } });
const topics = [
["01", "What is Stress?"],
["02", "Sources of Stress in Medical College"],
["03", "Effects of Stress"],
["04", "Principles of Time Management"],
["05", "Practical Strategies"],
["06", "Self-Care & Wellness"],
["07", "Key Takeaways"],
];
topics.forEach(([num, title], i) => {
const col = i < 4 ? 0 : 1;
const row = i < 4 ? i : i - 4;
const x = col === 0 ? 0.5 : 5.3;
const y = 1.1 + row * 1.05;
s.addShape(pres.ShapeType.rect, { x, y, w: 4.5, h: 0.82, fill: { color: DARK_BG }, rectRadius: 0.1,
shadow: { type: "outer", color: "000000", blur: 6, offset: 3, angle: 45, opacity: 0.4 } });
s.addShape(pres.ShapeType.rect, { x, y, w: 0.55, h: 0.82, fill: { color: ACCENT }, rectRadius: 0.1 });
s.addText(num, { x, y, w: 0.55, h: 0.82, fontSize: 14, bold: true, color: WHITE, align: "center", valign: "middle", margin: 0 });
s.addText(title, { x: x + 0.62, y, w: 3.85, h: 0.82, fontSize: 15, color: LIGHT, valign: "middle", margin: 0 });
});
}
// ───────────────────────────────────────────────
// SLIDE 3 – WHAT IS STRESS?
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: DARK_BG };
// Header band
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: ACCENT } });
s.addText("01 | WHAT IS STRESS?", { x: 0.4, y: 0, w: 9, h: 1.0, fontSize: 26, bold: true, color: WHITE, valign: "middle", charSpacing: 3 });
// Definition box
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.15, w: 9.2, h: 1.3, fill: { color: MID_BG }, rectRadius: 0.12 });
s.addText([
{ text: "Stress", options: { bold: true, color: ACCENT } },
{ text: " is the body's physiological and psychological response to any demand or threat. The World Health Organization defines it as a ", options: { color: LIGHT } },
{ text: "state of worry or mental tension caused by a difficult situation.", options: { bold: true, color: ACCENT2 } }
], { x: 0.65, y: 1.22, w: 8.7, h: 1.15, fontSize: 16, valign: "middle" });
// Three cards: Eustress / Distress / Chronic
const cards = [
{ title: "Eustress", icon: "✅", color: GREEN, text: "Positive stress that motivates and drives performance. Short-lived and manageable." },
{ title: "Distress", icon: "⚠️", color: YELLOW, text: "Negative stress that overwhelms, impairs focus, and leads to burnout if unmanaged." },
{ title: "Chronic Stress", icon: "🔴", color: ACCENT, text: "Persistent stress that damages physical and mental health over time." },
];
cards.forEach((c, i) => {
const x = 0.4 + i * 3.1;
s.addShape(pres.ShapeType.rect, { x, y: 2.65, w: 2.9, h: 2.65, fill: { color: MID_BG }, rectRadius: 0.12 });
s.addShape(pres.ShapeType.rect, { x, y: 2.65, w: 2.9, h: 0.55, fill: { color: c.color }, rectRadius: 0.12 });
s.addText(c.icon + " " + c.title, { x, y: 2.65, w: 2.9, h: 0.55, fontSize: 15, bold: true, color: WHITE, align: "center", valign: "middle", margin: 0 });
s.addText(c.text, { x: x + 0.15, y: 3.28, w: 2.6, h: 1.9, fontSize: 13, color: LIGHT, valign: "top", wrap: true });
});
}
// ───────────────────────────────────────────────
// SLIDE 4 – SOURCES OF STRESS
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: MID_BG };
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: DARK_BG } });
s.addText("02 | SOURCES OF STRESS IN MEDICAL COLLEGE", { x: 0.4, y: 0, w: 9.2, h: 1.0, fontSize: 21, bold: true, color: WHITE, valign: "middle", charSpacing: 2 });
s.addShape(pres.ShapeType.line, { x: 0, y: 1.0, w: 10, h: 0, line: { color: ACCENT, width: 3 } });
const sources = [
{ icon: "📚", label: "Academic Load", desc: "Heavy syllabus, frequent exams, practical sessions, and research deadlines." },
{ icon: "⏰", label: "Time Pressure", desc: "Long clinical hours, night duties, and limited personal time." },
{ icon: "💰", label: "Financial Stress", desc: "High tuition fees, living expenses, and student loans." },
{ icon: "😰", label: "Performance Anxiety", desc: "Fear of failure, comparison with peers, and high parental expectations." },
{ icon: "🏥", label: "Clinical Exposure", desc: "Dealing with patient suffering, death, and moral dilemmas early in training." },
{ icon: "🤝", label: "Social Isolation", desc: "Limited social life, strained relationships, and lack of hobbies." },
];
sources.forEach((src, i) => {
const col = i % 2 === 0 ? 0 : 1;
const row = Math.floor(i / 2);
const x = col === 0 ? 0.35 : 5.2;
const y = 1.2 + row * 1.4;
s.addShape(pres.ShapeType.rect, { x, y, w: 4.6, h: 1.2, fill: { color: DARK_BG }, rectRadius: 0.1 });
s.addText(src.icon, { x: x + 0.15, y, w: 0.8, h: 1.2, fontSize: 28, valign: "middle", align: "center" });
s.addText(src.label, { x: x + 1.05, y: y + 0.08, w: 3.4, h: 0.38, fontSize: 15, bold: true, color: ACCENT2 });
s.addText(src.desc, { x: x + 1.05, y: y + 0.46, w: 3.4, h: 0.65, fontSize: 12, color: LIGHT, wrap: true });
});
}
// ───────────────────────────────────────────────
// SLIDE 5 – EFFECTS OF STRESS
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: DARK_BG };
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: ACCENT } });
s.addText("03 | EFFECTS OF STRESS", { x: 0.4, y: 0, w: 9, h: 1.0, fontSize: 26, bold: true, color: WHITE, valign: "middle", charSpacing: 3 });
// Two columns: Physical + Mental
const categories = [
{
title: "Physical Effects", color: ACCENT, icon: "🫀",
items: ["Headaches & migraines", "Sleep disturbances / insomnia", "Fatigue and low energy", "Gastrointestinal issues", "Weakened immune system", "Cardiovascular changes (palpitations)"]
},
{
title: "Psychological Effects", color: GREEN, icon: "🧠",
items: ["Anxiety and depression", "Reduced concentration & memory", "Burnout and emotional exhaustion", "Irritability and mood swings", "Substance misuse risk", "Suicidal ideation (severe cases)"]
},
];
categories.forEach((cat, i) => {
const x = i === 0 ? 0.35 : 5.15;
s.addShape(pres.ShapeType.rect, { x, y: 1.15, w: 4.5, h: 4.2, fill: { color: MID_BG }, rectRadius: 0.12 });
s.addShape(pres.ShapeType.rect, { x, y: 1.15, w: 4.5, h: 0.65, fill: { color: cat.color }, rectRadius: 0.12 });
s.addText(cat.icon + " " + cat.title, { x: x + 0.15, y: 1.15, w: 4.2, h: 0.65, fontSize: 16, bold: true, color: WHITE, valign: "middle", margin: 0 });
cat.items.forEach((item, j) => {
s.addShape(pres.ShapeType.rect, { x: x + 0.2, y: 2.0 + j * 0.56, w: 0.25, h: 0.25, fill: { color: cat.color }, rectRadius: 0.05 });
s.addText(item, { x: x + 0.55, y: 1.98 + j * 0.56, w: 3.8, h: 0.3, fontSize: 13, color: LIGHT });
});
});
}
// ───────────────────────────────────────────────
// SLIDE 6 – TIME MANAGEMENT PRINCIPLES
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: MID_BG };
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: DARK_BG } });
s.addText("04 | PRINCIPLES OF TIME MANAGEMENT", { x: 0.4, y: 0, w: 9.2, h: 1.0, fontSize: 22, bold: true, color: WHITE, valign: "middle", charSpacing: 2 });
s.addShape(pres.ShapeType.line, { x: 0, y: 1.0, w: 10, h: 0, line: { color: GREEN, width: 3 } });
// Eisenhower Matrix title
s.addText("The Eisenhower Priority Matrix", { x: 0.4, y: 1.1, w: 5.5, h: 0.5, fontSize: 17, bold: true, color: ACCENT2 });
// Matrix 2x2
const matrix = [
{ label: "DO FIRST", sub: "Urgent + Important", color: ACCENT, x: 0.4, y: 1.65 },
{ label: "SCHEDULE", sub: "Not Urgent + Important", color: GREEN, x: 3.0, y: 1.65 },
{ label: "DELEGATE", sub: "Urgent + Not Important", color: YELLOW, x: 0.4, y: 3.0 },
{ label: "ELIMINATE", sub: "Not Urgent + Not Important", color: GRAY, x: 3.0, y: 3.0 },
];
matrix.forEach(m => {
s.addShape(pres.ShapeType.rect, { x: m.x, y: m.y, w: 2.5, h: 1.2, fill: { color: m.color }, rectRadius: 0.08 });
s.addText(m.label, { x: m.x + 0.1, y: m.y + 0.1, w: 2.3, h: 0.5, fontSize: 14, bold: true, color: WHITE, align: "center" });
s.addText(m.sub, { x: m.x + 0.1, y: m.y + 0.6, w: 2.3, h: 0.5, fontSize: 11, color: WHITE, align: "center", italic: true });
});
s.addText("URGENT →", { x: 0.35, y: 4.3, w: 2.65, h: 0.35, fontSize: 11, color: GRAY, align: "center" });
s.addText("NOT URGENT →", { x: 2.95, y: 4.3, w: 2.65, h: 0.35, fontSize: 11, color: GRAY, align: "center" });
// Right side: other principles
const tips = [
{ icon: "🎯", title: "SMART Goals", desc: "Specific, Measurable, Achievable, Relevant, Time-bound study targets." },
{ icon: "🍅", title: "Pomodoro Technique", desc: "25 min focused study + 5 min break. 4 cycles = 1 long break." },
{ icon: "📋", title: "Weekly Planning", desc: "Schedule lectures, self-study, revision, and rest every Sunday." },
{ icon: "🚫", title: "Avoid Multitasking", desc: "Single-task focus improves retention and reduces cognitive load." },
];
tips.forEach((tip, i) => {
s.addShape(pres.ShapeType.rect, { x: 6.0, y: 1.12 + i * 1.1, w: 3.7, h: 0.95, fill: { color: DARK_BG }, rectRadius: 0.1 });
s.addText(tip.icon, { x: 6.1, y: 1.12 + i * 1.1, w: 0.7, h: 0.95, fontSize: 22, valign: "middle", align: "center" });
s.addText(tip.title, { x: 6.85, y: 1.17 + i * 1.1, w: 2.7, h: 0.35, fontSize: 13, bold: true, color: ACCENT2 });
s.addText(tip.desc, { x: 6.85, y: 1.52 + i * 1.1, w: 2.7, h: 0.42, fontSize: 11, color: LIGHT, wrap: true });
});
}
// ───────────────────────────────────────────────
// SLIDE 7 – PRACTICAL STRATEGIES
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: DARK_BG };
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: GREEN } });
s.addText("05 | PRACTICAL STRATEGIES FOR STUDENTS", { x: 0.4, y: 0, w: 9.2, h: 1.0, fontSize: 22, bold: true, color: DARK_BG, valign: "middle", charSpacing: 2 });
const strategies = [
{ num: "1", title: "Create a Timetable", color: ACCENT, desc: "Block time for study, clinical hours, meals, exercise, and sleep. Stick to it for at least 21 days to form habits." },
{ num: "2", title: "Use Active Recall & Spaced Repetition", color: GREEN, desc: "Anki flashcards or question-based revision beats passive re-reading. Reduces last-minute cramming stress." },
{ num: "3", title: "Study Groups", color: YELLOW, desc: "Collaborative learning distributes cognitive load. Teach peers to solidify your own understanding." },
{ num: "4", title: "Digital Detox Hours", color: ACCENT2, desc: "Designate 2 hours/day free of social media. Reduces comparison anxiety and improves focus." },
{ num: "5", title: "Seek Mentorship", color: GRAY, desc: "Senior students and faculty mentors provide perspective, resources, and emotional support." },
{ num: "6", title: "Professional Help", color: ACCENT, desc: "Utilize college counselling services without stigma. Early intervention prevents burnout." },
];
strategies.forEach((st, i) => {
const col = i % 2;
const row = Math.floor(i / 2);
const x = col === 0 ? 0.35 : 5.15;
const y = 1.12 + row * 1.5;
s.addShape(pres.ShapeType.rect, { x, y, w: 4.55, h: 1.35, fill: { color: MID_BG }, rectRadius: 0.1 });
s.addShape(pres.ShapeType.ellipse, { x: x + 0.15, y: y + 0.3, w: 0.65, h: 0.65, fill: { color: st.color } });
s.addText(st.num, { x: x + 0.15, y: y + 0.3, w: 0.65, h: 0.65, fontSize: 16, bold: true, color: DARK_BG, align: "center", valign: "middle", margin: 0 });
s.addText(st.title, { x: x + 0.92, y: y + 0.08, w: 3.48, h: 0.42, fontSize: 14, bold: true, color: ACCENT2 });
s.addText(st.desc, { x: x + 0.92, y: y + 0.5, w: 3.48, h: 0.78, fontSize: 12, color: LIGHT, wrap: true });
});
}
// ───────────────────────────────────────────────
// SLIDE 8 – SELF-CARE & WELLNESS
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: MID_BG };
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: DARK_BG } });
s.addText("06 | SELF-CARE & WELLNESS", { x: 0.4, y: 0, w: 9.2, h: 1.0, fontSize: 26, bold: true, color: WHITE, valign: "middle", charSpacing: 3 });
s.addShape(pres.ShapeType.line, { x: 0, y: 1.0, w: 10, h: 0, line: { color: ACCENT2, width: 3 } });
const pillars = [
{ icon: "😴", title: "Sleep", color: GREEN, desc: "7-8 hours of quality sleep. Sleep deprivation worsens stress 3x and impairs clinical performance." },
{ icon: "🥗", title: "Nutrition", color: YELLOW, desc: "Regular meals, hydration, and limiting caffeine. A balanced diet stabilizes mood and energy." },
{ icon: "🏃", title: "Exercise", color: ACCENT, desc: "30 min of moderate activity 5x/week. Reduces cortisol, boosts endorphins, and sharpens focus." },
{ icon: "🧘", title: "Mindfulness", color: ACCENT2, desc: "5-10 min daily meditation or deep breathing. Proven to reduce anxiety in medical students." },
{ icon: "👫", title: "Social Support", color: GRAY, desc: "Maintain friendships and family connections. Social bonds buffer against burnout and depression." },
{ icon: "🎨", title: "Hobbies", color: GREEN, desc: "At least one non-medical activity. Creative outlets restore mental energy and perspective." },
];
pillars.forEach((p, i) => {
const angle = i * 60;
const cx = 8.1, cy = 3.0;
const r = 1.65;
const rad = (angle - 90) * Math.PI / 180;
const px = cx + r * Math.cos(rad) - 0.55;
const py = cy + r * Math.sin(rad) - 0.55;
s.addShape(pres.ShapeType.ellipse, { x: px, y: py, w: 1.1, h: 1.1, fill: { color: p.color },
shadow: { type: "outer", color: "000000", blur: 8, offset: 3, angle: 45, opacity: 0.5 } });
s.addText(p.icon + "\n" + p.title, { x: px, y: py, w: 1.1, h: 1.1, fontSize: 11, bold: true, color: DARK_BG, align: "center", valign: "middle" });
});
// Center circle
s.addShape(pres.ShapeType.ellipse, { x: 7.5, y: 2.4, w: 1.2, h: 1.2, fill: { color: DARK_BG }, line: { color: ACCENT2, width: 2 } });
s.addText("WELL-\nNESS", { x: 7.5, y: 2.4, w: 1.2, h: 1.2, fontSize: 13, bold: true, color: WHITE, align: "center", valign: "middle" });
// Left side list
pillars.forEach((p, i) => {
s.addShape(pres.ShapeType.rect, { x: 0.35, y: 1.18 + i * 0.73, w: 6.8, h: 0.65, fill: { color: DARK_BG }, rectRadius: 0.08 });
s.addText(p.icon, { x: 0.45, y: 1.18 + i * 0.73, w: 0.6, h: 0.65, fontSize: 20, valign: "middle", align: "center" });
s.addText(p.title + ": ", { x: 1.1, y: 1.22 + i * 0.73, w: 1.1, h: 0.3, fontSize: 13, bold: true, color: p.color });
s.addText(p.desc, { x: 1.1, y: 1.48 + i * 0.73, w: 5.9, h: 0.32, fontSize: 11, color: LIGHT, wrap: true });
});
}
// ───────────────────────────────────────────────
// SLIDE 9 – KEY TAKEAWAYS
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: DARK_BG };
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 1.0, fill: { color: ACCENT } });
s.addText("07 | KEY TAKEAWAYS", { x: 0.4, y: 0, w: 9, h: 1.0, fontSize: 26, bold: true, color: WHITE, valign: "middle", charSpacing: 3 });
const takeaways = [
{ icon: "💡", text: "Stress is normal — but chronic unmanaged stress is harmful and preventable." },
{ icon: "📅", text: "Structured time management reduces academic stress and improves performance." },
{ icon: "🛌", text: "Sleep, exercise, and nutrition are non-negotiable foundations for resilience." },
{ icon: "🧠", text: "Mindfulness and self-awareness are clinical skills, not luxuries." },
{ icon: "🤝", text: "Seek help early — from peers, mentors, or counsellors. Vulnerability is strength." },
{ icon: "⚖️", text: "Balance is a continuous practice, not a destination. Build habits, not willpower." },
];
takeaways.forEach((t, i) => {
s.addShape(pres.ShapeType.rect, { x: 0.4, y: 1.12 + i * 0.73, w: 9.2, h: 0.65, fill: { color: MID_BG }, rectRadius: 0.1 });
s.addText(t.icon, { x: 0.5, y: 1.12 + i * 0.73, w: 0.7, h: 0.65, fontSize: 22, valign: "middle", align: "center" });
s.addShape(pres.ShapeType.rect, { x: 1.25, y: 1.12 + i * 0.73, w: 0.04, h: 0.65, fill: { color: ACCENT } });
s.addText(t.text, { x: 1.4, y: 1.15 + i * 0.73, w: 7.9, h: 0.6, fontSize: 14, color: LIGHT, valign: "middle" });
});
}
// ───────────────────────────────────────────────
// SLIDE 10 – CLOSING / THANK YOU
// ───────────────────────────────────────────────
{
let s = pres.addSlide();
s.background = { color: DARK_BG };
// Background decorative circles
s.addShape(pres.ShapeType.ellipse, { x: 7.5, y: -1.0, w: 4.5, h: 4.5, fill: { color: MID_BG }, line: { color: "FFFFFF", width: 0 } });
s.addShape(pres.ShapeType.ellipse, { x: -1.5, y: 3.5, w: 4.0, h: 4.0, fill: { color: MID_BG } });
s.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.2, h: 5.625, fill: { color: ACCENT } });
s.addShape(pres.ShapeType.rect, { x: 0.2, y: 5.45, w: 9.8, h: 0.175, fill: { color: ACCENT } });
s.addText("Thank You!", { x: 0.5, y: 0.7, w: 8.5, h: 1.4, fontSize: 64, bold: true, color: WHITE, align: "center", charSpacing: 2 });
s.addShape(pres.ShapeType.line, { x: 2.5, y: 2.2, w: 5, h: 0, line: { color: ACCENT, width: 2 } });
s.addText([
{ text: "\"You don't have to be perfect to be great.", options: { italic: true, color: ACCENT2 } },
{ text: "\nManage your time, mind your stress, and trust the process.\"", options: { italic: true, color: GRAY } }
], { x: 0.8, y: 2.35, w: 8.4, h: 1.4, fontSize: 16, align: "center" });
s.addShape(pres.ShapeType.line, { x: 2.5, y: 3.78, w: 5, h: 0, line: { color: ACCENT, width: 2 } });
s.addText([
{ text: "Surya", options: { bold: true, fontSize: 18, color: WHITE } },
{ text: " | Roll No. 138 | Medical College Seminar", options: { fontSize: 14, color: GRAY } }
], { x: 0.5, y: 4.05, w: 9, h: 0.6, align: "center" });
s.addText("⚕ STRESS & TIME MANAGEMENT", { x: 0.5, y: 4.75, w: 9, h: 0.45, fontSize: 12, color: ACCENT, align: "center", charSpacing: 4 });
}
// Save
pres.writeFile({ fileName: "/home/daytona/workspace/stress-ppt/Stress_Time_Management_Surya.pptx" })
.then(() => console.log("✅ PPT created successfully!"))
.catch(err => console.error("Error:", err));
cd /home/daytona/workspace/stress-ppt && node create_ppt.js
| # | Slide | Contents |
|---|---|---|
| 1 | Title Slide | Topic, Surya, Roll No. 138 on a bold navy/red design |
| 2 | Overview | Numbered table of contents for all 7 topics |
| 3 | What is Stress? | Definition + Eustress / Distress / Chronic Stress cards |
| 4 | Sources of Stress | 6 cards: Academic load, time pressure, finance, anxiety, clinical exposure, isolation |
| 5 | Effects of Stress | Physical effects vs. Psychological effects in two columns |
| 6 | Time Management Principles | Eisenhower Matrix + SMART Goals, Pomodoro, Weekly Planning, No Multitasking |
| 7 | Practical Strategies | 6 actionable tips: timetable, active recall, study groups, digital detox, mentorship, counselling |
| 8 | Self-Care & Wellness | 6 pillars: Sleep, Nutrition, Exercise, Mindfulness, Social Support, Hobbies |
| 9 | Key Takeaways | 6 concise lessons with icons |
| 10 | Thank You | Closing quote + Surya / Roll No. 138 |
Stress Time Management Surya
Presentation · PPTX