Make a 20 slide ppt documenting introduction, mechanism of action and conclusion using this pdf
cd /home/daytona/workspace/attachments/0359a435-3696-4fe5-972b-47cb6edc4776/ && python3 -c " from pypdf import PdfReader reader = PdfReader('Edc from uptodate.PDF') print(f'Pages: {len(reader.pages)}') text = '' for i, page in enumerate(reader.pages): text += f'\n\n=== PAGE {i+1} ===\n' text += page.extract_text() or '' print(text[:8000]) "
cd /home/daytona/workspace/attachments/0359a435-3696-4fe5-972b-47cb6edc4776/ && python3 -c " from pypdf import PdfReader reader = PdfReader('Edc from uptodate.PDF') text = '' for i, page in enumerate(reader.pages): text += f'\n\n=== PAGE {i+1} ===\n' text += page.extract_text() or '' print(text[8000:20000]) "
cd /home/daytona/workspace/attachments/0359a435-3696-4fe5-972b-47cb6edc4776/ && python3 -c " from pypdf import PdfReader reader = PdfReader('Edc from uptodate.PDF') text = '' for i, page in enumerate(reader.pages): text += f'\n\n=== PAGE {i+1} ===\n' text += page.extract_text() or '' print(text[20000:38000]) "
cd /home/daytona/workspace/attachments/0359a435-3696-4fe5-972b-47cb6edc4776/ && python3 -c " from pypdf import PdfReader reader = PdfReader('Edc from uptodate.PDF') text = '' for i, page in enumerate(reader.pages): text += f'\n\n=== PAGE {i+1} ===\n' text += page.extract_text() or '' # Get last section - conclusions/summary print(text[38000:]) "
mkdir -p /home/daytona/workspace/edc-presentation && ls /home/daytona/workspace/edc-presentation/
~/edc-presentation/create_ppt.js
const pptxgen = require("pptxgenjs");
let pres = new pptxgen();
pres.layout = 'LAYOUT_16x9';
pres.author = 'UpToDate';
pres.title = 'Endocrine-Disrupting Chemicals (EDCs)';
// Color palette
const DARK_BG = "0D1B2A"; // deep navy
const MID_BG = "1B3A4B"; // teal navy
const ACCENT = "00C9A7"; // teal green
const ACCENT2 = "F4A261"; // warm orange
const WHITE = "FFFFFF";
const LIGHT = "E0F4F1"; // very light teal
const SUBTITLE_CLR = "A8D5E2"; // pale blue
const BODY_DARK = "1A2E3F"; // dark body text on light slides
const BULLET_BG = "122533"; // slightly lighter than DARK_BG for cards
// ============================================================
// SLIDE 1 — TITLE SLIDE
// ============================================================
let slide = pres.addSlide();
slide.background = { color: DARK_BG };
// Top accent bar
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: ACCENT } });
// Decorative circle
slide.addShape(pres.ShapeType.ellipse, { x: 7.5, y: 0.8, w: 3.5, h: 3.5, fill: { color: MID_BG }, line: { color: ACCENT, width: 2 } });
slide.addShape(pres.ShapeType.ellipse, { x: 7.9, y: 1.2, w: 2.7, h: 2.7, fill: { color: DARK_BG }, line: { color: ACCENT2, width: 1.5 } });
slide.addText("EDC", { x: 8.0, y: 1.9, w: 2.5, h: 1.0, fontSize: 42, bold: true, color: ACCENT, align: "center" });
slide.addText("ENDOCRINE-DISRUPTING\nCHEMICALS", {
x: 0.5, y: 1.0, w: 7.0, h: 1.4,
fontSize: 34, bold: true, color: WHITE, align: "left", charSpacing: 3
});
slide.addText("Introduction, Mechanisms of Action & Clinical Impact", {
x: 0.5, y: 2.55, w: 7.0, h: 0.6,
fontSize: 16, color: SUBTITLE_CLR, align: "left", italic: true
});
slide.addShape(pres.ShapeType.rect, { x: 0.5, y: 3.3, w: 4.5, h: 0.05, fill: { color: ACCENT } });
slide.addText("Source: UpToDate — Hall JM, Korach KS, Hall JE | Updated Mar 2026", {
x: 0.5, y: 3.5, w: 8.5, h: 0.35,
fontSize: 10, color: SUBTITLE_CLR, italic: true
});
slide.addShape(pres.ShapeType.rect, { x: 0, y: 5.25, w: 10, h: 0.375, fill: { color: MID_BG } });
slide.addText("© 2026 UpToDate, Inc. All rights reserved.", {
x: 0.3, y: 5.3, w: 9.4, h: 0.28,
fontSize: 9, color: SUBTITLE_CLR
});
// Bottom accent bar
slide.addShape(pres.ShapeType.rect, { x: 0, y: 5.57, w: 10, h: 0.055, fill: { color: ACCENT } });
// ============================================================
// SLIDE 2 — TABLE OF CONTENTS
// ============================================================
slide = pres.addSlide();
slide.background = { color: DARK_BG };
slide.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: ACCENT } });
slide.addText("PRESENTATION OVERVIEW", {
x: 0.5, y: 0.2, w: 9, h: 0.55,
fontSize: 22, bold: true, color: ACCENT, charSpacing: 2
});
const sections = [
["01", "INTRODUCTION", "Definition, history & global burden of EDCs"],
["02", "TYPES OF EDCs", "Plant-derived, industrial, household, pharmaceutical"],
["03", "MECHANISMS OF ACTION", "Nuclear receptors, nongenomic, epigenetic pathways"],
["04", "HUMAN EXPOSURE", "Routes, detection, vulnerable populations"],
["05", "HEALTH EFFECTS", "Reproductive, metabolic, neurologic, cancer"],
["06", "PREVENTION & CONCLUSIONS", "Strategies, guidelines, key takeaways"],
];
sections.forEach((s, i) => {
const col = i < 3 ? 0 : 1;
const row = i % 3;
const x = col === 0 ? 0.4 : 5.2;
const y = 1.1 + row * 1.35;
slide.addShape(pres.ShapeType.rect, { x, y, w: 4.5, h: 1.1, fill: { color: MID_BG }, line: { color: ACCENT, width: 1 } });
slide.addText(s[0], { x: x + 0.1, y: y + 0.08, w: 0.7, h: 0.55, fontSize: 26, bold: true, color: ACCENT });
slide.addText(s[1], { x: x + 0.85, y: y + 0.08, w: 3.5, h: 0.38, fontSize: 12, bold: true, color: WHITE });
slide.addText(s[2], { x: x + 0.85, y: y + 0.52, w: 3.5, h: 0.42, fontSize: 9.5, color: SUBTITLE_CLR, italic: true });
});
slide.addShape(pres.ShapeType.rect, { x: 0, y: 5.57, w: 10, h: 0.055, fill: { color: ACCENT } });
// ============================================================
// HELPER: Section divider slide
// ============================================================
function addSectionDivider(title, subtitle, number) {
let sl = pres.addSlide();
sl.background = { color: MID_BG };
sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: ACCENT } });
sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.12, h: 5.625, fill: { color: ACCENT } });
sl.addText(number, {
x: 0.4, y: 0.5, w: 2.5, h: 1.5,
fontSize: 90, bold: true, color: DARK_BG, align: "left"
});
sl.addText(title, {
x: 0.4, y: 1.8, w: 9.2, h: 0.8,
fontSize: 30, bold: true, color: WHITE, charSpacing: 2
});
sl.addShape(pres.ShapeType.rect, { x: 0.4, y: 2.7, w: 5, h: 0.06, fill: { color: ACCENT2 } });
sl.addText(subtitle, {
x: 0.4, y: 2.85, w: 9.2, h: 0.7,
fontSize: 14, color: LIGHT, italic: true
});
sl.addShape(pres.ShapeType.rect, { x: 0, y: 5.57, w: 10, h: 0.055, fill: { color: ACCENT } });
return sl;
}
// Helper: standard content slide
function contentSlide(title, bullets, notes) {
let sl = pres.addSlide();
sl.background = { color: "F5FAFA" };
// Left sidebar
sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.12, h: 5.625, fill: { color: ACCENT } });
sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: DARK_BG } });
sl.addText(title.toUpperCase(), {
x: 0.3, y: 0.15, w: 9.3, h: 0.55,
fontSize: 17, bold: true, color: DARK_BG, charSpacing: 1.5
});
sl.addShape(pres.ShapeType.rect, { x: 0.3, y: 0.72, w: 9.3, h: 0.04, fill: { color: ACCENT } });
const bulletItems = bullets.map((b, i) => [
{ text: "▶ ", options: { color: ACCENT, bold: true, fontSize: 11 } },
{ text: b, options: { color: BODY_DARK, fontSize: 11, breakLine: i < bullets.length - 1 } }
]).flat();
sl.addText(bulletItems, {
x: 0.3, y: 0.85, w: 9.2, h: 4.55,
lineSpacingMultiple: 1.45, valign: "top"
});
if (notes) sl.addNotes(notes);
sl.addShape(pres.ShapeType.rect, { x: 0, y: 5.57, w: 10, h: 0.055, fill: { color: ACCENT } });
return sl;
}
// Helper: two-column slide
function twoColSlide(title, leftItems, rightItems, leftHead, rightHead) {
let sl = pres.addSlide();
sl.background = { color: "F5FAFA" };
sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.12, h: 5.625, fill: { color: ACCENT } });
sl.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: DARK_BG } });
sl.addText(title.toUpperCase(), {
x: 0.3, y: 0.15, w: 9.3, h: 0.55,
fontSize: 17, bold: true, color: DARK_BG, charSpacing: 1.5
});
sl.addShape(pres.ShapeType.rect, { x: 0.3, y: 0.72, w: 9.3, h: 0.04, fill: { color: ACCENT } });
// Left column header
sl.addShape(pres.ShapeType.rect, { x: 0.3, y: 0.85, w: 4.5, h: 0.38, fill: { color: DARK_BG } });
sl.addText(leftHead, { x: 0.3, y: 0.85, w: 4.5, h: 0.38, fontSize: 11, bold: true, color: ACCENT, align: "center" });
// Right column header
sl.addShape(pres.ShapeType.rect, { x: 5.2, y: 0.85, w: 4.5, h: 0.38, fill: { color: MID_BG } });
sl.addText(rightHead, { x: 5.2, y: 0.85, w: 4.5, h: 0.38, fontSize: 11, bold: true, color: ACCENT2, align: "center" });
// Divider
sl.addShape(pres.ShapeType.rect, { x: 4.85, y: 0.85, w: 0.05, h: 4.65, fill: { color: ACCENT } });
const mkBullets = (items) => items.map((b, i) => [
{ text: "• ", options: { color: ACCENT, bold: true, fontSize: 10.5 } },
{ text: b, options: { color: BODY_DARK, fontSize: 10.5, breakLine: i < items.length - 1 } }
]).flat();
sl.addText(mkBullets(leftItems), {
x: 0.3, y: 1.3, w: 4.4, h: 4.1,
lineSpacingMultiple: 1.4, valign: "top"
});
sl.addText(mkBullets(rightItems), {
x: 5.2, y: 1.3, w: 4.4, h: 4.1,
lineSpacingMultiple: 1.4, valign: "top"
});
sl.addShape(pres.ShapeType.rect, { x: 0, y: 5.57, w: 10, h: 0.055, fill: { color: ACCENT } });
return sl;
}
// ============================================================
// ---- PART 1: INTRODUCTION ----
// ============================================================
addSectionDivider("INTRODUCTION", "What are Endocrine-Disrupting Chemicals?", "01");
// Slide 4 — Definition & Scope
contentSlide("What Are Endocrine-Disrupting Chemicals (EDCs)?", [
"EDCs are exogenous agents that disrupt normal endocrine physiology by interfering with hormone synthesis, metabolism, and/or cellular actions.",
"They possess estrogenic, anti-estrogenic, androgenic, anti-androgenic, and other hormonal effects.",
"EDCs are found in air, water, soil, household products, personal care products, and medical devices — making them ubiquitous in the environment.",
"Over 1,000 individual EDCs have been identified (The Endocrine Disruptor Exchange – TEDX).",
"EDCs can cross the placenta and are implicated in the developmental origins of obesity, diabetes, cancer, and infertility.",
"Epidemiologic data suggest the rise in diabetes, cancer, and infertility over the past 2–3 decades may be partly attributable to in utero EDC exposure.",
"EDCs are also recognised as a significant contributor to climate change, contaminating ecosystems worldwide.",
]);
// Slide 5 — Historical Context
contentSlide("Historical Context", [
"EDCs first gained widespread attention due to their effects on abnormal development of fish, aquatic animals, and birds following high-level industrial contamination.",
"Early studies on high-level exposures were largely dismissed as irrelevant to human exposure levels.",
"Landmark: Diethylstilbestrol (DES) was prescribed to prevent miscarriage (1940s–1970s) and caused significant reproductive abnormalities and rare cancers in offspring — the most compelling early human evidence.",
"Today, a robust body of evidence from epidemiologic, animal, and cell-based studies confirms that even low-level real-world exposures matter for human health.",
"The Endocrine Society issued its first major Scientific Statement on EDCs in 2009 (Diamanti-Kandarakis et al.), followed by the EDC-2 statement in 2015.",
"Global regulatory response: The European Union has banned certain EDC-containing products; the US and WHO have updated guidelines.",
]);
// Slide 6 — Types of EDCs
twoColSlide(
"Types of Endocrine-Disrupting Chemicals",
[
"Plant-derived (Phytoestrogens): genistein, daidzein — found in flaxseed, soy, legumes",
"Industrial chemicals: pesticides, flame retardants (PFAS), combustion products (PAHs, dioxins), lubricants (PCBs)",
"Medical supplies: IV tubing, gloves, bags — contain BPA and phthalates",
"Pharmaceuticals: DES, synthetic and natural steroids, estradiol",
],
[
"Household & personal care items: cosmetics, sunscreens, hair relaxers, toys",
"Food/beverage packaging: BPA, phthalates, perchlorate, dioxins",
"Water & environmental contaminants: PFAS chemicals in groundwater, DDT in soil",
"Tobacco products, tea tree & lavender oils (weak estrogenic/anti-androgenic activity)",
"Benzophenone-3 / oxybenzone in sunscreens — identified EDC; substantial systemic absorption",
],
"Natural / Pharmaceutical Sources",
"Industrial / Consumer Sources"
);
// ============================================================
// ---- PART 2: MECHANISMS OF ACTION ----
// ============================================================
addSectionDivider("MECHANISMS OF ACTION", "How do EDCs alter endocrine physiology?", "02");
// Slide 8 — Classic Nuclear Receptor Pathway
contentSlide("Mechanism 1: Classic Nuclear Receptor Pathway", [
"The most established mechanism: EDCs activate or inhibit nuclear receptor (NR) signaling.",
"Nuclear hormone receptors are ligand-modulated transcription factors that interact with DNA response elements within target genes.",
"EDCs bind to the ligand-binding pockets of receptors for estrogens (ERα, ERβ), androgens (AR), progestins (PR), and thyroid hormone (TR).",
"Glucocorticoid/mineralocorticoid receptor (GR/MR) systems are also targets of EDCs.",
"EDCs recruit coactivator or corepressor proteins to DNA response elements, activating or repressing gene expression.",
"Most EDCs bind with >1,000-fold lower affinity than endogenous hormones — suggesting alternative pathways play a critical role at physiologic doses.",
"Example: BPA mimics estradiol and activates ERα/ERβ, disrupting reproductive gene programs.",
]);
// Slide 9 — Nongenomic Signaling
contentSlide("Mechanism 2: Nongenomic Nuclear Receptor Signaling", [
"EDCs can activate nongenomic (membrane-level) signaling independently of nuclear receptor transcription.",
"Key receptor: GPR30 (seven-transmembrane ER) — a membrane-bound estrogen receptor that triggers rapid intracellular signaling cascades.",
"Genistein and BPA possess GREATER relative binding affinity for GPR30 compared with estradiol.",
"Both activate GPR30 with similar efficacy as estradiol at concentrations of 1 pM–1 nM.",
"BPA detected at nM concentrations in human fetal serum, breast milk, amniotic fluid, and cord blood — sufficient to activate GPR30.",
"Rapid downstream effects include Ca²⁺ flux, MAPK/ERK activation, and prolactin release.",
"This mechanism likely explains estrogenic effects of BPA observed at environmentally relevant exposures.",
]);
// Slide 10 — Epigenetic Effects
contentSlide("Mechanism 3: Epigenetic Reprogramming", [
"The epigenome consists of chemical modifications (methylation, acetylation) that control how genes respond to environmental cues.",
"Critical window: prenatal and early postnatal periods — epigenetic modifications (histone methylation, CpG methylation) are actively established.",
"Early EDC exposure can induce DEVELOPMENTAL REPROGRAMMING — lasting epigenetic changes with potential for transgenerational transmission.",
"DES exposure during pregnancy: significant reproductive abnormalities and rare cancers in offspring, via epigenetic reprogramming.",
"BPA and other EDCs may increase susceptibility to chronic diseases in adulthood (endocrine disorders, diabetes, cancer) via early epigenetic changes.",
"Mechanism in prostate cancer: EDCs activate histone methyltransferase MLL1, altering methylation patterns during prostate development — changes persisting to adulthood, elevating cancer risk.",
"PAH exposure in utero: altered methylation of PPAR-γ (primary regulator of adipogenesis) — mechanistic link to obesity.",
]);
// Slide 11 — Additional Mechanisms
twoColSlide(
"Additional Mechanisms of EDC Action",
[
"Hormone biosynthesis disruption: Phthalates & pesticides inhibit steroidogenic enzymes (e.g., CYP19A1 aromatase), reducing estradiol production.",
"Steroid transport disruption: PCBs, BPA, and genistein bind thyroid transport proteins, altering free vs. bound thyroid hormone ratio.",
"Metabolic enzyme induction: CYP1B1-mediated hormone catabolism is increased by phthalates and pesticides.",
"Kisspeptin pathway interference: EDCs disrupt hypothalamic kisspeptin → impaired GnRH pulse generation → altered LH/FSH release.",
],
[
"Mixture / synergistic effects: EDCs rarely act alone; mixtures produce additive or synergistic effects — demonstrated in breast, ovarian, and prostate cells.",
"Non-linear dose-response: EDCs frequently do NOT follow traditional linear dose-response; effects seen at very low exposures, especially during critical windows (in utero, puberty).",
"Adipose accumulation: Lipophilic EDCs accumulate in fat tissue and are released into bloodstream over time, prolonging exposure.",
"No established safe dose: The Endocrine Society states that no safe dose of EDC exposure can be assumed, especially during vulnerable developmental windows.",
],
"Hormonal Pathway Disruption",
"Dose & Mixture Effects"
);
// ============================================================
// ---- PART 3: HUMAN EXPOSURE ----
// ============================================================
addSectionDivider("HUMAN EXPOSURE", "Routes, detection & vulnerable populations", "03");
// Slide 13 — Routes & Detection
contentSlide("Routes of Exposure & Biomonitoring", [
"Ingestion: contaminated food, water, dust (major route — packaging, seafood, produce)",
"Inhalation: gases, particles, combustion by-products (PAHs, flame retardants) in air",
"Dermal contact: personal care products, cosmetics, topical creams",
"Placental transfer: EDCs cross the placenta — high levels found in amniotic fluid and umbilical cord blood",
"Breast milk: numerous EDCs detected; neonates receive exposure through feeding",
"NHANES 2003–2004: Detectable BPA in 93% of urine samples from individuals ≥6 years (CDC)",
"Survey of 1,000 individuals: majority tested positive for phthalates (plasticizers in household, medical & cosmetic products)",
"PFAS chemicals: ubiquitous in blood of humans worldwide",
"EDCs detected in human blood, sweat, urine, breast milk, and hair — in both children and adults",
]);
// ============================================================
// ---- PART 4: HEALTH EFFECTS ----
// ============================================================
addSectionDivider("HEALTH EFFECTS", "Reproductive, metabolic, neurologic & oncologic impacts", "04");
// Slide 15 — Reproductive Effects (Female)
twoColSlide(
"Reproductive Effects: Women & Children",
[
"Precocious puberty: EDCs (lavender/tea tree oils, phthalates, DDT metabolite p,p'-DDE) linked to early puberty, premature thelarche, gynecomastia in boys.",
"Ovarian toxicity: BPA associated with ovarian cysts, follicle atresia, impaired implantation in IVF.",
"Fertility: BPA, phthalates, pesticides, PCBs disrupt folliculogenesis, ovulation, and fertilization.",
"Steroidogenesis: Phthalates/pesticides inhibit estradiol production; BPA alters estradiol, testosterone, and pregnenolone in granulosa/thecal cells.",
"PCOS: Higher serum BPA in women with PCOS; correlates with hyperandrogenemia and insulin resistance.",
],
[
"Endometriosis: Dioxin stimulates uterine epithelial growth; EDCs act on estrogen-dependent lesions and immune system.",
"Uterine fibroids: DES daughters have higher fibroid risk; epigenetic reprogramming by DES and genistein increases myometrial hormone sensitivity.",
"Testicular Dysgenesis Syndrome (TDS): EDC-linked triad — abnormal fetal testis development, decreased semen quality, testicular germ cell cancer.",
"Male fertility: DDT exposure → reduced sperm volume, concentration, motility, morphology; BPA exposure → decline in sperm quality; PCBs inversely correlated with sperm motility.",
"Phthalates: Anti-androgenic effects; phthalate capsule exposure in IBD patients reduced LH, FSH, testosterone, and inhibin B.",
],
"Female Reproductive Effects",
"Male & Pediatric Effects"
);
// Slide 16 — Metabolic & Systemic Effects
contentSlide("Metabolic, Cardiovascular & Respiratory Effects", [
"Obesity ('obesogens'): BPA, phthalates, tributyltin (TBT) promote adipogenesis. Phthalate exposure estimated to contribute to ~54,000 obesity cases in older European women.",
"Diabetes: BPA linked to insulin resistance and type 2 diabetes in women of reproductive age; urinary phthalate metabolites increase diabetes incidence across all ages.",
"PCOS & metabolic overlap: TBT induces PCOS-like features (reproductive, metabolic, cardiovascular) in animal models.",
"MASLD (metabolic liver disease): PCBs and PFAS exposure associated with increased liver dysfunction and MASLD phenotypes — affecting ~30–40% of the world population.",
"Cardiovascular: BPA exposure linked to coronary artery disease and hypertension (meta-analysis, 33 studies); maternal BPA in 2nd trimester predicts elevated diastolic BP at age 4.",
"Respiratory: Over 50 EDCs — including BPA, phthalates, benzophenone-3 — found in household products and associated with asthma; PVC/phthalates linked to asthma/allergy in children.",
"Childhood obesity: PFAS chemicals increasingly recognised as risk factor for obesity in children and adolescents.",
]);
// Slide 17 — Neurological Effects
contentSlide("Neurological & Thyroid Effects", [
"Neurodevelopmental deficits: Prenatal glycol ether exposure → neurocognitive deficits in 6-year-olds (PELAGIE cohort); prenatal insecticide → cognitive difficulties and abnormal social behaviour.",
"Academic performance: EDC exposure (BPA, phthalates) linked to lower grade-point averages in children; PCBs in utero linked to lower IQ.",
"ASD & ADHD: EDCs express autism-associated genes; organochloride pesticides near agriculture → 6× increased ASD risk; ADHD-related behaviours associated with higher urinary phthalates in adolescents.",
"Thyroid disruption: EDCs impact thyroid hormone biosynthesis, transport, metabolism, and TR activity. Even mild maternal thyroid fluctuations impair fetal neurodevelopment.",
"PBDEs (flame retardants): Associated with hypothyroidism (prevalence ratio 1.7).",
"Perchlorate: Inhibits iodide transporter — disrupts T3/T4 biosynthesis; inversely correlated with offspring cognitive ability in pregnant women with borderline thyroid function.",
"PFAS: Disrupt multiple steps in thyroid hormone synthesis; associated with abnormal thyroid function in infants, children, and adults.",
]);
// Slide 18 — Cancer
contentSlide("Hormone-Related Cancers", [
"Breast cancer: Excess estrogen in utero → elevated breast cancer incidence. DES daughters ≥40 years: 2.1× greater breast cancer incidence. Prenatal DDT exposure → ~4× increased risk in daughters (longitudinal study).",
"Hair products & breast cancer: In a study of >50,000 US/Puerto Rico women, hair dye and straightener use associated with increased breast cancer risk (especially African American women). >5,000 chemicals in hair products, some known EDCs.",
"Endometrial & ovarian cancer: Hair straightener chemicals (phenols, phthalates, parabens, cyclosiloxanes) linked to increased incidence in epidemiologic studies.",
"Prostate cancer: Occupational pesticide exposure (Agricultural Health Study, ~90,000 participants) directly correlated with prostate cancer incidence. Arsenic, cadmium, PCBs also implicated.",
"Prostate cancer mechanism: EDCs with estrogenic activity initiate prostatic carcinogenesis in androgen-supported environment; epigenetic changes in prostate tumor stroma promote malignant invasiveness.",
"Testicular cancer (TGCC): Rising incidence over past decades. Serum DDE levels correlated with both seminomatous and nonseminomatous TGCC risk (case-control, n=754).",
"Phytoestrogens: Genistein and resveratrol may have anti-tumorigenic effects in some experimental systems by dampening ER stimulatory activity.",
]);
// ============================================================
// ---- PART 5: PREVENTION & CONCLUSIONS ----
// ============================================================
addSectionDivider("PREVENTION & CONCLUSIONS", "Reducing exposure & key clinical takeaways", "05");
// Slide 20 — Prevention Strategies
twoColSlide(
"Prevention of EDC Exposure: Practical Strategies",
[
"BPA: Use BPA-free products and glass for food storage/cooking. Especially critical for infants, children, and pregnant women. EU recommends 20,000-fold reduction in tolerable daily BPA intake.",
"Phthalates: Use filtered water; avoid plastics in food prep; choose fragrance-free soaps, detergents, and cosmetics.",
"Sunscreens: Use mineral-based (titanium dioxide, zinc oxide) over chemical filters; avoid oxybenzone (benzophenone-3 / BP-3).",
"PFAS: Test well water annually; use NSF/ANSI certified filters, especially during pregnancy. Avoid coastal European seafood (high EDC contamination).",
],
[
"Dioxins: Replace bleached paper products (diapers, towels, tissues) with cloth alternatives.",
"Pesticides: Peel produce or soak 15 min in baking soda (sodium bicarbonate) solution to significantly reduce pesticide residues.",
"Topical products for children: Avoid tea tree and lavender oil formulations (estrogenic/anti-androgenic); consult paediatrician/pharmacist before use.",
"DES-exposed individuals: Regular screening for reproductive malignancies if exposed in utero.",
"Clinical communication: Inform patients about EDC exposure risks and guide lifestyle changes to reduce exposure, especially during pregnancy and childhood.",
],
"Individual / Consumer Strategies",
"Clinical & Regulatory Guidance"
);
// Slide 21 — Conclusion
let conc = pres.addSlide();
conc.background = { color: DARK_BG };
conc.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 10, h: 0.08, fill: { color: ACCENT } });
conc.addShape(pres.ShapeType.rect, { x: 0, y: 0, w: 0.12, h: 5.625, fill: { color: ACCENT2 } });
conc.addText("KEY CONCLUSIONS", {
x: 0.3, y: 0.2, w: 9.3, h: 0.55,
fontSize: 22, bold: true, color: ACCENT, charSpacing: 2
});
conc.addShape(pres.ShapeType.rect, { x: 0.3, y: 0.8, w: 9.2, h: 0.04, fill: { color: ACCENT2 } });
const conclusions = [
["Definition", "EDCs are exogenous agents disrupting hormone synthesis, metabolism, and/or cellular actions — with estrogenic, anti-estrogenic, androgenic, anti-androgenic, and other hormonal effects."],
["Mechanisms", "EDCs act via nuclear receptors, nongenomic GPR30 signaling, and epigenetic reprogramming — often at very low (picomolar–nanomolar) doses without a definable safe threshold."],
["Exposure", "EDCs are ubiquitous — detected in 93% of urine samples (BPA), virtually all adults (PFAS, phthalates). Placental transfer places the developing fetus at highest risk."],
["Health Impact", "EDCs are linked to reproductive disorders (PCOS, infertility, TDS), metabolic disease (obesity, diabetes), hormone-sensitive cancers, neurological deficits, thyroid dysfunction, and CVD."],
["Clinical Action", "Clinicians should counsel patients — especially pregnant women, infants, and children — on EDC reduction strategies. No safe exposure level is established."],
];
conclusions.forEach((c, i) => {
const y = 0.92 + i * 0.9;
conc.addShape(pres.ShapeType.rect, { x: 0.3, y, w: 9.2, h: 0.78, fill: { color: MID_BG }, line: { color: ACCENT, width: 0.5 } });
conc.addText(c[0].toUpperCase(), { x: 0.4, y: y + 0.08, w: 1.6, h: 0.32, fontSize: 9, bold: true, color: ACCENT2 });
conc.addText(c[1], { x: 2.05, y: y + 0.06, w: 7.3, h: 0.66, fontSize: 9.5, color: WHITE, valign: "middle" });
conc.addShape(pres.ShapeType.rect, { x: 1.95, y: y + 0.12, w: 0.04, h: 0.54, fill: { color: ACCENT } });
});
conc.addShape(pres.ShapeType.rect, { x: 0, y: 5.57, w: 10, h: 0.055, fill: { color: ACCENT } });
// ============================================================
// WRITE FILE
// ============================================================
pres.writeFile({ fileName: "/home/daytona/workspace/edc-presentation/EDC_Presentation.pptx" })
.then(() => console.log("SUCCESS: EDC_Presentation.pptx created"))
.catch(e => console.error("ERROR:", e));
cd /home/daytona/workspace/edc-presentation && node create_ppt.js
ls -lh /home/daytona/workspace/edc-presentation/EDC_Presentation.pptx && python3 -m markitdown /home/daytona/workspace/edc-presentation/EDC_Presentation.pptx 2>/dev/null | head -80
python3 -m markitdown /home/daytona/workspace/edc-presentation/EDC_Presentation.pptx 2>/dev/null | grep -c "^#"
python3 -c " from pptx import Presentation prs = Presentation('/home/daytona/workspace/edc-presentation/EDC_Presentation.pptx') print(f'Total slides: {len(prs.slides)}') for i, slide in enumerate(prs.slides): texts = [] for shape in slide.shapes: if shape.has_text_frame: t = shape.text_frame.text.strip()[:60] if t: texts.append(t) print(f'Slide {i+1}: {texts[:2]}') "
cd /home/daytona/workspace/edc-presentation && node -e " const pptxgen = require('pptxgenjs'); // Count slides from the created file const { execSync } = require('child_process'); const out = execSync('python3 /home/daytona/skills/pptx/scripts/thumbnail.py /home/daytona/workspace/edc-presentation/EDC_Presentation.pptx 2>&1 || echo done').toString(); console.log(out.substring(0, 300)); "
EDC Presentation
Presentation · PPTX
| # | Slide | Content |
|---|---|---|
| 1 | Title Slide | Bold dark navy design with EDC branding |
| 2 | Overview | 6-section table of contents |
| 3 | Section Divider | Introduction |
| 4 | What Are EDCs? | Definition, scope, >1,000 known EDCs |
| 5 | Historical Context | DES story, Endocrine Society statements |
| 6 | Types of EDCs | Two-column: natural/pharma vs. industrial/consumer |
| 7 | Section Divider | Mechanisms of Action |
| 8 | Classic Nuclear Receptor Pathway | ERα/β, AR, PR, TR, GR/MR binding |
| 9 | Nongenomic Signaling | GPR30, BPA at picomolar doses, Ca²⁺ flux |
| 10 | Epigenetic Reprogramming | CpG methylation, DES epigenetic legacy, PAH/obesity link |
| 11 | Additional Mechanisms | Steroidogenesis disruption, mixtures, non-linear dose-response |
| 12 | Section Divider | Human Exposure |
| 13 | Routes & Biomonitoring | 93% BPA in urine (NHANES), PFAS ubiquity |
| 14 | Section Divider | Health Effects |
| 15 | Reproductive Effects | Women, children, and men - two-column layout |
| 16 | Metabolic, CV & Respiratory | Obesity, diabetes, MASLD, asthma |
| 17 | Neurological & Thyroid | ASD, ADHD, PBDE/perchlorate thyroid effects |
| 18 | Hormone-Related Cancers | Breast, prostate, testicular, endometrial |
| 19 | Section Divider | Prevention & Conclusions |
| 20 | Prevention Strategies | BPA-free products, mineral sunscreens, PFAS filters, produce washing |
| 21 | Key Conclusions | 5-card summary of all major takeaways |
Cant download
ls -lh /home/daytona/workspace/edc-presentation/EDC_Presentation.pptx && file /home/daytona/workspace/edc-presentation/EDC_Presentation.pptx
EDC Presentation
Presentation · PPTX
/home/daytona/workspace/edc-presentation/EDC_Presentation.pptx and use it directly in your file manager if you have sandbox accessConvert the presentation to PDF format for easier download
cd /home/daytona/workspace/edc-presentation && libreoffice --headless --convert-to pdf EDC_Presentation.pptx --outdir . 2>&1
cp /home/daytona/workspace/edc-presentation/EDC_Presentation.pptx /tmp/EDC_Presentation.pptx && libreoffice --headless --convert-to pdf /tmp/EDC_Presentation.pptx --outdir /tmp/ 2>&1 && ls -lh /tmp/EDC_Presentation.pdf
cp /tmp/EDC_Presentation.pdf /home/daytona/workspace/edc-presentation/EDC_Presentation.pdf && ls -lh /home/daytona/workspace/edc-presentation/EDC_Presentation.pdf
EDC Presentation
PDF Document · PDF