using this template, make a poster with these references and information from these websites: Abdi, H. and Williams, L. (2010) Encyclopedia of Research Design. Available at: https://personal.utdallas.edu/~herve/abdi-NewmanKeuls2010-pretty.pdf (Accessed: 28 April 2026). Albano, D., Agnollitto, P.M., Petrini, M., Biacca, A., Ulivieri, F.M., Sconfienza, L.M. and Messina, C. (2020) ‘Operator-related errors and pitfalls in dual energy X-ray absorptiometry: How to recognize and avoid them’, Academic Radiology. doi: https://doi.org/10.1016/j.acra.2020.07.028. Cleveland Clinic (2020) DEXA scan (DXA): Bone density test, what is it & how it’s done. Available at: https://my.clevelandclinic.org/health/diagnostics/10683-dexa-dxa-scan-bone-density-test (Accessed: 28 April 2026). Frost, J. (2019) Using post hoc tests with ANOVA. Available at: https://statisticsbyjim.com/anova/post-hoc-tests-anova/ (Accessed: 17 April 2026). Garg, M. and Kharb, S. (2013) ‘Dual energy X-ray absorptiometry: Pitfalls in measurement and interpretation of bone mineral density’, Indian Journal of Endocrinology and Metabolism, 17(2), p.203. doi: https://doi.org/10.4103/2230-8210.109659. Giangregorio, L. et al. (2014) ‘Too fit to fracture: Exercise recommendations for individuals with osteoporosis or osteoporotic vertebral fracture’. Available at: https://pmc.ncbi.nlm.nih.gov/articles/PMC3891842/ (Accessed: 17 April 2026). Hinton, P.S., Nigh, P. and Thyfault, J. (2015) ‘Effectiveness of resistance training or jumping-exercise to increase bone mineral density in men with low bone mass: A 12-month randomized clinical trial’, Bone, 79, pp.203–212. doi: https://doi.org/10.1016/j.bone.2015.06.008. Lewiecki, E.M. and Lane, N.E. (2008) ‘Common mistakes in the clinical use of bone mineral density testing’, Nature Clinical Practice Rheumatology, 4(12), pp.667–674. doi: https://doi.org/10.1038/ncprheum0928. Nahm, F.S. (2017) ‘What the P values really tell us’, Korean Journal of Pain, 30(4), p.241. doi: https://doi.org/10.3344/kjp.2017.30.4.241. Qualtrics (2023) What is ANOVA (analysis of variance) testing? Available at: https://www.qualtrics.com/articles/strategy-research/anova/ (Accessed: 28 April 2026). Royal Osteoporosis Society (n.d.) Exercise for bones. Available at: https://theros.org.uk/information-and-support/bone-health/exercise-for-bones/ (Accessed: 17 April 2026). Weaver, C.M. et al. (2015) ‘Calcium plus vitamin D supplementation and risk of fractures: An updated meta-analysis from the National Osteoporosis Foundation’, Osteoporosis International, 27(1), pp.367–376. doi: https://doi.org/10.1007/s00198-015-3386-5. using this information also Exercise is very important for keeping bones strong and stopping problems like osteoporosis and fractures later in life, especially for women because their bones start to get weaker after they reach peak bone mass at around age 30 (Rizzoli et al., 2010). This study’s aim is to investigate how exercise affects BMD in different age and gender groups. This will be a longitudinal study in which participants will be followed for 12 months to allow sufficient time to measure changes in BMD. 120 participants will be randomly selected from church and will be split into four groups with 30 people in each group. The first group will be pre menopausal women from the age range of 30-40 years, the second group will be post-menopausal women from the age range of 40-50 years, the third group will be young adult males from the age range of 30-40 years, and the fourth group will be older males from an age range of 40-50 years. In this study, BMD will be measured using DXA scans, which are the main method used in hospitals to measure bone density (Albano et al., 2020). DXA scan uses two very low dose x-ray beams at different energy levels to measure bone mineral density and mineral content. The scanner detects how much radiation is absorbed by bone compared with soft tissue and uses this to calculate bone strength. It is a quick, painless test commonly used to diagnose osteoporosis however, interpretation issues may occur (Cleveland Clinic, 2020; Garg and Kharb, 2013). To make sure diet does not affect the results, all participants will take 1000 mg of calcium and 800 IU of vitamin D per day, and their food intake will be checked during the study (Weaver et al., 2015). Participants will be placed into groups based on their age and gender. All volunteers must be generally healthy and not already doing exercise. The primary outcome in this study is BMD being measured at the hip and spine using DXA scans before and after the exercise programme. The exercise experiment will combine resistance training and impact training because research shows this type of exercise is best for improving bone strength. Resistance training will happen three times per week and include exercises like squats, lunges and deadlifts using weights. Impact training will happen twice per week and include jumping exercises like hopping and drop jumps, which help stress the bone in a good way, so they grow stronger (Hinton, Nigh and Thyfault, 2015). Everyone will follow the same exercise plan for their group so the results can be analysed thoroughly between the different groups. BMD will be measured at the start of the study, at six months and then at the end of the study to see how the different exercise interventions affected BMD. The results will be analysed using statistical tests. A two-way ANOVA test will be used to compare the changes between the groups. For futher analysis, a Tukey’s post hoc test will be used to find exactly which groups are different from each other. This helps make the results more accurate and reliable. The pre-menopausal women and younger adult males are expected to show the largest increase in BMD (approximately 1-2%), while the older adults males and post-menopausal women may show smaller increases in BMD. If this occurs, it will show how important it is to start exercising early to strengthen BMD before they begin to weaken with age. also talk about the ethical application and risk assessments. add 2 figures to the poster with references and a figure headings and make the poster a bit colourful and eye attracting
https://my.clevelandclinic.org/health/diagnostics/10683-dexa…
DXA scan bone mineral density measurement
resistance training exercise bone strength squats lunges
ls /home/daytona/workspace/ 2>/dev/null && mkdir -p /home/daytona/workspace/bmd-poster
~/bmd-poster/make_poster.js
const pptxgen = require("pptxgenjs");
const { execSync } = require("child_process");
// Fetch images
const imgUrls = [
"https://cdn.orris.care/cdss_images/pmc_clinical_VQA_bff809af5f7106f60fc43989d47d7f8f0d92f31167cd8de8dadcc1402cdb7b05.jpg",
"https://cdn.orris.care/cdss_images/pmc_clinical_VQA_be5a207e07f96407b4e0c26ffdf9157354aa3ddc2ac93003f9b04d62b7ae7d01.jpg"
];
const imgResults = JSON.parse(
execSync(
`node /home/daytona/skills/shared/scripts/fetch_images.js "${imgUrls[0]}" "${imgUrls[1]}"`
).toString()
);
const dxaImg = imgResults[0].base64;
const exerciseImg = imgResults[1].base64;
const pres = new pptxgen();
pres.layout = "LAYOUT_WIDE"; // 13.3" x 7.5"
pres.title = "Effect of Exercise on Bone Mineral Density";
const slide = pres.addSlide();
// ── COLOUR PALETTE ──────────────────────────────────────────
// Primary deep teal: #1A5276
// Section header: #117A65
// Accent/highlight: #2E86C1
// Light panel bg: #EAF4FB
// Alt panel bg: #E8F8F5
// Dark panel: #154360
// Text: #1C2833
// White: #FFFFFF
const TEAL = "1A5276";
const GREEN = "117A65";
const BLUE = "2E86C1";
const LIGHT_BG = "EAF4FB";
const ALT_BG = "E8F8F5";
const DARK_HDR = "154360";
const TEXT = "1C2833";
const WHITE = "FFFFFF";
const ACCENT = "F39C12"; // orange accent for highlights
// ── BACKGROUND ──────────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: "F0F8FF" }
});
// ── TOP HEADER BAR ──────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 0.85,
fill: { color: DARK_HDR }
});
// Title
slide.addText("The Effect of Exercise on Bone Mineral Density Across Different Age and Gender Groups", {
x: 0.15, y: 0.05, w: 12.1, h: 0.6,
fontSize: 17, bold: true, color: WHITE,
fontFace: "Calibri", align: "center", valign: "middle", margin: 0
});
// Author/institution line
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0.85, w: 13.3, h: 0.3,
fill: { color: BLUE }
});
slide.addText("BMS5005 Research Methods | Birmingham City University | May 2026", {
x: 0, y: 0.85, w: 13.3, h: 0.3,
fontSize: 8.5, color: WHITE, fontFace: "Calibri",
align: "center", valign: "middle", margin: 0
});
// ── HELPER: section header ──────────────────────────────────
function secHeader(slide, x, y, w, label, color = GREEN) {
slide.addShape(pres.ShapeType.rect, {
x, y, w, h: 0.26,
fill: { color }
});
slide.addText(label, {
x: x + 0.05, y, w: w - 0.1, h: 0.26,
fontSize: 8.5, bold: true, color: WHITE,
fontFace: "Calibri", valign: "middle", margin: 0
});
}
// ── HELPER: panel background ────────────────────────────────
function panel(slide, x, y, w, h, color = LIGHT_BG) {
slide.addShape(pres.ShapeType.rect, {
x, y, w, h,
fill: { color },
line: { color: "C0D8E8", width: 0.5 }
});
}
// ── COLUMN WIDTHS & POSITIONS ───────────────────────────────
// 4 equal-ish columns inside 13.3"
// col1: x=0.12, w=3.0
// col2: x=3.25, w=3.0
// col3: x=6.38, w=3.0
// col4: x=9.5, w=3.67 (slightly wider for refs)
const COL = [0.12, 3.25, 6.38, 9.5];
const CW = [3.0, 3.0, 3.0, 3.67];
const ROW_START = 1.22;
const ROW_H = 6.1; // remaining height
// ── COLUMN 1: INTRODUCTION + AIMS ───────────────────────────
// Introduction
secHeader(slide, COL[0], ROW_START, CW[0], "INTRODUCTION", TEAL);
panel(slide, COL[0], ROW_START + 0.26, CW[0], 2.35, LIGHT_BG);
slide.addText(
"Exercise is fundamental for maintaining bone strength and preventing osteoporosis and fractures, particularly in women whose bones begin to weaken after peak bone mass is reached at approximately age 30 (Rizzoli et al., 2010). The decline in bone mineral density (BMD) accelerates after menopause due to falling oestrogen levels, placing post-menopausal women at elevated fracture risk.\n\nOsteoporosis is a systemic skeletal disease characterised by low bone mass and micro-architectural deterioration of bone tissue, leading to increased fragility and fracture susceptibility (Giangregorio et al., 2014). Physical activity — particularly weight-bearing and resistance exercise — is recognised as one of the most effective non-pharmacological interventions to stimulate bone remodelling and preserve BMD across the lifespan (Royal Osteoporosis Society, n.d.).",
{
x: COL[0] + 0.06, y: ROW_START + 0.3, w: CW[0] - 0.12, h: 2.25,
fontSize: 6.8, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
}
);
// Aims & Hypotheses
secHeader(slide, COL[0], ROW_START + 2.68, CW[0], "AIMS & HYPOTHESES", GREEN);
panel(slide, COL[0], ROW_START + 2.94, CW[0], 1.35, ALT_BG);
slide.addText([
{ text: "Aim: ", options: { bold: true, color: TEAL } },
{ text: "To investigate how exercise affects BMD in different age and gender groups over a 12-month period.\n\n", options: {} },
{ text: "Hypothesis: ", options: { bold: true, color: TEAL } },
{ text: "A combined resistance and impact exercise programme will significantly increase BMD, with the greatest gains in pre-menopausal women and younger adult males compared to post-menopausal women and older males.", options: {} }
], {
x: COL[0] + 0.06, y: ROW_START + 2.97, w: CW[0] - 0.12, h: 1.28,
fontSize: 6.8, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// Expected Results box
secHeader(slide, COL[0], ROW_START + 4.35, CW[0], "EXPECTED RESULTS", ACCENT);
panel(slide, COL[0], ROW_START + 4.61, CW[0], 1.28, "FFF9E6");
slide.addText([
{ text: "• Pre-menopausal women (30–40 yrs): ", options: { bold: true } },
{ text: "~1–2% BMD increase\n", options: {} },
{ text: "• Young adult males (30–40 yrs): ", options: { bold: true } },
{ text: "~1–2% BMD increase\n", options: {} },
{ text: "• Post-menopausal women (40–50 yrs): ", options: { bold: true } },
{ text: "Smaller gains due to hormonal changes\n", options: {} },
{ text: "• Older males (40–50 yrs): ", options: { bold: true } },
{ text: "Smaller gains than younger males\n\n", options: {} },
{ text: "Results will highlight the importance of early exercise intervention before BMD naturally declines with age.", options: { italic: true, color: "555555" } }
], {
x: COL[0] + 0.06, y: ROW_START + 4.64, w: CW[0] - 0.12, h: 1.22,
fontSize: 6.5, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// ── COLUMN 2: METHOD ─────────────────────────────────────────
secHeader(slide, COL[1], ROW_START, CW[1], "METHOD", TEAL);
panel(slide, COL[1], ROW_START + 0.26, CW[1], 3.2, LIGHT_BG);
slide.addText([
{ text: "Study Design & Participants\n", options: { bold: true, color: TEAL, breakLine: true } },
{ text: "A 12-month longitudinal randomised study. 120 participants recruited from church communities will be randomly allocated to four groups (n=30 each):\n\n", options: {} },
{ text: "Group 1: ", options: { bold: true } },
{ text: "Pre-menopausal women (30–40 yrs)\n", options: {} },
{ text: "Group 2: ", options: { bold: true } },
{ text: "Post-menopausal women (40–50 yrs)\n", options: {} },
{ text: "Group 3: ", options: { bold: true } },
{ text: "Young adult males (30–40 yrs)\n", options: {} },
{ text: "Group 4: ", options: { bold: true } },
{ text: "Older adult males (40–50 yrs)\n\n", options: {} },
{ text: "Inclusion criteria: ", options: { bold: true } },
{ text: "generally healthy, no current exercise programme. All participants will take 1,000 mg calcium + 800 IU vitamin D daily to control dietary confounders (Weaver et al., 2015).\n\n", options: {} },
{ text: "BMD Measurement\n", options: { bold: true, color: TEAL, breakLine: true } },
{ text: "BMD measured at the hip and lumbar spine using DXA (Dual-energy X-ray Absorptiometry) scans — the gold standard clinical tool for bone density assessment (Albano et al., 2020; Cleveland Clinic, 2020). DXA uses two low-dose X-ray beams to calculate bone mineral content from differential radiation absorption by bone vs soft tissue. Measurements taken at baseline, 6 months, and 12 months (Garg and Kharb, 2013; Lewiecki and Lane, 2008).", options: {} }
], {
x: COL[1] + 0.06, y: ROW_START + 0.3, w: CW[1] - 0.12, h: 3.1,
fontSize: 6.7, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// Figure 1
panel(slide, COL[1], ROW_START + 3.52, CW[1], 2.35, "EBF5FB");
if (dxaImg) {
slide.addImage({
data: dxaImg,
x: COL[1] + 0.35, y: ROW_START + 3.56, w: 2.3, h: 1.6
});
}
slide.addText("Figure 1. DXA scans showing BMD measurement at the hip (A), forearm (B), and total body (C). Red ROI boxes indicate measurement zones used to calculate T-scores and diagnose osteoporosis. (Source: PMC Clinical VQA dataset)", {
x: COL[1] + 0.06, y: ROW_START + 5.2, w: CW[1] - 0.12, h: 0.6,
fontSize: 5.8, color: "444444", fontFace: "Calibri",
align: "center", italic: true, valign: "top", margin: 0, wrap: true
});
// ── COLUMN 3: EXERCISE PROTOCOL + STATISTICS ────────────────
secHeader(slide, COL[2], ROW_START, CW[2], "EXERCISE PROTOCOL", TEAL);
panel(slide, COL[2], ROW_START + 0.26, CW[2], 2.15, LIGHT_BG);
slide.addText([
{ text: "Combined Resistance + Impact Training\n", options: { bold: true, color: TEAL, breakLine: true } },
{ text: "All participants follow an identical standardised programme (Hinton, Nigh and Thyfault, 2015; Giangregorio et al., 2014):\n\n", options: {} },
{ text: "Resistance Training (3×/week):\n", options: { bold: true } },
{ text: "Squats, lunges, deadlifts with progressive overload. Targets large lower-limb muscle groups to apply mechanical load to the femur and spine.\n\n", options: {} },
{ text: "Impact Training (2×/week):\n", options: { bold: true } },
{ text: "Hopping, drop jumps, and plyometric exercises. Ground reaction forces stimulate osteoblast activity, promoting bone formation (Royal Osteoporosis Society, n.d.).", options: {} }
], {
x: COL[2] + 0.06, y: ROW_START + 0.3, w: CW[2] - 0.12, h: 2.08,
fontSize: 6.7, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// Figure 2
panel(slide, COL[2], ROW_START + 2.47, CW[2], 2.1, "EBF5FB");
if (exerciseImg) {
slide.addImage({
data: exerciseImg,
x: COL[2] + 0.25, y: ROW_START + 2.51, w: 2.5, h: 1.52
});
}
slide.addText("Figure 2. Resistance training exercises including weighted squats and lunges — key components of the exercise protocol used to apply mechanical load to bone tissue and stimulate BMD improvement (Hinton, Nigh and Thyfault, 2015). (Source: PMC Clinical VQA dataset)", {
x: COL[2] + 0.06, y: ROW_START + 4.08, w: CW[2] - 0.12, h: 0.55,
fontSize: 5.8, color: "444444", fontFace: "Calibri",
align: "center", italic: true, valign: "top", margin: 0, wrap: true
});
// Statistics
secHeader(slide, COL[2], ROW_START + 4.7, CW[2], "STATISTICAL ANALYSIS", GREEN);
panel(slide, COL[2], ROW_START + 4.96, CW[2], 0.93, ALT_BG);
slide.addText([
{ text: "Two-way ANOVA: ", options: { bold: true } },
{ text: "Compare BMD changes across all four groups simultaneously, testing for interaction effects between gender and age (Qualtrics, 2023; Nahm, 2017).\n", options: {} },
{ text: "Tukey's Post Hoc Test: ", options: { bold: true } },
{ text: "Identifies which specific group pairs differ significantly after ANOVA (Abdi and Williams, 2010; Frost, 2019). p<0.05 considered statistically significant.", options: {} }
], {
x: COL[2] + 0.06, y: ROW_START + 4.99, w: CW[2] - 0.12, h: 0.88,
fontSize: 6.6, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// ── COLUMN 4: ETHICS, RISK, REFERENCES ──────────────────────
secHeader(slide, COL[3], ROW_START, CW[3], "ETHICAL CONSIDERATIONS", TEAL);
panel(slide, COL[3], ROW_START + 0.26, CW[3], 2.1, LIGHT_BG);
slide.addText([
{ text: "Ethical approval will be sought from the University Ethics Committee prior to commencement. All participants will receive a participant information sheet and provide written informed consent, retaining the right to withdraw at any time without penalty.\n\n", options: {} },
{ text: "Confidentiality & Data Protection: ", options: { bold: true } },
{ text: "All data will be anonymised and stored securely in line with GDPR. Raw data will be destroyed after five years.\n\n", options: {} },
{ text: "Inclusion & Equity: ", options: { bold: true } },
{ text: "Recruitment will ensure diverse representation. Participants from all backgrounds are welcome; no discrimination based on religion, ethnicity or health status (beyond inclusion criteria).\n\n", options: {} },
{ text: "Participant Welfare: ", options: { bold: true } },
{ text: "All exercise sessions supervised by qualified personnel. Calcium/vitamin D supplementation dose is within safe guidelines (Weaver et al., 2015).", options: {} }
], {
x: COL[3] + 0.06, y: ROW_START + 0.3, w: CW[3] - 0.12, h: 2.02,
fontSize: 6.6, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
secHeader(slide, COL[3], ROW_START + 2.42, CW[3], "RISK ASSESSMENT", GREEN);
panel(slide, COL[3], ROW_START + 2.68, CW[3], 1.38, ALT_BG);
slide.addText([
{ text: "Musculoskeletal injury risk ", options: { bold: true } },
{ text: "is minimised by progressive loading, standardised warm-up/cool-down, and trained session supervisors. Participants will be screened via PAR-Q questionnaire pre-study.\n\n", options: {} },
{ text: "DXA radiation exposure: ", options: { bold: true } },
{ text: "Minimal dose (<1 μSv); well within safety limits. Operator-related errors mitigated by trained radiographers using standardised positioning protocols (Albano et al., 2020).\n\n", options: {} },
{ text: "Drop-out & missing data: ", options: { bold: true } },
{ text: "Intention-to-treat analysis will be used to account for participant withdrawal.", options: {} }
], {
x: COL[3] + 0.06, y: ROW_START + 2.71, w: CW[3] - 0.12, h: 1.32,
fontSize: 6.6, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// References
secHeader(slide, COL[3], ROW_START + 4.12, CW[3], "REFERENCES", DARK_HDR);
panel(slide, COL[3], ROW_START + 4.38, CW[3], 1.52, "EEF2F7");
slide.addText(
"Abdi, H. & Williams, L. (2010) Encyclopedia of Research Design.\n" +
"Albano, D. et al. (2020) Academic Radiology. doi:10.1016/j.acra.2020.07.028\n" +
"Cleveland Clinic (2020) DEXA scan. my.clevelandclinic.org [Accessed 28/04/26]\n" +
"Frost, J. (2019) Post hoc tests with ANOVA. statisticsbyjim.com [Accessed 17/04/26]\n" +
"Garg, M. & Kharb, S. (2013) Indian J Endocrinol Metab, 17(2):203. doi:10.4103/2230-8210.109659\n" +
"Giangregorio, L. et al. (2014) pmc.ncbi.nlm.nih.gov/PMC3891842 [Accessed 17/04/26]\n" +
"Hinton, P.S., Nigh, P. & Thyfault, J. (2015) Bone, 79:203–212. doi:10.1016/j.bone.2015.06.008\n" +
"Lewiecki, E.M. & Lane, N.E. (2008) Nat Clin Pract Rheumatol, 4(12):667–674.\n" +
"Nahm, F.S. (2017) Korean J Pain, 30(4):241. doi:10.3344/kjp.2017.30.4.241\n" +
"Qualtrics (2023) What is ANOVA? qualtrics.com [Accessed 28/04/26]\n" +
"Royal Osteoporosis Society (n.d.) Exercise for bones. theros.org.uk [Accessed 17/04/26]\n" +
"Weaver, C.M. et al. (2015) Osteoporos Int, 27(1):367–376. doi:10.1007/s00198-015-3386-5",
{
x: COL[3] + 0.06, y: ROW_START + 4.41, w: CW[3] - 0.12, h: 1.45,
fontSize: 5.5, color: "333333", fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
}
);
// ── BOTTOM FOOTER BAR ────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 7.33, w: 13.3, h: 0.17,
fill: { color: DARK_HDR }
});
slide.addText("BMD & Exercise Study | BMS5005 | 2026", {
x: 0, y: 7.33, w: 13.3, h: 0.17,
fontSize: 6, color: WHITE, fontFace: "Calibri",
align: "center", valign: "middle", margin: 0
});
// ── WRITE FILE ───────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/bmd-poster/BMD_Exercise_Poster.pptx" })
.then(() => console.log("DONE: /home/daytona/workspace/bmd-poster/BMD_Exercise_Poster.pptx"))
.catch(e => { console.error(e); process.exit(1); });
cd /home/daytona/workspace/bmd-poster && node make_poster.js 2>&1
cd /home/daytona/workspace/bmd-poster && node /home/daytona/skills/shared/scripts/fetch_images.js "https://cdn.orris.care/cdss_images/pmc_clinical_VQA_bff809af5f7106f60fc43989d47d7f8f0d92f31167cd8de8dadcc1402cdb7b05.jpg" "https://cdn.orris.care/cdss_images/pmc_clinical_VQA_be5a207e07f96407b4e0c26ffdf9157354aa3ddc2ac93003f9b04d62b7ae7d01.jpg" > imgs.json 2>&1; echo "EXIT:$?"
curl -s --max-time 15 -o /home/daytona/workspace/bmd-poster/dxa.jpg "https://cdn.orris.care/cdss_images/pmc_clinical_VQA_bff809af5f7106f60fc43989d47d7f8f0d92f31167cd8de8dadcc1402cdb7b05.jpg" && echo "DXA OK" && curl -s --max-time 15 -o /home/daytona/workspace/bmd-poster/exercise.jpg "https://cdn.orris.care/cdss_images/pmc_clinical_VQA_be5a207e07f96407b4e0c26ffdf9157354aa3ddc2ac93003f9b04d62b7ae7d01.jpg" && echo "EX OK"
~/bmd-poster/make_poster.js
const pptxgen = require("pptxgenjs");
const pres = new pptxgen();
pres.layout = "LAYOUT_WIDE"; // 13.3" x 7.5"
pres.title = "Effect of Exercise on Bone Mineral Density";
const slide = pres.addSlide();
// ── COLOUR PALETTE ──────────────────────────────────────────
const TEAL = "1A5276";
const GREEN = "117A65";
const BLUE = "2E86C1";
const LIGHT_BG = "EAF4FB";
const ALT_BG = "E8F8F5";
const DARK_HDR = "154360";
const TEXT = "1C2833";
const WHITE = "FFFFFF";
const ACCENT = "F39C12";
// ── BACKGROUND ──────────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 7.5,
fill: { color: "F0F8FF" }
});
// ── TOP HEADER BAR ──────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0, w: 13.3, h: 0.85,
fill: { color: DARK_HDR }
});
slide.addText("The Effect of Exercise on Bone Mineral Density Across Different Age and Gender Groups", {
x: 0.15, y: 0.05, w: 12.1, h: 0.6,
fontSize: 17, bold: true, color: WHITE,
fontFace: "Calibri", align: "center", valign: "middle", margin: 0
});
// Sub-header strip
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 0.85, w: 13.3, h: 0.3,
fill: { color: BLUE }
});
slide.addText("BMS5005 Research Methods | Birmingham City University | May 2026", {
x: 0, y: 0.85, w: 13.3, h: 0.3,
fontSize: 8.5, color: WHITE, fontFace: "Calibri",
align: "center", valign: "middle", margin: 0
});
// ── HELPER: section header ──────────────────────────────────
function secHeader(x, y, w, label, color) {
slide.addShape(pres.ShapeType.rect, { x, y, w, h: 0.26, fill: { color } });
slide.addText(label, {
x: x + 0.05, y, w: w - 0.1, h: 0.26,
fontSize: 8.5, bold: true, color: WHITE,
fontFace: "Calibri", valign: "middle", margin: 0
});
}
// ── HELPER: panel background ────────────────────────────────
function panel(x, y, w, h, color) {
slide.addShape(pres.ShapeType.rect, {
x, y, w, h, fill: { color },
line: { color: "C0D8E8", width: 0.5 }
});
}
// ── COLUMN LAYOUT ────────────────────────────────────────────
const COL = [0.12, 3.25, 6.38, 9.5];
const CW = [3.0, 3.0, 3.0, 3.67];
const RS = 1.22; // row start
// ════════════════════════════════════════════════════════════
// COLUMN 1: INTRODUCTION + AIMS + EXPECTED RESULTS
// ════════════════════════════════════════════════════════════
secHeader(COL[0], RS, CW[0], "INTRODUCTION", TEAL);
panel(COL[0], RS + 0.26, CW[0], 2.4, LIGHT_BG);
slide.addText(
"Exercise is fundamental for maintaining bone strength and preventing osteoporosis and fractures, particularly in women whose bones begin to weaken after peak bone mass is reached at approximately age 30 (Rizzoli et al., 2010). The decline in bone mineral density (BMD) accelerates after menopause due to falling oestrogen levels, placing post-menopausal women at elevated fracture risk.\n\nOsteoporosis is a systemic skeletal disease characterised by low bone mass and micro-architectural deterioration of bone tissue, leading to increased fragility and fracture susceptibility (Giangregorio et al., 2014). Physical activity — particularly weight-bearing and resistance exercise — is one of the most effective non-pharmacological interventions to stimulate bone remodelling and preserve BMD (Royal Osteoporosis Society, n.d.).",
{
x: COL[0] + 0.06, y: RS + 0.3, w: CW[0] - 0.12, h: 2.3,
fontSize: 6.8, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
}
);
secHeader(COL[0], RS + 2.72, CW[0], "AIMS & HYPOTHESES", GREEN);
panel(COL[0], RS + 2.98, CW[0], 1.4, ALT_BG);
slide.addText([
{ text: "Aim: ", options: { bold: true, color: TEAL } },
{ text: "To investigate how exercise affects BMD in different age and gender groups over 12 months.\n\n", options: {} },
{ text: "Hypothesis: ", options: { bold: true, color: TEAL } },
{ text: "A combined resistance and impact exercise programme will significantly increase BMD, with the greatest gains in pre-menopausal women and younger adult males.", options: {} }
], {
x: COL[0] + 0.06, y: RS + 3.01, w: CW[0] - 0.12, h: 1.33,
fontSize: 6.8, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
secHeader(COL[0], RS + 4.44, CW[0], "EXPECTED RESULTS", ACCENT);
panel(COL[0], RS + 4.70, CW[0], 1.19, "FFF9E6");
slide.addText([
{ text: "• Pre-menopausal women (30–40 yrs): ", options: { bold: true } },
{ text: "~1–2% BMD increase\n", options: {} },
{ text: "• Young adult males (30–40 yrs): ", options: { bold: true } },
{ text: "~1–2% BMD increase\n", options: {} },
{ text: "• Post-menopausal women (40–50 yrs): ", options: { bold: true } },
{ text: "Smaller gains due to hormonal changes\n", options: {} },
{ text: "• Older males (40–50 yrs): ", options: { bold: true } },
{ text: "Smaller increases than younger males\n\n", options: {} },
{ text: "Findings will highlight the importance of early exercise before BMD naturally declines.", options: { italic: true, color: "555555" } }
], {
x: COL[0] + 0.06, y: RS + 4.73, w: CW[0] - 0.12, h: 1.12,
fontSize: 6.5, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// ════════════════════════════════════════════════════════════
// COLUMN 2: METHOD + FIGURE 1
// ════════════════════════════════════════════════════════════
secHeader(COL[1], RS, CW[1], "METHOD", TEAL);
panel(COL[1], RS + 0.26, CW[1], 3.2, LIGHT_BG);
slide.addText([
{ text: "Study Design & Participants\n", options: { bold: true, color: TEAL, breakLine: true } },
{ text: "A 12-month longitudinal randomised study. 120 participants from church communities randomly allocated to four groups (n=30 each):\n\n", options: {} },
{ text: "Group 1: ", options: { bold: true } }, { text: "Pre-menopausal women (30–40 yrs)\n", options: {} },
{ text: "Group 2: ", options: { bold: true } }, { text: "Post-menopausal women (40–50 yrs)\n", options: {} },
{ text: "Group 3: ", options: { bold: true } }, { text: "Young adult males (30–40 yrs)\n", options: {} },
{ text: "Group 4: ", options: { bold: true } }, { text: "Older adult males (40–50 yrs)\n\n", options: {} },
{ text: "Inclusion criteria: ", options: { bold: true } },
{ text: "Generally healthy, no current exercise programme. All participants supplement 1,000 mg calcium + 800 IU vitamin D daily to control dietary confounders (Weaver et al., 2015).\n\n", options: {} },
{ text: "BMD Measurement\n", options: { bold: true, color: TEAL, breakLine: true } },
{ text: "BMD measured at the hip and lumbar spine using DXA — the gold standard for bone density assessment (Albano et al., 2020; Cleveland Clinic, 2020). DXA uses two low-dose X-ray beams to calculate bone mineral content from differential radiation absorption. Measurements at baseline, 6 months, and 12 months (Garg and Kharb, 2013; Lewiecki and Lane, 2008).", options: {} }
], {
x: COL[1] + 0.06, y: RS + 0.3, w: CW[1] - 0.12, h: 3.1,
fontSize: 6.7, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// Figure 1 - DXA
panel(COL[1], RS + 3.52, CW[1], 2.38, "EBF5FB");
slide.addImage({
path: "/home/daytona/workspace/bmd-poster/dxa.jpg",
x: COL[1] + 0.32, y: RS + 3.56, w: 2.36, h: 1.6
});
slide.addText(
"Figure 1. DXA scans illustrating BMD measurement at the hip (A), forearm (B), and total body (C). Red regions of interest (ROI) are used to calculate T-scores for osteoporosis diagnosis (Source: PMC Clinical VQA).",
{
x: COL[1] + 0.06, y: RS + 5.2, w: CW[1] - 0.12, h: 0.62,
fontSize: 5.8, color: "444444", fontFace: "Calibri",
align: "center", italic: true, valign: "top", margin: 0, wrap: true
}
);
// ════════════════════════════════════════════════════════════
// COLUMN 3: EXERCISE PROTOCOL + FIGURE 2 + STATISTICS
// ════════════════════════════════════════════════════════════
secHeader(COL[2], RS, CW[2], "EXERCISE PROTOCOL", TEAL);
panel(COL[2], RS + 0.26, CW[2], 2.18, LIGHT_BG);
slide.addText([
{ text: "Combined Resistance + Impact Training\n", options: { bold: true, color: TEAL, breakLine: true } },
{ text: "All participants follow an identical standardised programme (Hinton, Nigh and Thyfault, 2015; Giangregorio et al., 2014):\n\n", options: {} },
{ text: "Resistance Training (3×/week):\n", options: { bold: true } },
{ text: "Squats, lunges, deadlifts with progressive overload. Targets large lower-limb muscle groups to apply mechanical load to the femur and lumbar spine.\n\n", options: {} },
{ text: "Impact Training (2×/week):\n", options: { bold: true } },
{ text: "Hopping, drop jumps, and plyometric exercises. Ground reaction forces stimulate osteoblast activity, promoting new bone formation (Royal Osteoporosis Society, n.d.).", options: {} }
], {
x: COL[2] + 0.06, y: RS + 0.3, w: CW[2] - 0.12, h: 2.1,
fontSize: 6.7, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// Figure 2 - Exercise
panel(COL[2], RS + 2.5, CW[2], 2.12, "EBF5FB");
slide.addImage({
path: "/home/daytona/workspace/bmd-poster/exercise.jpg",
x: COL[2] + 0.22, y: RS + 2.54, w: 2.56, h: 1.55
});
slide.addText(
"Figure 2. Resistance training exercises (weighted lunges and squats) forming part of the exercise protocol to apply mechanical load to bone tissue and stimulate BMD improvement (Hinton, Nigh and Thyfault, 2015; Source: PMC Clinical VQA).",
{
x: COL[2] + 0.06, y: RS + 4.12, w: CW[2] - 0.12, h: 0.58,
fontSize: 5.8, color: "444444", fontFace: "Calibri",
align: "center", italic: true, valign: "top", margin: 0, wrap: true
}
);
// Statistics
secHeader(COL[2], RS + 4.76, CW[2], "STATISTICAL ANALYSIS", GREEN);
panel(COL[2], RS + 5.02, CW[2], 0.88, ALT_BG);
slide.addText([
{ text: "Two-way ANOVA: ", options: { bold: true } },
{ text: "Compares BMD changes across all four groups, testing for interaction effects between gender and age (Qualtrics, 2023; Nahm, 2017). p<0.05 considered significant.\n", options: {} },
{ text: "Tukey's Post Hoc Test: ", options: { bold: true } },
{ text: "Identifies which specific group pairs differ after ANOVA (Abdi and Williams, 2010; Frost, 2019).", options: {} }
], {
x: COL[2] + 0.06, y: RS + 5.05, w: CW[2] - 0.12, h: 0.82,
fontSize: 6.6, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// ════════════════════════════════════════════════════════════
// COLUMN 4: ETHICS + RISK + REFERENCES
// ════════════════════════════════════════════════════════════
secHeader(COL[3], RS, CW[3], "ETHICAL CONSIDERATIONS", TEAL);
panel(COL[3], RS + 0.26, CW[3], 2.14, LIGHT_BG);
slide.addText([
{ text: "Ethical approval will be sought from the University Ethics Committee prior to study commencement. All participants will receive a written information sheet and provide informed consent, retaining the right to withdraw at any time without penalty.\n\n", options: {} },
{ text: "Confidentiality & Data Protection: ", options: { bold: true } },
{ text: "All data anonymised and stored securely in line with GDPR. Raw data destroyed after five years.\n\n", options: {} },
{ text: "Inclusion & Equity: ", options: { bold: true } },
{ text: "Diverse recruitment across church communities; no discrimination on religion, ethnicity or background.\n\n", options: {} },
{ text: "Participant Welfare: ", options: { bold: true } },
{ text: "All exercise sessions supervised by qualified personnel. Supplement doses within safe clinical guidelines (Weaver et al., 2015).", options: {} }
], {
x: COL[3] + 0.06, y: RS + 0.3, w: CW[3] - 0.12, h: 2.07,
fontSize: 6.6, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
secHeader(COL[3], RS + 2.46, CW[3], "RISK ASSESSMENT", GREEN);
panel(COL[3], RS + 2.72, CW[3], 1.42, ALT_BG);
slide.addText([
{ text: "Musculoskeletal injury: ", options: { bold: true } },
{ text: "Minimised by progressive loading, standardised warm-up/cool-down, and trained session supervisors. All participants complete a PAR-Q health screening questionnaire.\n\n", options: {} },
{ text: "DXA radiation exposure: ", options: { bold: true } },
{ text: "Minimal (<1 μSv per scan), well within safety limits. Operator errors mitigated by trained radiographers using standardised positioning (Albano et al., 2020).\n\n", options: {} },
{ text: "Data integrity: ", options: { bold: true } },
{ text: "Intention-to-treat analysis applied to account for participant withdrawal and missing data.", options: {} }
], {
x: COL[3] + 0.06, y: RS + 2.75, w: CW[3] - 0.12, h: 1.36,
fontSize: 6.6, color: TEXT, fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
});
// References
secHeader(COL[3], RS + 4.2, CW[3], "REFERENCES", DARK_HDR);
panel(COL[3], RS + 4.46, CW[3], 1.44, "EEF2F7");
slide.addText(
"Abdi, H. & Williams, L. (2010) Encyclopedia of Research Design.\n" +
"Albano, D. et al. (2020) Academic Radiology. doi:10.1016/j.acra.2020.07.028\n" +
"Cleveland Clinic (2020) DEXA scan. my.clevelandclinic.org [Acc. 28/04/26]\n" +
"Frost, J. (2019) Post hoc tests with ANOVA. statisticsbyjim.com [Acc. 17/04/26]\n" +
"Garg, M. & Kharb, S. (2013) Indian J Endocrinol Metab, 17(2):203. doi:10.4103/2230-8210.109659\n" +
"Giangregorio, L. et al. (2014) pmc.ncbi.nlm.nih.gov/PMC3891842 [Acc. 17/04/26]\n" +
"Hinton, P.S., Nigh, P. & Thyfault, J. (2015) Bone, 79:203–212. doi:10.1016/j.bone.2015.06.008\n" +
"Lewiecki, E.M. & Lane, N.E. (2008) Nat Clin Pract Rheumatol, 4(12):667–674.\n" +
"Nahm, F.S. (2017) Korean J Pain, 30(4):241. doi:10.3344/kjp.2017.30.4.241\n" +
"Qualtrics (2023) What is ANOVA? qualtrics.com [Acc. 28/04/26]\n" +
"Royal Osteoporosis Society (n.d.) Exercise for bones. theros.org.uk [Acc. 17/04/26]\n" +
"Weaver, C.M. et al. (2015) Osteoporos Int, 27(1):367–376. doi:10.1007/s00198-015-3386-5",
{
x: COL[3] + 0.06, y: RS + 4.49, w: CW[3] - 0.12, h: 1.38,
fontSize: 5.5, color: "333333", fontFace: "Calibri",
align: "left", valign: "top", margin: 0, wrap: true
}
);
// ── BOTTOM FOOTER ─────────────────────────────────────────────
slide.addShape(pres.ShapeType.rect, {
x: 0, y: 7.33, w: 13.3, h: 0.17,
fill: { color: DARK_HDR }
});
slide.addText("BMD & Exercise Study | BMS5005 Research Methods | Birmingham City University | 2026", {
x: 0, y: 7.33, w: 13.3, h: 0.17,
fontSize: 6, color: WHITE, fontFace: "Calibri",
align: "center", valign: "middle", margin: 0
});
// ── WRITE FILE ──────────────────────────────────────────────
pres.writeFile({ fileName: "/home/daytona/workspace/bmd-poster/BMD_Exercise_Poster.pptx" })
.then(() => console.log("DONE"))
.catch(e => { console.error(e); process.exit(1); });
~/bmd-poster/make_poster.js
Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/bmd-poster/make_poster.js'
cat > /home/daytona/workspace/bmd-poster/make_poster.js << 'SCRIPTEOF' const pptxgen = require("pptxgenjs"); const pres = new pptxgen(); pres.layout = "LAYOUT_WIDE"; pres.title = "Effect of Exercise on Bone Mineral Density"; const slide = pres.addSlide(); const TEAL="1A5276",GREEN="117A65",BLUE="2E86C1",LIGHT_BG="EAF4FB",ALT_BG="E8F8F5",DARK_HDR="154360",TEXT="1C2833",WHITE="FFFFFF",ACCENT="F39C12"; slide.addShape(pres.ShapeType.rect,{x:0,y:0,w:13.3,h:7.5,fill:{color:"F0F8FF"}}); slide.addShape(pres.ShapeType.rect,{x:0,y:0,w:13.3,h:0.85,fill:{color:DARK_HDR}}); slide.addText("The Effect of Exercise on Bone Mineral Density Across Different Age and Gender Groups",{x:0.15,y:0.05,w:12.1,h:0.6,fontSize:17,bold:true,color:WHITE,fontFace:"Calibri",align:"center",valign:"middle",margin:0}); slide.addShape(pres.ShapeType.rect,{x:0,y:0.85,w:13.3,h:0.3,fill:{color:BLUE}}); slide.addText("BMS5005 Research Methods | Birmingham City University | May 2026",{x:0,y:0.85,w:13.3,h:0.3,fontSize:8.5,color:WHITE,fontFace:"Calibri",align:"center",valign:"middle",margin:0}); function sh(x,y,w,label,color){slide.addShape(pres.ShapeType.rect,{x,y,w,h:0.26,fill:{color}});slide.addText(label,{x:x+0.05,y,w:w-0.1,h:0.26,fontSize:8.5,bold:true,color:WHITE,fontFace:"Calibri",valign:"middle",margin:0});} function pn(x,y,w,h,color){slide.addShape(pres.ShapeType.rect,{x,y,w,h,fill:{color},line:{color:"C0D8E8",width:0.5}});} const COL=[0.12,3.25,6.38,9.5],CW=[3.0,3.0,3.0,3.67],RS=1.22; // COL 1 sh(COL[0],RS,CW[0],"INTRODUCTION",TEAL); pn(COL[0],RS+0.26,CW[0],2.4,LIGHT_BG); slide.addText("Exercise is fundamental for maintaining bone strength and preventing osteoporosis and fractures, particularly in women whose bones begin to weaken after peak bone mass is reached at approximately age 30 (Rizzoli et al., 2010). The decline in BMD accelerates after menopause due to falling oestrogen levels, placing post-menopausal women at elevated fracture risk.\n\nOsteoporosis is a systemic skeletal disease characterised by low bone mass and micro-architectural deterioration of bone tissue, leading to increased fragility and fracture susceptibility (Giangregorio et al., 2014). Physical activity — particularly weight-bearing and resistance exercise — is one of the most effective non-pharmacological interventions to stimulate bone remodelling and preserve BMD (Royal Osteoporosis Society, n.d.).",{x:COL[0]+0.06,y:RS+0.3,w:CW[0]-0.12,h:2.3,fontSize:6.8,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); sh(COL[0],RS+2.72,CW[0],"AIMS & HYPOTHESES",GREEN); pn(COL[0],RS+2.98,CW[0],1.4,ALT_BG); slide.addText([{text:"Aim: ",options:{bold:true,color:TEAL}},{text:"To investigate how exercise affects BMD across different age and gender groups over 12 months.\n\n",options:{}},{text:"Hypothesis: ",options:{bold:true,color:TEAL}},{text:"A combined resistance and impact exercise programme will significantly increase BMD, with the greatest gains in pre-menopausal women and younger adult males compared to post-menopausal women and older males.",options:{}}],{x:COL[0]+0.06,y:RS+3.01,w:CW[0]-0.12,h:1.33,fontSize:6.8,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); sh(COL[0],RS+4.44,CW[0],"EXPECTED RESULTS",ACCENT); pn(COL[0],RS+4.70,CW[0],1.19,"FFF9E6"); slide.addText([{text:"• Pre-menopausal women (30–40 yrs): ",options:{bold:true}},{text:"~1–2% BMD increase\n",options:{}},{text:"• Young adult males (30–40 yrs): ",options:{bold:true}},{text:"~1–2% BMD increase\n",options:{}},{text:"• Post-menopausal women (40–50 yrs): ",options:{bold:true}},{text:"Smaller gains due to hormonal changes\n",options:{}},{text:"• Older males (40–50 yrs): ",options:{bold:true}},{text:"Smaller increases than younger males\n\n",options:{}},{text:"Findings will highlight the importance of early exercise before BMD declines with age.",options:{italic:true,color:"555555"}}],{x:COL[0]+0.06,y:RS+4.73,w:CW[0]-0.12,h:1.12,fontSize:6.5,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); // COL 2 sh(COL[1],RS,CW[1],"METHOD",TEAL); pn(COL[1],RS+0.26,CW[1],3.2,LIGHT_BG); slide.addText([{text:"Study Design & Participants\n",options:{bold:true,color:TEAL,breakLine:true}},{text:"A 12-month longitudinal randomised study. 120 participants from church communities randomly allocated to four groups (n=30 each):\n\n",options:{}},{text:"Group 1: ",options:{bold:true}},{text:"Pre-menopausal women (30–40 yrs)\n",options:{}},{text:"Group 2: ",options:{bold:true}},{text:"Post-menopausal women (40–50 yrs)\n",options:{}},{text:"Group 3: ",options:{bold:true}},{text:"Young adult males (30–40 yrs)\n",options:{}},{text:"Group 4: ",options:{bold:true}},{text:"Older adult males (40–50 yrs)\n\n",options:{}},{text:"Inclusion criteria: ",options:{bold:true}},{text:"Generally healthy, no current exercise programme. All participants supplement 1,000 mg calcium + 800 IU vitamin D daily to control dietary confounders (Weaver et al., 2015).\n\n",options:{}},{text:"BMD Measurement\n",options:{bold:true,color:TEAL,breakLine:true}},{text:"BMD measured at the hip and lumbar spine using DXA — the gold standard for bone density assessment (Albano et al., 2020; Cleveland Clinic, 2020). DXA uses two low-dose X-ray beams to calculate bone mineral content from differential radiation absorption by bone vs soft tissue. Measurements taken at baseline, 6 months, and 12 months (Garg and Kharb, 2013; Lewiecki and Lane, 2008).",options:{}}],{x:COL[1]+0.06,y:RS+0.3,w:CW[1]-0.12,h:3.1,fontSize:6.7,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); pn(COL[1],RS+3.52,CW[1],2.38,"EBF5FB"); slide.addImage({path:"/home/daytona/workspace/bmd-poster/dxa.jpg",x:COL[1]+0.32,y:RS+3.56,w:2.36,h:1.6}); slide.addText("Figure 1. DXA scans illustrating BMD measurement at the hip (A), forearm (B), and total body (C). Red regions of interest (ROI) are used to calculate T-scores for osteoporosis diagnosis. (Source: PMC Clinical VQA dataset)",{x:COL[1]+0.06,y:RS+5.2,w:CW[1]-0.12,h:0.62,fontSize:5.8,color:"444444",fontFace:"Calibri",align:"center",italic:true,valign:"top",margin:0,wrap:true}); // COL 3 sh(COL[2],RS,CW[2],"EXERCISE PROTOCOL",TEAL); pn(COL[2],RS+0.26,CW[2],2.18,LIGHT_BG); slide.addText([{text:"Combined Resistance + Impact Training\n",options:{bold:true,color:TEAL,breakLine:true}},{text:"All participants follow an identical standardised programme (Hinton, Nigh and Thyfault, 2015; Giangregorio et al., 2014):\n\n",options:{}},{text:"Resistance Training (3×/week):\n",options:{bold:true}},{text:"Squats, lunges, deadlifts with progressive overload. Targets large lower-limb muscle groups to apply mechanical load to the femur and spine.\n\n",options:{}},{text:"Impact Training (2×/week):\n",options:{bold:true}},{text:"Hopping, drop jumps, and plyometric exercises. Ground reaction forces stimulate osteoblast activity, promoting new bone formation (Royal Osteoporosis Society, n.d.).",options:{}}],{x:COL[2]+0.06,y:RS+0.3,w:CW[2]-0.12,h:2.1,fontSize:6.7,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); pn(COL[2],RS+2.5,CW[2],2.12,"EBF5FB"); slide.addImage({path:"/home/daytona/workspace/bmd-poster/exercise.jpg",x:COL[2]+0.22,y:RS+2.54,w:2.56,h:1.55}); slide.addText("Figure 2. Resistance training exercises (weighted squats, lunges, and calf raises) forming part of the exercise protocol to apply mechanical load to bone and stimulate BMD improvement (Hinton, Nigh and Thyfault, 2015; Source: PMC Clinical VQA).",{x:COL[2]+0.06,y:RS+4.12,w:CW[2]-0.12,h:0.58,fontSize:5.8,color:"444444",fontFace:"Calibri",align:"center",italic:true,valign:"top",margin:0,wrap:true}); sh(COL[2],RS+4.76,CW[2],"STATISTICAL ANALYSIS",GREEN); pn(COL[2],RS+5.02,CW[2],0.88,ALT_BG); slide.addText([{text:"Two-way ANOVA: ",options:{bold:true}},{text:"Compares BMD changes across all four groups, testing for interaction effects between gender and age (Qualtrics, 2023; Nahm, 2017). p<0.05 considered significant.\n",options:{}},{text:"Tukey's Post Hoc Test: ",options:{bold:true}},{text:"Identifies which specific group pairs differ significantly after ANOVA (Abdi and Williams, 2010; Frost, 2019).",options:{}}],{x:COL[2]+0.06,y:RS+5.05,w:CW[2]-0.12,h:0.82,fontSize:6.6,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); // COL 4 sh(COL[3],RS,CW[3],"ETHICAL CONSIDERATIONS",TEAL); pn(COL[3],RS+0.26,CW[3],2.14,LIGHT_BG); slide.addText([{text:"Ethical approval will be sought from the University Ethics Committee prior to study commencement. All participants will receive a written participant information sheet and provide informed consent, retaining the right to withdraw at any time without penalty.\n\n",options:{}},{text:"Confidentiality & Data Protection: ",options:{bold:true}},{text:"All data anonymised and stored securely in line with GDPR. Raw data destroyed after five years.\n\n",options:{}},{text:"Inclusion & Equity: ",options:{bold:true}},{text:"Diverse recruitment across church communities; no discrimination on religion, ethnicity or background.\n\n",options:{}},{text:"Participant Welfare: ",options:{bold:true}},{text:"All exercise sessions supervised by qualified personnel. Supplement doses within safe clinical guidelines (Weaver et al., 2015).",options:{}}],{x:COL[3]+0.06,y:RS+0.3,w:CW[3]-0.12,h:2.07,fontSize:6.6,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); sh(COL[3],RS+2.46,CW[3],"RISK ASSESSMENT",GREEN); pn(COL[3],RS+2.72,CW[3],1.42,ALT_BG); slide.addText([{text:"Musculoskeletal injury: ",options:{bold:true}},{text:"Minimised by progressive loading, standardised warm-up/cool-down, and trained supervisors. All participants complete a PAR-Q health screening questionnaire pre-study.\n\n",options:{}},{text:"DXA radiation exposure: ",options:{bold:true}},{text:"Minimal (<1 μSv per scan), well within safety limits. Operator errors mitigated by trained radiographers using standardised positioning protocols (Albano et al., 2020).\n\n",options:{}},{text:"Data integrity: ",options:{bold:true}},{text:"Intention-to-treat analysis applied to account for participant withdrawal and missing data.",options:{}}],{x:COL[3]+0.06,y:RS+2.75,w:CW[3]-0.12,h:1.36,fontSize:6.6,color:TEXT,fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); sh(COL[3],RS+4.2,CW[3],"REFERENCES",DARK_HDR); pn(COL[3],RS+4.46,CW[3],1.44,"EEF2F7"); slide.addText("Abdi, H. & Williams, L. (2010) Encyclopedia of Research Design.\nAlbano, D. et al. (2020) Academic Radiology. doi:10.1016/j.acra.2020.07.028\nCleveland Clinic (2020) DEXA scan. my.clevelandclinic.org [Acc. 28/04/26]\nFrost, J. (2019) Post hoc tests with ANOVA. statisticsbyjim.com [Acc. 17/04/26]\nGarg, M. & Kharb, S. (2013) Indian J Endocrinol Metab, 17(2):203.\nGiangregorio, L. et al. (2014) pmc.ncbi.nlm.nih.gov/PMC3891842\nHinton, P.S., Nigh, P. & Thyfault, J. (2015) Bone, 79:203-212.\nLewiecki, E.M. & Lane, N.E. (2008) Nat Clin Pract Rheumatol, 4(12):667-674.\nNahm, F.S. (2017) Korean J Pain, 30(4):241. doi:10.3344/kjp.2017.30.4.241\nQualtrics (2023) What is ANOVA? qualtrics.com [Acc. 28/04/26]\nRoyal Osteoporosis Society (n.d.) Exercise for bones. theros.org.uk [Acc. 17/04/26]\nWeaver, C.M. et al. (2015) Osteoporos Int, 27(1):367-376.",{x:COL[3]+0.06,y:RS+4.49,w:CW[3]-0.12,h:1.38,fontSize:5.5,color:"333333",fontFace:"Calibri",align:"left",valign:"top",margin:0,wrap:true}); slide.addShape(pres.ShapeType.rect,{x:0,y:7.33,w:13.3,h:0.17,fill:{color:DARK_HDR}}); slide.addText("BMD & Exercise Study | BMS5005 Research Methods | Birmingham City University | 2026",{x:0,y:7.33,w:13.3,h:0.17,fontSize:6,color:WHITE,fontFace:"Calibri",align:"center",valign:"middle",margin:0}); pres.writeFile({fileName:"/home/daytona/workspace/bmd-poster/BMD_Exercise_Poster.pptx"}) .then(()=>console.log("DONE")) .catch(e=>{console.error(e);process.exit(1);}); SCRIPTEOF echo "Script written"
cd /home/daytona/workspace/bmd-poster && node make_poster.js 2>&1