Vitamin E PPT for seminar biochemistry mbbs 1st year
mkdir -p /home/daytona/workspace/vitamin-e-ppt && ls /home/daytona/workspace/vitamin-e-ppt
node /home/daytona/skills/shared/scripts/fetch_images.js "https://cdn.orris.care/cdss_images/45cb28ac4c6f0ef5502e2ef6921face5d97321a9977c0376c92521a7eedb3a03.png" "https://cdn.orris.care/cdss_images/441c6fc2fd826a02c20295709f98c88b996ad586c835df45b0a04368b5aef721.png" 2>/dev/null | python3 -c "import sys,json; d=json.load(sys.stdin); [print(i, d[i]['base64'][:30] if d[i]['base64'] else 'FAILED') for i in range(len(d))]"
~/vitamin-e-ppt/create_ppt.js
const pptxgen = require("pptxgenjs");
const { execSync } = require("child_process");
// Fetch images as base64
const images = JSON.parse(execSync(
`node /home/daytona/skills/shared/scripts/fetch_images.js "https://cdn.orris.care/cdss_images/45cb28ac4c6f0ef5502e2ef6921face5d97321a9977c0376c92521a7eedb3a03.png" "https://cdn.orris.care/cdss_images/441c6fc2fd826a02c20295709f98c88b996ad586c835df45b0a04368b5aef721.png"`
).toString());
const structureImg = images[0].base64; // Chemical structure
const lipoperoxImg = images[1].base64; // Lipoperoxidation diagram
// Color palette - deep teal/green (vitamin/natural feel)
const DARK_BG = "0D3B2E"; // Deep forest green (dominant dark)
const MID_BG = "145A3E"; // Medium green
const ACCENT = "F5A623"; // Warm amber accent
const LIGHT_BG = "E8F5E9"; // Very light green (content slides)
const WHITE = "FFFFFF";
const DARK_TEXT = "0D3B2E";
const SOFT_GRAY = "F0F4F0";
const TEAL_BAR = "1A7A52";
let pres = new pptxgen();
pres.layout = "LAYOUT_16x9";
pres.author = "MBBS 1st Year Biochemistry";
pres.title = "Vitamin E (Tocopherol)";
// ─── HELPER FUNCTIONS ─────────────────────────────────────────────
function addSlideHeader(slide, title, subtitle) {
// Top color bar
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.65, fill: { color: DARK_BG } });
// Left accent strip
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0.65, w: 0.12, h: 4.975, fill: { color: ACCENT } });
// Title
slide.addText(title, {
x: 0.3, y: 0.06, w: 9.4, h: 0.55,
fontSize: 22, bold: true, color: WHITE, fontFace: "Calibri",
valign: "middle", margin: 0
});
if (subtitle) {
slide.addText(subtitle, {
x: 0.3, y: 0.08, w: 9.4, h: 0.55,
fontSize: 11, color: "B2DFCB", fontFace: "Calibri",
align: "right", valign: "middle", margin: 0
});
}
}
function addBullets(slide, items, x, y, w, h, opts = {}) {
const fontSize = opts.fontSize || 16;
const color = opts.color || DARK_TEXT;
const bulletArr = items.map((item, i) => {
if (typeof item === "string") {
return { text: item, options: { bullet: { code: "2022" }, breakLine: i < items.length - 1, color, fontSize, fontFace: "Calibri" } };
} else {
// {text, sub: true} for sub-bullets
return { text: item.text, options: { bullet: { code: "2013" }, indentLevel: item.sub ? 1 : 0, breakLine: i < items.length - 1, color: item.color || color, fontSize: item.fontSize || (item.sub ? fontSize - 2 : fontSize), fontFace: "Calibri", bold: item.bold || false } };
}
});
slide.addText(bulletArr, { x, y, w, h, valign: "top", margin: 5 });
}
// ─── SLIDE 1: TITLE SLIDE ─────────────────────────────────────────
{
const slide = pres.addSlide();
// Full dark background
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
// Decorative bottom strip
slide.addShape(pres.ShapeType.rect, { x: 0, y: 5.1, w: 10, h: 0.525, fill: { color: MID_BG } });
// Amber accent bar
slide.addShape(pres.ShapeType.rect, { x: 0, y: 5.1, w: 3.5, h: 0.525, fill: { color: ACCENT } });
// Large decorative circle (right side)
slide.addShape(pres.ShapeType.ellipse, { x: 6.5, y: -0.5, w: 4, h: 4, fill: { color: MID_BG }, line: { color: MID_BG } });
slide.addShape(pres.ShapeType.ellipse, { x: 7.0, y: 0.0, w: 3, h: 3, fill: { color: TEAL_BAR }, line: { color: TEAL_BAR } });
// Vitamin E chemical symbol decorative
slide.addText("α-T", { x: 7.1, y: 0.7, w: 2.8, h: 1.5, fontSize: 60, bold: true, color: "1A9B6B", fontFace: "Calibri", align: "center", valign: "middle" });
// Main title
slide.addText("VITAMIN E", {
x: 0.5, y: 0.9, w: 6.5, h: 1.2,
fontSize: 52, bold: true, color: ACCENT, fontFace: "Calibri",
charSpacing: 4
});
slide.addText("Tocopherol", {
x: 0.5, y: 2.0, w: 6.5, h: 0.7,
fontSize: 28, color: "B2DFCB", fontFace: "Calibri", italic: true
});
// Divider line
slide.addShape(pres.ShapeType.rect, { x: 0.5, y: 2.75, w: 5.5, h: 0.04, fill: { color: ACCENT } });
// Subtitle info
slide.addText([
{ text: "Biochemistry Seminar | MBBS 1st Year", options: { fontSize: 16, color: WHITE, fontFace: "Calibri", breakLine: true } },
{ text: "Fat-Soluble Vitamins Series", options: { fontSize: 13, color: "B2DFCB", fontFace: "Calibri" } }
], { x: 0.5, y: 2.9, w: 6.5, h: 0.9 });
// Bottom info
slide.addText("Department of Biochemistry", { x: 0.3, y: 5.13, w: 3.4, h: 0.45, fontSize: 12, color: DARK_BG, bold: true, fontFace: "Calibri", valign: "middle" });
}
// ─── SLIDE 2: OVERVIEW / CONTENTS ────────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_BG } });
addSlideHeader(slide, "Contents", "Vitamin E – Biochemistry Seminar");
const topics = [
"1. Introduction & History",
"2. Chemistry & Structure",
"3. Dietary Sources",
"4. Absorption, Transport & Metabolism",
"5. Biochemical Functions",
"6. Daily Requirements (RDA)",
"7. Deficiency – Clinical Features",
"8. Toxicity (Hypervitaminosis E)",
"9. Clinical Significance & Therapeutic Uses",
"10. Summary"
];
// Two-column layout
const col1 = topics.slice(0, 5);
const col2 = topics.slice(5);
col1.forEach((t, i) => {
slide.addShape(pres.ShapeType.rect, { x: 0.3, y: 0.85 + i * 0.72, w: 4.3, h: 0.6, fill: { color: i % 2 === 0 ? "D4EDDA" : WHITE }, line: { color: "B2DFCB" } });
slide.addText(t, { x: 0.35, y: 0.87 + i * 0.72, w: 4.2, h: 0.56, fontSize: 13.5, color: DARK_TEXT, fontFace: "Calibri", bold: i === 0, valign: "middle" });
});
col2.forEach((t, i) => {
slide.addShape(pres.ShapeType.rect, { x: 5.3, y: 0.85 + i * 0.72, w: 4.3, h: 0.6, fill: { color: i % 2 === 0 ? "D4EDDA" : WHITE }, line: { color: "B2DFCB" } });
slide.addText(t, { x: 5.35, y: 0.87 + i * 0.72, w: 4.2, h: 0.56, fontSize: 13.5, color: DARK_TEXT, fontFace: "Calibri", valign: "middle" });
});
}
// ─── SLIDE 3: INTRODUCTION ────────────────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: SOFT_GRAY } });
addSlideHeader(slide, "Introduction", "Vitamin E");
// Key fact box
slide.addShape(pres.ShapeType.rect, { x: 0.25, y: 0.82, w: 9.5, h: 0.75, fill: { color: DARK_BG }, line: { color: DARK_BG } });
slide.addText('"Vitamin E is the generic name for a group of closely related, naturally occurring fat-soluble compounds – the tocopherols and tocotrienols."', {
x: 0.35, y: 0.85, w: 9.3, h: 0.69,
fontSize: 13.5, color: ACCENT, italic: true, fontFace: "Calibri", valign: "middle"
});
const bullets = [
"Discovered in 1922 by Evans and Bishop as a dietary factor essential for reproduction in rats",
"Name 'tocopherol' from Greek: tokos (childbirth) + pherein (to bear) + ol (alcohol)",
"Fat-soluble vitamin – absorbed with dietary fats, stored in adipose tissue and liver",
"Humans cannot synthesize Vitamin E – must be obtained from diet",
"α-Tocopherol is the most biologically active and predominant form in human body",
"Acts as the body's primary lipid-soluble chain-breaking antioxidant"
];
addBullets(slide, bullets, 0.25, 1.7, 9.5, 3.7, { fontSize: 14.5, color: DARK_TEXT });
}
// ─── SLIDE 4: CHEMISTRY & STRUCTURE ──────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_BG } });
addSlideHeader(slide, "Chemistry & Structure", "Vitamin E");
// Left: text
slide.addText("Core Structure:", {
x: 0.25, y: 0.82, w: 4.5, h: 0.4,
fontSize: 15, bold: true, color: DARK_BG, fontFace: "Calibri"
});
const chemText = [
"6-chromanol nucleus with a phytyl/isoprenoid side chain at C-2",
"Tocopherols: saturated side chain (3 chiral centers)",
"Tocotrienols: unsaturated side chain (double bonds at 3', 7', 11')",
"Greek prefixes α, β, γ, δ indicate methyl groups at positions 5 & 7"
];
addBullets(slide, chemText, 0.25, 1.25, 4.6, 2.2, { fontSize: 13.5 });
// Table of forms
slide.addText("Forms of Vitamin E:", { x: 0.25, y: 3.55, w: 4.5, h: 0.35, fontSize: 14, bold: true, color: DARK_BG, fontFace: "Calibri" });
const tableData = [
[{ text: "Form", options: { bold: true, color: WHITE, fill: DARK_BG } },
{ text: "R' (pos 5)", options: { bold: true, color: WHITE, fill: DARK_BG } },
{ text: "R'' (pos 7)", options: { bold: true, color: WHITE, fill: DARK_BG } },
{ text: "Activity", options: { bold: true, color: WHITE, fill: DARK_BG } }],
["α-Tocopherol", "CH₃", "CH₃", "100% (highest)"],
["β-Tocopherol", "CH₃", "H", "25-50%"],
["γ-Tocopherol", "H", "CH₃", "10-35%"],
["δ-Tocopherol", "H", "H", "1-3%"],
];
slide.addTable(tableData, {
x: 0.25, y: 3.92, w: 4.6, h: 1.5,
fontSize: 11, fontFace: "Calibri", color: DARK_TEXT,
border: { pt: 1, color: "B2DFCB" },
fill: { color: WHITE },
rowH: 0.28,
align: "center"
});
// Right: structure image
if (structureImg) {
slide.addImage({ data: structureImg, x: 5.0, y: 0.75, w: 4.8, h: 4.6 });
slide.addText("Fig: Vitaminic forms of Vitamin E (Tietz, 7th Ed.)", {
x: 5.0, y: 5.1, w: 4.8, h: 0.35,
fontSize: 8.5, color: "666666", italic: true, fontFace: "Calibri", align: "center"
});
}
}
// ─── SLIDE 5: DIETARY SOURCES ────────────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: SOFT_GRAY } });
addSlideHeader(slide, "Dietary Sources", "Vitamin E");
// Rich sources box
slide.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.78, w: 4.5, h: 4.6, fill: { color: WHITE }, line: { color: "B2DFCB" } });
slide.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.78, w: 4.5, h: 0.45, fill: { color: TEAL_BAR } });
slide.addText("RICH SOURCES", { x: 0.25, y: 0.8, w: 4.4, h: 0.41, fontSize: 14, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", align: "center" });
const richSources = [
"🌱 Wheat germ oil (highest concentration)",
"🌻 Sunflower, safflower, corn & soybean oils",
"🥜 Nuts – almonds, hazelnuts, peanuts",
"🌾 Seeds – sunflower seeds",
"🥬 Green leafy vegetables (spinach, broccoli)",
"🥚 Egg yolk",
"🧈 Butter",
"🐟 Fish liver oils"
];
richSources.forEach((s, i) => {
slide.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.3 + i * 0.48, w: 4.35, h: 0.44, fill: { color: i % 2 === 0 ? "EAF7EE" : WHITE } });
slide.addText(s, { x: 0.35, y: 1.32 + i * 0.48, w: 4.1, h: 0.42, fontSize: 12.5, color: DARK_TEXT, fontFace: "Calibri", valign: "middle" });
});
// Right: important notes
slide.addShape(pres.ShapeType.rect, { x: 5.0, y: 0.78, w: 4.7, h: 4.6, fill: { color: WHITE }, line: { color: "B2DFCB" } });
slide.addShape(pres.ShapeType.rect, { x: 5.0, y: 0.78, w: 4.7, h: 0.45, fill: { color: DARK_BG } });
slide.addText("KEY POINTS", { x: 5.05, y: 0.8, w: 4.6, h: 0.41, fontSize: 14, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle", align: "center" });
const keyPoints = [
{ text: "Foods rich in PUFAs are also rich in Vitamin E (nature's balance)" },
{ text: "γ-Tocopherol: major form in plant seeds of US diet" },
{ text: "Processing & cooking can destroy Vitamin E (heat, oxygen, UV light labile)" },
{ text: "Normal plasma level: 0.8 – 1.4 mg/100 mL" },
{ text: "Meats, fruits contribute relatively little Vitamin E" },
{ text: "Fortified cereals & supplements important sources (94% of US adults consume < EAR from diet alone)" }
];
keyPoints.forEach((k, i) => {
slide.addShape(pres.ShapeType.rect, { x: 5.05, y: 1.3 + i * 0.52, w: 4.55, h: 0.48, fill: { color: i % 2 === 0 ? "E8F5E9" : WHITE } });
slide.addText(`• ${k.text}`, { x: 5.15, y: 1.32 + i * 0.52, w: 4.35, h: 0.46, fontSize: 12, color: DARK_TEXT, fontFace: "Calibri", valign: "middle" });
});
}
// ─── SLIDE 6: ABSORPTION & TRANSPORT ─────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_BG } });
addSlideHeader(slide, "Absorption, Transport & Metabolism", "Vitamin E");
const steps = [
{ label: "INTESTINAL ABSORPTION", icon: "①", detail: "Requires bile salts (micelle formation), gastric lipase, pancreatic esterases, normal intestinal mucosa. Mechanism: passive diffusion + cholesterol transporters." },
{ label: "PACKAGING (Enterocyte)", icon: "②", detail: "Vitamin E packed into chylomicrons along with dietary fats and apolipoproteins." },
{ label: "LYMPHATIC TRANSPORT", icon: "③", detail: "Chylomicrons → thoracic duct → systemic circulation → peripheral tissues (adipose) via lipoprotein lipase." },
{ label: "HEPATIC PROCESSING", icon: "④", detail: "Chylomicron remnants taken up by liver → α-TTP (α-Tocopherol Transfer Protein) selectively incorporates α-tocopherol into VLDLs." },
{ label: "SYSTEMIC DISTRIBUTION", icon: "⑤", detail: "VLDLs → LDL and HDL → deliver α-tocopherol to all tissues. Stored in adipose tissue." },
{ label: "EXCRETION", icon: "⑥", detail: "Bile (major route), urine as tocopherolonic acid, β-glucuronide conjugate (CEHC forms)." }
];
steps.forEach((s, i) => {
const col = i < 3 ? 0 : 1;
const row = i % 3;
const x = col === 0 ? 0.2 : 5.1;
const y = 0.82 + row * 1.56;
slide.addShape(pres.ShapeType.rect, { x, y, w: 4.7, h: 1.46, fill: { color: WHITE }, line: { color: "B2DFCB", pt: 1.5 } });
slide.addShape(pres.ShapeType.rect, { x, y, w: 0.55, h: 1.46, fill: { color: TEAL_BAR } });
slide.addText(s.icon, { x: x + 0.01, y: y + 0.35, w: 0.53, h: 0.7, fontSize: 22, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });
slide.addText(s.label, { x: x + 0.65, y: y + 0.05, w: 3.9, h: 0.38, fontSize: 10.5, bold: true, color: DARK_BG, fontFace: "Calibri" });
slide.addText(s.detail, { x: x + 0.65, y: y + 0.43, w: 3.9, h: 1.0, fontSize: 10.5, color: "333333", fontFace: "Calibri", wrap: true });
});
}
// ─── SLIDE 7: BIOCHEMICAL FUNCTIONS ──────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: SOFT_GRAY } });
addSlideHeader(slide, "Biochemical Functions", "Vitamin E");
// Main function - antioxidant
slide.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.78, w: 9.6, h: 0.55, fill: { color: DARK_BG } });
slide.addText("PRIMARY FUNCTION: Chain-Breaking Antioxidant (Inhibits Lipid Peroxidation)", {
x: 0.3, y: 0.8, w: 9.4, h: 0.51,
fontSize: 14, bold: true, color: ACCENT, fontFace: "Calibri", valign: "middle"
});
// Left: mechanism text
const mechBullets = [
"Vitamin E scavenges lipid peroxyl radicals (LOO•) in membrane phospholipids",
"Converts LOO• → lipid hydroperoxide + tocopheryl radical (Toc•)",
"Toc• is a stable, non-reactive radical – breaks chain reaction",
"Toc• regenerated by Vitamin C (ascorbate) → synergistic antioxidant action",
"Protects PUFAs in cell membranes, LDL cholesterol from oxidation"
];
slide.addText("Mechanism:", { x: 0.2, y: 1.42, w: 4.5, h: 0.36, fontSize: 13.5, bold: true, color: TEAL_BAR, fontFace: "Calibri" });
addBullets(slide, mechBullets, 0.2, 1.8, 4.7, 2.4, { fontSize: 12 });
// Other functions
slide.addText("Other Functions:", { x: 0.2, y: 4.2, w: 4.7, h: 0.36, fontSize: 13, bold: true, color: TEAL_BAR, fontFace: "Calibri" });
const otherFn = [
"Gene transcription regulation (affects CD36, α-TTP, collagenase genes)",
"Inhibits platelet aggregation & monocyte adhesion",
"Anti-inflammatory: inhibits 5-lipoxygenase",
"Enhances T-cell immunity",
"Role in bone physiology (stimulates osteoclast fusion)"
];
addBullets(slide, otherFn, 0.2, 4.55, 4.7, 0.9, { fontSize: 11 });
// Right: Lipoperoxidation diagram
if (lipoperoxImg) {
slide.addImage({ data: lipoperoxImg, x: 5.05, y: 1.38, w: 4.7, h: 3.9 });
slide.addText("Fig: Lipoperoxidation & synergistic action of Vitamins E and C (Tietz, 7th Ed.)", {
x: 5.0, y: 5.25, w: 4.8, h: 0.32,
fontSize: 8, color: "666666", italic: true, fontFace: "Calibri", align: "center"
});
}
}
// ─── SLIDE 8: DAILY REQUIREMENTS ─────────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_BG } });
addSlideHeader(slide, "Daily Requirements (RDA)", "Vitamin E");
const rdaData = [
[{ text: "Group", options: { bold: true, color: WHITE, fill: DARK_BG, align: "center" } },
{ text: "RDA (mg α-TE/day)", options: { bold: true, color: WHITE, fill: DARK_BG, align: "center" } },
{ text: "IU/day", options: { bold: true, color: WHITE, fill: DARK_BG, align: "center" } }],
["Infants (0–6 months)", "4 mg", "6 IU"],
["Infants (7–12 months)", "5 mg", "7.5 IU"],
["Children (1–3 years)", "6 mg", "9 IU"],
["Children (4–8 years)", "7 mg", "10.5 IU"],
["Adolescents (9–13 years)", "11 mg", "16.5 IU"],
[{ text: "Adults (≥14 years)", options: { bold: true, color: DARK_BG } },
{ text: "15 mg", options: { bold: true, color: TEAL_BAR } },
{ text: "22.4 IU", options: { bold: true, color: TEAL_BAR } }],
["Pregnancy", "15 mg", "22.4 IU"],
[{ text: "Lactation", options: { bold: true, color: DARK_BG } },
{ text: "19 mg", options: { bold: true, color: TEAL_BAR } },
{ text: "28.5 IU", options: { bold: true, color: TEAL_BAR } }],
];
slide.addTable(rdaData, {
x: 0.5, y: 0.82, w: 5.2, h: 4.5,
fontSize: 13, fontFace: "Calibri", color: DARK_TEXT,
border: { pt: 1, color: "B2DFCB" },
fill: { color: WHITE },
rowH: 0.5,
align: "center",
colW: [2.5, 1.5, 1.2]
});
// Right side: key notes
const noteItems = [
{ heading: "α-TE (Alpha-Tocopherol Equivalent):", body: "Sum of: α-tocopherol + β-tocopherol (×0.5) + γ-tocopherol (×0.1) + α-tocotrienol (×0.3)" },
{ heading: "Minimum adult requirement:", body: "3–4 mg/day (4.5–6 IU) for minimum essential fatty acid intake" },
{ heading: "Balanced diet provides:", body: "7–13 mg α-TE/day (1800–3000 kcal diet)" },
{ heading: "Relationship with PUFA:", body: "Requirement increases with higher PUFA intake – every extra 1g PUFA needs ~0.4 mg additional Vit E" },
{ heading: "Park's estimate:", body: "~7.5–10 mg tocopherol/day (depending on edible oil used)" }
];
noteItems.forEach((n, i) => {
slide.addShape(pres.ShapeType.rect, { x: 5.9, y: 0.82 + i * 0.88, w: 3.85, h: 0.85, fill: { color: i % 2 === 0 ? "D4EDDA" : WHITE }, line: { color: "B2DFCB" } });
slide.addText([
{ text: n.heading + " ", options: { bold: true, fontSize: 11.5, color: DARK_BG, fontFace: "Calibri" } },
{ text: n.body, options: { fontSize: 11, color: "333333", fontFace: "Calibri" } }
], { x: 6.0, y: 0.84 + i * 0.88, w: 3.65, h: 0.81, valign: "middle", wrap: true });
});
}
// ─── SLIDE 9: DEFICIENCY ─────────────────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: SOFT_GRAY } });
addSlideHeader(slide, "Vitamin E Deficiency", "Clinical Features & Causes");
// Causes column
slide.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.78, w: 4.5, h: 4.6, fill: { color: WHITE }, line: { color: "C8E6C9" } });
slide.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.78, w: 4.5, h: 0.44, fill: { color: TEAL_BAR } });
slide.addText("CAUSES", { x: 0.25, y: 0.8, w: 4.4, h: 0.4, fontSize: 14, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });
const causes = [
{ label: "Fat Malabsorption Syndromes", detail: "Chronic cholestasis, cystic fibrosis, celiac disease, short bowel syndrome" },
{ label: "Genetic Defect in α-TTP", detail: "AVED (Ataxia with Vitamin E Deficiency) – autosomal recessive" },
{ label: "Abetalipoproteinemia", detail: "Defective chylomicron/VLDL assembly – Bassen-Kornzweig syndrome" },
{ label: "Premature Neonates", detail: "Low body stores, immature intestinal absorption, high PUFA exposure" },
{ label: "Dietary Deficiency", detail: "Rare in adults; marginal deficiency usually asymptomatic" }
];
causes.forEach((c, i) => {
slide.addShape(pres.ShapeType.rect, { x: 0.25, y: 1.28 + i * 0.83, w: 4.35, h: 0.8, fill: { color: i % 2 === 0 ? "E8F5E9" : WHITE } });
slide.addText([
{ text: `• ${c.label}\n`, options: { bold: true, fontSize: 12, color: DARK_BG, breakLine: true } },
{ text: ` ${c.detail}`, options: { fontSize: 11, color: "444444" } }
], { x: 0.35, y: 1.3 + i * 0.83, w: 4.05, h: 0.76, valign: "top", fontFace: "Calibri" });
});
// Clinical features column
slide.addShape(pres.ShapeType.rect, { x: 5.1, y: 0.78, w: 4.65, h: 4.6, fill: { color: WHITE }, line: { color: "C8E6C9" } });
slide.addShape(pres.ShapeType.rect, { x: 5.1, y: 0.78, w: 4.65, h: 0.44, fill: { color: DARK_BG } });
slide.addText("CLINICAL FEATURES", { x: 5.15, y: 0.8, w: 4.55, h: 0.4, fontSize: 14, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });
const features = [
{ sys: "Neurological (most important)", items: ["Spinocerebellar ataxia", "Peripheral neuropathy (loss of deep tendon reflexes)", "Posterior column dysfunction (loss of proprioception, vibration sense)", "Similar phenotype to Friedreich's ataxia (AVED)"] },
{ sys: "Ophthalmologic", items: ["Pigmented retinopathy", "Ophthalmoplegia"] },
{ sys: "Haematological", items: ["Haemolytic anaemia (especially in premature infants)", "Increased RBC fragility due to membrane lipid peroxidation"] },
{ sys: "Muscular", items: ["Myopathy, muscle weakness"] },
];
let yPos = 1.3;
features.forEach((f) => {
slide.addText(f.sys + ":", { x: 5.2, y: yPos, w: 4.4, h: 0.32, fontSize: 12, bold: true, color: TEAL_BAR, fontFace: "Calibri" });
yPos += 0.33;
f.items.forEach((item) => {
slide.addText(` - ${item}`, { x: 5.2, y: yPos, w: 4.4, h: 0.28, fontSize: 11, color: DARK_TEXT, fontFace: "Calibri" });
yPos += 0.29;
});
yPos += 0.05;
});
}
// ─── SLIDE 10: TOXICITY ──────────────────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: LIGHT_BG } });
addSlideHeader(slide, "Toxicity – Hypervitaminosis E", "Vitamin E");
// Warning banner
slide.addShape(pres.ShapeType.rect, { x: 0.2, y: 0.78, w: 9.6, h: 0.55, fill: { color: "B71C1C" } });
slide.addText("⚠ Least toxic of fat-soluble vitamins, but high-dose supplementation carries significant risks", {
x: 0.3, y: 0.8, w: 9.4, h: 0.51,
fontSize: 13.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle"
});
const toxItems = [
{ title: "Tolerable Upper Limit", detail: "1000 mg (1500 IU) α-tocopherol/day for adults (Institute of Medicine)" },
{ title: "Anticoagulant Effect", detail: "Interferes with Vitamin K-dependent clotting factors; potentiates warfarin → risk of hemorrhage" },
{ title: "Impaired Wound Healing", detail: "High doses can delay wound healing and impair immune response" },
{ title: "GI Symptoms", detail: "Nausea, diarrhea, abdominal cramps at very high doses" },
{ title: "Cytotoxic Effect", detail: "High concentrations shown to be cytotoxic to human lymphocytes in vitro (Park's textbook)" },
{ title: "Cardiovascular Risk?", detail: "Some studies suggest increased all-cause mortality with high-dose supplementation; Women's Antioxidant Cardiovascular Study showed no cardiovascular benefit" },
{ title: "Reduced Efficacy of Chemotherapy", detail: "Antioxidant supplementation during cancer therapy may reduce treatment efficacy" },
{ title: "Clinical Note", detail: "Routine high-dose Vitamin E supplementation is NOT recommended; evidence for cardiovascular & cancer prevention is inconclusive" },
];
const col1 = toxItems.slice(0, 4);
const col2 = toxItems.slice(4);
col1.forEach((item, i) => {
slide.addShape(pres.ShapeType.rect, { x: 0.2, y: 1.42 + i * 0.98, w: 4.65, h: 0.92, fill: { color: i % 2 === 0 ? "FFEBEE" : WHITE }, line: { color: "FFCDD2" } });
slide.addText([
{ text: item.title + ": ", options: { bold: true, fontSize: 12.5, color: "B71C1C", breakLine: false } },
{ text: item.detail, options: { fontSize: 12, color: DARK_TEXT } }
], { x: 0.35, y: 1.45 + i * 0.98, w: 4.35, h: 0.86, valign: "top", fontFace: "Calibri", wrap: true });
});
col2.forEach((item, i) => {
slide.addShape(pres.ShapeType.rect, { x: 5.15, y: 1.42 + i * 0.98, w: 4.65, h: 0.92, fill: { color: i % 2 === 0 ? "FFEBEE" : WHITE }, line: { color: "FFCDD2" } });
slide.addText([
{ text: item.title + ": ", options: { bold: true, fontSize: 12.5, color: "B71C1C", breakLine: false } },
{ text: item.detail, options: { fontSize: 12, color: DARK_TEXT } }
], { x: 5.3, y: 1.45 + i * 0.98, w: 4.35, h: 0.86, valign: "top", fontFace: "Calibri", wrap: true });
});
}
// ─── SLIDE 11: CLINICAL SIGNIFICANCE & THERAPEUTIC USES ──────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: SOFT_GRAY } });
addSlideHeader(slide, "Clinical Significance & Therapeutic Uses", "Vitamin E");
const areas = [
{
title: "Cardiovascular Disease",
color: "1565C0",
bg: "E3F2FD",
points: ["Vitamin E protects LDL from oxidation → potentially prevents atherosclerosis", "Clinical trials (WACS, HOPE) showed NO reduction in CV events with supplementation", "Epidemiologic data: inverse association, but not confirmed in RCTs"]
},
{
title: "Premature Neonates",
color: "1B5E20",
bg: "E8F5E9",
points: ["Prevents haemolytic anaemia in premature infants", "Reduces retinopathy of prematurity", "Supplementation is standard practice in premature neonatal care"]
},
{
title: "NASH / Liver Disease",
color: "E65100",
bg: "FFF3E0",
points: ["Vitamin E (800 IU/day) improves liver histology in non-alcoholic steatohepatitis (NASH)", "Not recommended for diabetics with NASH without biopsy confirmation"]
},
{
title: "Neurological (AVED)",
color: "4A148C",
bg: "F3E5F5",
points: ["Ataxia with Vitamin E Deficiency (AVED): α-TTP gene mutation", "Oral α-tocopherol supplementation stops/reverses neurological deterioration", "Treatment: 800–1500 mg/day α-tocopherol"]
},
{
title: "Abetalipoproteinemia",
color: "880E4F",
bg: "FCE4EC",
points: ["Large doses of Vitamin E can prevent or slow neurological damage", "Combined with Vitamins A and K supplementation"]
},
{
title: "Cancer Prevention",
color: "33691E",
bg: "F1F8E9",
points: ["Epidemiologic studies: lower cancer risk with higher Vit E intake", "SELECT trial: no reduction in prostate cancer risk with Vit E", "Evidence: inconclusive – not recommended for cancer prevention"]
}
];
areas.forEach((area, i) => {
const col = i < 3 ? 0 : 1;
const row = i % 3;
const x = col === 0 ? 0.15 : 5.1;
const y = 0.8 + row * 1.57;
slide.addShape(pres.ShapeType.rect, { x, y, w: 4.75, h: 1.5, fill: { color: area.bg }, line: { color: area.color, pt: 1.5 } });
slide.addShape(pres.ShapeType.rect, { x, y, w: 4.75, h: 0.38, fill: { color: area.color } });
slide.addText(area.title, { x: x + 0.1, y: y + 0.04, w: 4.55, h: 0.32, fontSize: 12.5, bold: true, color: WHITE, fontFace: "Calibri", valign: "middle" });
const pts = area.points.map((p, pi) => ({ text: p, options: { bullet: { code: "2022" }, breakLine: pi < area.points.length - 1, fontSize: 10.5, color: DARK_TEXT, fontFace: "Calibri" } }));
slide.addText(pts, { x: x + 0.1, y: y + 0.42, w: 4.55, h: 1.06, valign: "top", wrap: true });
});
}
// ─── SLIDE 12: SUMMARY ────────────────────────────────────────────
{
const slide = pres.addSlide();
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 5.625, fill: { color: DARK_BG } });
// Decorative element
slide.addShape(pres.ShapeType.rect, { x: 0, y: 4.8, w: 10, h: 0.825, fill: { color: MID_BG } });
slide.addShape(pres.ShapeType.rect, { x: 0, y: 4.8, w: 4, h: 0.825, fill: { color: ACCENT } });
slide.addShape(pres.ShapeType.ellipse, { x: 7.5, y: -0.8, w: 3.5, h: 3.5, fill: { color: MID_BG }, line: { color: MID_BG } });
slide.addText("SUMMARY", {
x: 0.4, y: 0.2, w: 7, h: 0.65,
fontSize: 30, bold: true, color: ACCENT, fontFace: "Calibri", charSpacing: 6
});
slide.addShape(pres.ShapeType.rect, { x: 0.4, y: 0.88, w: 5.5, h: 0.04, fill: { color: ACCENT } });
const summaryPoints = [
["Fat-soluble", "Fat-soluble vitamin – tocopherols & tocotrienols; α-tocopherol most active"],
["Structure", "6-chromanol nucleus + phytyl side chain; α-TTP selects α-tocopherol preferentially"],
["Sources", "Vegetable oils (wheat germ, sunflower), nuts, seeds, leafy vegetables"],
["Absorption", "Bile-dependent → chylomicrons → liver → α-TTP → VLDL → tissues"],
["Function", "Primary chain-breaking antioxidant; protects PUFAs from lipid peroxidation"],
["Vitamin C synergy", "Vitamin C regenerates vitamin E from tocopheryl radical"],
["RDA", "15 mg/day (adults); 19 mg/day (lactation)"],
["Deficiency", "Spinocerebellar ataxia, neuropathy, haemolytic anaemia (rare in adults)"],
["Toxicity", "Anticoagulant effect, hemorrhage; UL = 1000 mg/day"],
["Clinical use", "AVED, premature neonates, NASH – supplementation beneficial"]
];
summaryPoints.forEach((p, i) => {
const col = i < 5 ? 0 : 1;
const row = i % 5;
const x = col === 0 ? 0.3 : 5.1;
const y = 1.0 + row * 0.71;
slide.addShape(pres.ShapeType.rect, { x, y, w: 0.95, h: 0.6, fill: { color: TEAL_BAR } });
slide.addText(p[0], { x, y: y + 0.04, w: 0.95, h: 0.52, fontSize: 10, bold: true, color: WHITE, fontFace: "Calibri", align: "center", valign: "middle" });
slide.addShape(pres.ShapeType.rect, { x: x + 0.95, y, w: 3.6, h: 0.6, fill: { color: "1A4A35" } });
slide.addText(p[1], { x: x + 1.02, y: y + 0.04, w: 3.45, h: 0.52, fontSize: 11, color: WHITE, fontFace: "Calibri", valign: "middle", wrap: true });
});
slide.addText("Biochemistry Seminar | MBBS 1st Year | Department of Biochemistry", {
x: 0.3, y: 4.83, w: 3.7, h: 0.45,
fontSize: 10, color: DARK_BG, fontFace: "Calibri", valign: "middle"
});
}
// ─── WRITE FILE ───────────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/vitamin-e-ppt/Vitamin_E_Biochemistry_MBBS.pptx" })
.then(() => console.log("SUCCESS: Vitamin_E_Biochemistry_MBBS.pptx created"))
.catch(e => { console.error("ERROR:", e.message); process.exit(1); });
cd /home/daytona/workspace/vitamin-e-ppt && node create_ppt.js 2>&1
ls -lh /home/daytona/workspace/vitamin-e-ppt/Vitamin_E_Biochemistry_MBBS.pptx
Vitamin E Biochemistry MBBS
Presentation · PPTX
| # | Slide | Key Content |
|---|---|---|
| 1 | Title Slide | Deep forest-green theme, bold design |
| 2 | Contents | 10 topics in structured table layout |
| 3 | Introduction | Discovery (1922), etymology of "tocopherol," fat-soluble nature |
| 4 | Chemistry & Structure | 6-chromanol nucleus, tocopherols vs tocotrienols, α/β/γ/δ forms table + textbook chemical structure diagram |
| 5 | Dietary Sources | Vegetable oils, nuts, seeds, leafy vegetables - rich source table + key points |
| 6 | Absorption, Transport & Metabolism | Step-by-step: intestinal absorption → chylomicrons → α-TTP → VLDL → tissues → excretion |
| 7 | Biochemical Functions | Lipid peroxidation chain-breaking + textbook lipoperoxidation diagram (Vitamin E & C synergy) |
| 8 | RDA | Complete table by age group; α-TE equivalents explained |
| 9 | Deficiency | Causes (AVED, abetalipoproteinemia, fat malabsorption) + clinical features by system |
| 10 | Toxicity | UL = 1000 mg/day; anticoagulant effect, cytotoxicity, evidence gap |
| 11 | Clinical Significance | AVED, premature neonates, NASH, cardiovascular, cancer - 6 evidence boxes |
| 12 | Summary | 10-point key takeaway table |
This is not open
ls -lh /home/daytona/workspace/vitamin-e-ppt/ && python3 -c " import zipfile f = '/home/daytona/workspace/vitamin-e-ppt/Vitamin_E_Biochemistry_MBBS.pptx' try: z = zipfile.ZipFile(f) names = z.namelist() print('Valid ZIP/PPTX. Files:', len(names)) print([n for n in names if 'slide' in n and 'slideLayout' not in n and 'slideMaster' not in n][:5]) except Exception as e: print('ERROR:', e) "
Vitamin E Biochemistry MBBS
Presentation · PPTX