Here is my cerebellum notes of first 2 pages of my textbook so can u build me a beautiful colourful notes of the cerebellum
ls -la /home/daytona/workspace/ 2>/dev/null || echo "workspace not found"
mkdir -p /home/daytona/workspace/cerebellum-notes
~/cerebellum-notes/cerebellum.js
const pptxgen = require("pptxgenjs");
let pres = new pptxgen();
pres.layout = 'LAYOUT_WIDE'; // 13.3" x 7.5"
pres.title = 'Cerebellum - Chapter 132';
// โโโ COLOUR PALETTE โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
const C = {
darkBg: "0D1B2A", // deep navy - title / accent slides
midBg: "1B2B40", // mid navy
white: "FFFFFF",
gold: "F5A623", // warm gold - headers
cyan: "00C9C8", // teal-cyan - subheadings
pink: "FF6B9D", // vibrant pink - highlights
lime: "A8D96B", // lime green - bullets
purple: "9B59B6", // purple - deep nuclei
orange: "F39C12", // orange - connections
lightBlue: "5DADE2", // sky blue - histology
red: "E74C3C", // red - important terms
cream: "FFF8E7", // cream - content boxes bg
softBlue: "EBF5FB", // soft blue - alt content bg
softPink: "FDEEF4", // soft pink - alt content bg
softGreen: "EAFAF1", // soft green - alt content bg
boxBg1: "1A3A5C", // dark blue box
boxBg2: "2D1B4E", // dark purple box
boxBg3: "1A4A3A", // dark green box
boxBg4: "4A1A1A", // dark red box
};
// โโโ HELPER FUNCTIONS โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
function addTitleBanner(slide, title, subtitle) {
// Full bg
slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:13.3, h:7.5, fill:{color:C.darkBg} });
// Top accent strip
slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:13.3, h:0.18, fill:{color:C.gold} });
// Bottom accent strip
slide.addShape(pres.ShapeType.rect, { x:0, y:7.32, w:13.3, h:0.18, fill:{color:C.cyan} });
// Big decorative circle
slide.addShape(pres.ShapeType.ellipse, { x:9.5, y:0.8, w:5, h:5, fill:{color:"0A2440"}, line:{color:"0A2440"} });
slide.addShape(pres.ShapeType.ellipse, { x:9.8, y:1.1, w:4.4, h:4.4, fill:{color:"0D1B2A"}, line:{color:C.gold, width:2} });
// Brain icon text
slide.addText("๐ง ", { x:10.5, y:2.2, w:2, h:2, fontSize:72, align:"center" });
// Title
slide.addText("CEREBELLUM", {
x:0.6, y:1.8, w:8.5, h:1.2,
fontSize:64, bold:true, color:C.gold, fontFace:"Calibri",
charSpacing:6, align:"left"
});
// Subtitle
slide.addText(subtitle, {
x:0.6, y:3.1, w:8.5, h:0.6,
fontSize:22, color:C.cyan, fontFace:"Calibri", italic:true, align:"left"
});
// Chapter tag
slide.addShape(pres.ShapeType.roundRect, { x:0.6, y:3.9, w:2.4, h:0.55, fill:{color:C.gold}, rectRadius:0.12 });
slide.addText("Chapter 132", { x:0.6, y:3.9, w:2.4, h:0.55, fontSize:16, bold:true, color:C.darkBg, align:"center", valign:"middle" });
// Tagline
slide.addText('"The Little Brain โ Master of Motor Coordination"', {
x:0.6, y:5.0, w:8.5, h:0.5,
fontSize:16, color:"AAAAAA", italic:true, align:"left"
});
// Left accent bar
slide.addShape(pres.ShapeType.rect, { x:0, y:1.5, w:0.18, h:4.0, fill:{color:C.pink} });
}
function sectionHeader(slide, title, color, emoji) {
slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:13.3, h:7.5, fill:{color:C.darkBg} });
slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:13.3, h:0.18, fill:{color:color} });
slide.addShape(pres.ShapeType.rect, { x:0, y:7.32, w:13.3, h:0.18, fill:{color:C.cyan} });
slide.addShape(pres.ShapeType.ellipse, { x:4.15, y:0.6, w:5, h:5, fill:{color:"0A2440"}, line:{color:color, width:3} });
slide.addText(emoji, { x:5.4, y:1.5, w:2.5, h:2.5, fontSize:90, align:"center" });
slide.addText(title, {
x:0.5, y:5.0, w:12.3, h:1.3,
fontSize:52, bold:true, color:color, fontFace:"Calibri", align:"center"
});
slide.addShape(pres.ShapeType.rect, { x:2.5, y:6.3, w:8.3, h:0.06, fill:{color:color} });
}
function contentSlide(slide, bgColor) {
slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:13.3, h:7.5, fill:{color:bgColor || C.darkBg} });
slide.addShape(pres.ShapeType.rect, { x:0, y:0, w:13.3, h:0.18, fill:{color:C.gold} });
slide.addShape(pres.ShapeType.rect, { x:0, y:7.32, w:13.3, h:0.18, fill:{color:C.cyan} });
}
function slideTitle(slide, text, color) {
slide.addShape(pres.ShapeType.roundRect, { x:0.35, y:0.28, w:12.6, h:0.72, fill:{color:color || C.boxBg1}, rectRadius:0.12 });
slide.addText(text, {
x:0.35, y:0.28, w:12.6, h:0.72,
fontSize:24, bold:true, color:C.white, align:"center", valign:"middle", fontFace:"Calibri"
});
}
function card(slide, x, y, w, h, headerText, headerColor, bodyLines, bodyTextSize) {
// Card shadow
slide.addShape(pres.ShapeType.roundRect, { x:x+0.06, y:y+0.06, w:w, h:h, fill:{color:"000000"}, rectRadius:0.15, line:{color:"000000"} });
// Card body
slide.addShape(pres.ShapeType.roundRect, { x, y, w, h, fill:{color:"1E3A5C"}, rectRadius:0.15, line:{color:headerColor, width:2} });
// Header bar
slide.addShape(pres.ShapeType.roundRect, { x, y, w, h:0.45, fill:{color:headerColor}, rectRadius:0.15 });
slide.addShape(pres.ShapeType.rect, { x, y:y+0.25, w, h:0.2, fill:{color:headerColor} });
// Header text
slide.addText(headerText, {
x:x+0.1, y, w:w-0.2, h:0.45,
fontSize:13, bold:true, color:C.white, valign:"middle", fontFace:"Calibri"
});
// Body text
const items = bodyLines.map((line, i) => {
if (i < bodyLines.length - 1) {
return { text: line, options: { bullet:{code:"2022"}, color:C.white, fontSize:bodyTextSize||10.5, breakLine:true, paraSpaceAfter:3 } };
}
return { text: line, options: { bullet:{code:"2022"}, color:C.white, fontSize:bodyTextSize||10.5 } };
});
slide.addText(items, {
x:x+0.12, y:y+0.5, w:w-0.22, h:h-0.58,
valign:"top", fontFace:"Calibri"
});
}
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 1 โ TITLE SLIDE
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s1 = pres.addSlide();
addTitleBanner(s1, "CEREBELLUM", "Neurophysiology ยท Section 11");
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 2 โ INTRODUCTION & KEY FACTS
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s2 = pres.addSlide();
contentSlide(s2);
slideTitle(s2, "Introduction to the Cerebellum", C.gold);
// Left big card - what is it
slide2left = [
'"Little brain" โ sits posterior to brainstem',
'Located in the POSTERIOR CRANIAL FOSSA',
'Connected to midbrain via Superior Cerebellar Peduncle',
'Connected to pons via Middle Cerebellar Peduncle',
'Connected to medulla via Inferior Cerebellar Peduncle',
'Surface area = 75% of cerebral cortex',
'Weight = only 10% of cerebral cortex',
'Cortical tissue is highly FOLDED',
];
card(s2, 0.35, 1.1, 5.8, 5.9, "๐ What & Where is the Cerebellum?", C.gold, slide2left, 10.5);
// Right top โ vital functions
let funcLines = [
'Receives inputs of ALL sensory modalities',
'Receives proprioceptive inputs from spinal cord',
'Special sensory: visual, auditory, vestibular inputs',
'Projects to almost all areas of brain involved in control of motor activities',
'Regulates: rate, range, force, direction and termination of movement',
'Damage โ severe incoordination of movement',
];
card(s2, 6.5, 1.1, 6.4, 3.4, "โก Key Functions", C.pink, funcLines, 10.5);
// Right bottom โ two fissures
let fissureLines = [
'Posterolateral fissure: separates flocculonodular lobe from rest',
'Primary fissure: separates anterior lobe from posterior lobe',
];
card(s2, 6.5, 4.8, 6.4, 2.2, "โ๏ธ Two Main Fissures", C.cyan, fissureLines, 11);
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 3 โ SECTION DIVIDER: Functional Divisions
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s3 = pres.addSlide();
sectionHeader(s3, "FUNCTIONAL DIVISIONS", C.cyan, "๐ฏ");
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 4 โ THREE FUNCTIONAL DIVISIONS
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s4 = pres.addSlide();
contentSlide(s4);
slideTitle(s4, "Three Functional Divisions of the Cerebellum", C.cyan);
// Division 1 โ Vestibulocerebellum
card(s4, 0.3, 1.1, 4.1, 5.9,
"1๏ธโฃ VESTIBULOCEREBELLUM",
C.lime,
[
'Also called ARCHICEREBELLUM (phylogenetically oldest)',
'Consists of: Flocculonodular lobe',
'Has reciprocal connection with vestibular nuclei',
'Function: equilibrium + learning-induced changes in vestibulo-ocular reflex',
'Pathway: Medial descending pathways',
'Output: Control of POSTURE',
'Also: Balance & eye movements',
],
10.5
);
// Division 2 โ Spinocerebellum
card(s4, 4.7, 1.1, 4.1, 5.9,
"2๏ธโฃ SPINOCEREBELLUM",
C.orange,
[
'Also called PALEOCEREBELLUM (intermediate in development)',
'Consists of: Vermis + paravermal regions of cerebellum',
'Also called spinocerebellum (receives proprioceptive inputs via spinal cord)',
'Vermal portion โ brainstem areas โ axial & proximal limb muscles',
'Vermal spinocerebellum controls POSTURE',
'Paravermal โ brainstem nuclei โ distal limb muscles',
'Paravermal spinocerebellum controls SKILLED VOLUNTARY MOVEMENTS',
'Smoothes and coordinates movement (compares motor plan vs. performance)',
],
10.5
);
// Division 3 โ Cerebrocerebellum
card(s4, 9.1, 1.1, 4.1, 5.9,
"3๏ธโฃ CEREBROCEREBELLUM",
C.lightBlue,
[
'Also called NEOCEREBELLUM (newest phylogenetically)',
'Consists of: Two main cerebellar hemispheres',
'Connected via pontine nuclei โ also called corticopontocerebellum',
'Interacts with cortex โ planning & programming of movements',
'Involved with motor and premotor cortices',
'Function: Motor planning',
],
10.5
);
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 5 โ FUNCTIONAL HISTOLOGY
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s5 = pres.addSlide();
contentSlide(s5);
slideTitle(s5, "Functional Histology โ Cerebellar Cortex (3 Layers)", C.lightBlue);
// Layer 1
card(s5, 0.3, 1.1, 4.1, 5.9,
"๐ต MOLECULAR LAYER (Outer)",
C.lightBlue,
[
'Contains interneurons:',
' โข Basket cells',
' โข Stellate cells (outer stellate cells)',
'Dendrites of Purkinje cells enter this layer',
'Axons of interneurons project to dendrites of Purkinje cells',
'Purkinje cells receive inputs directly from climbing fibers here',
],
11
);
// Layer 2
card(s5, 4.7, 1.1, 4.1, 5.9,
"๐ก PURKINJE CELL LAYER (Middle)",
C.gold,
[
'Contains Purkinje cells โ LARGEST neurons in cerebellum',
'Extensive dendritic branches',
'ONLY cells that project FROM cortex of cerebellum to deep cerebellar nuclei',
'Connecting link between cerebellar cortex and deep cerebellar nuclei',
'Receive inputs directly from climbing fibers',
'Axons of interneurons of molecular layer project to dendrites of Purkinje cells',
],
11
);
// Layer 3
card(s5, 9.1, 1.1, 4.1, 5.9,
"๐ข GRANULAR LAYER (Inner)",
C.lime,
[
'Contains:',
' โข Granule cells',
' โข Golgi cells (interneurons)',
'Golgi cells project to granule cells and modify granular cell output',
'Granule cells receive inputs from MOSSY FIBERS',
'Granule cells project to: Purkinje cells, basket cells, stellate cells, and Golgi cells via parallel fibers',
],
11
);
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 6 โ DEEP CEREBELLAR NUCLEI
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s6 = pres.addSlide();
contentSlide(s6);
slideTitle(s6, "Deep Cerebellar Nuclei (4 Nuclei)", C.purple);
// Big centre diagram placeholder
slide.addShape = () => {}; // no-op reset
// 4 nucleus cards
card(s6, 0.3, 1.1, 6.0, 2.6,
"๐ด NUCLEUS FASTIGIUS",
C.red,
[
'Present in the DEEP VERMAL PORTION of cerebellum',
'Vermal cortical portion of spinocerebellum projects to fastigial nucleus',
],
12
);
card(s6, 7.0, 1.1, 6.0, 2.6,
"๐ NUCLEUS GLOBOSUS & NUCLEUS EMBOLIFORMIS",
C.orange,
[
'Combinedly known as NUCLEUS INTERPOSITUS',
'Paravermal region of spinocerebellum projects to nucleus interpositus',
],
12
);
card(s6, 0.3, 4.0, 6.0, 3.0,
"๐ฃ NUCLEUS DENTATUS",
C.purple,
[
'Present in the HEMISPHERIC PORTION of cerebellum',
'Receives inputs from neocerebellum',
'Name "dentate" = teeth-like serrated morphology',
'Deep cerebellar nuclei project to different parts of brainstem and thalamus',
'Also known as: Cerebellar Outputs',
],
12
);
// Summary box
s6.addShape(pres.ShapeType.roundRect, { x:7.0, y:4.0, w:6.0, h:3.0, fill:{color:"1E2A1A"}, rectRadius:0.15, line:{color:C.lime, width:2} });
s6.addShape(pres.ShapeType.roundRect, { x:7.0, y:4.0, w:6.0, h:0.45, fill:{color:C.lime}, rectRadius:0.15 });
s6.addShape(pres.ShapeType.rect, { x:7.0, y:4.25, w:6.0, h:0.2, fill:{color:C.lime} });
s6.addText("๐ Memory Aid โ Medial โ Lateral", {
x:7.1, y:4.0, w:5.8, h:0.45,
fontSize:13, bold:true, color:C.darkBg, valign:"middle", fontFace:"Calibri"
});
s6.addText([
{ text: "Fastigius", options:{bold:true, color:C.red, fontSize:16, breakLine:true} },
{ text: " โ Globosus + Emboliformis (= Interpositus)", options:{color:C.orange, fontSize:14, breakLine:true} },
{ text: " โ Dentatus (most lateral)", options:{color:C.purple, fontSize:14, breakLine:true} },
{ text: " (F-I-D = Fastigius โ Interpositus โ Dentatus)", options:{color:"AAAAAA", fontSize:12, italic:true} },
], { x:7.1, y:4.55, w:5.8, h:2.3, valign:"top", fontFace:"Calibri" });
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 7 โ SECTION DIVIDER: Cerebellar Connections
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s7 = pres.addSlide();
sectionHeader(s7, "CEREBELLAR CONNECTIONS", C.orange, "๐");
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 8 โ CEREBELLAR INPUTS (7 Tracts)
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s8 = pres.addSlide();
contentSlide(s8);
slideTitle(s8, "Cerebellar Inputs โ 7 Main Tracts", C.orange);
// Intro text
s8.addText("Cerebellum receives somatosensory inputs from almost ALL parts of the body and inputs of ALL sensory modalities including special sensory inputs.", {
x:0.35, y:1.05, w:12.6, h:0.5,
fontSize:12, color:C.cyan, italic:true, align:"center", fontFace:"Calibri"
});
// 7 tracts in a grid
const tracts = [
{ num:"1", name:"Vestibulocerebellar Tract", color:C.cyan, info:"Cerebellar receives directly from vestibular apparatus + vestibular nuclei" },
{ num:"2", name:"Dorsal Spinocerebellar Tract", color:C.lime, info:"Proprioceptive + exteroceptive impulses from different parts of body to cerebellum" },
{ num:"3", name:"Ventral Spinocerebellar Tract", color:C.gold, info:"Proprioceptive + exteroceptive impulses from different parts of body" },
{ num:"4", name:"Cuneocerebrellar Tract", color:C.orange, info:"Originates from lateral cuneate nucleus in caudal medulla โ proprioceptive inputs from head and neck" },
{ num:"5", name:"Tectocerebrellar Tract", color:C.pink, info:"Visual info from superior colliculus + auditory info from inferior colliculus" },
{ num:"6", name:"Pontocerebellar Tract", color:C.lightBlue, info:"Impulses from motor cortex reach cerebellum via pontine nuclei" },
{ num:"7", name:"Olivocerebellar Tract", color:C.purple, info:"Proprioceptive inputs from whole body via inferior olive โ projects to cerebellum via CLIMBING FIBERS" },
];
const cols = [0.3, 4.55, 8.8];
const rows = [1.7, 3.5, 5.3];
tracts.forEach((t, i) => {
const col = i < 3 ? cols[i] : i < 6 ? cols[i-3] : cols[1];
const row = i < 3 ? rows[0] : i < 6 ? rows[1] : rows[2];
const w = i === 6 ? 4.1 : 4.1;
s8.addShape(pres.ShapeType.roundRect, { x:col, y:row, w:4.1, h:1.65, fill:{color:"1E2C3A"}, rectRadius:0.12, line:{color:t.color, width:2} });
s8.addShape(pres.ShapeType.roundRect, { x:col, y:row, w:4.1, h:0.4, fill:{color:t.color}, rectRadius:0.12 });
s8.addShape(pres.ShapeType.rect, { x:col, y:row+0.2, w:4.1, h:0.2, fill:{color:t.color} });
s8.addText(`${t.num}. ${t.name}`, { x:col+0.1, y:row, w:3.9, h:0.4, fontSize:12, bold:true, color:C.darkBg, valign:"middle" });
s8.addText(t.info, { x:col+0.12, y:row+0.42, w:3.86, h:1.18, fontSize:10.5, color:C.white, valign:"top", fontFace:"Calibri" });
});
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 9 โ MODE OF INPUTS
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s9 = pres.addSlide();
contentSlide(s9);
slideTitle(s9, "Mode of Cerebellar Inputs โ 3 Fiber Types", C.pink);
// 3 big cards
card(s9, 0.3, 1.1, 4.0, 5.9,
"๐ฟ MOSSY FIBERS",
C.lime,
[
'MAJOR source of inputs to cerebellum',
'Carry DIRECT proprioceptive inputs from all parts of body',
'Also convey input from CEREBRAL CORTEX',
'Project mainly to GRANULE CELLS',
'Mossy fibers come via multiple tracts',
],
12
);
card(s9, 4.65, 1.1, 4.0, 5.9,
"๐ง CLIMBING FIBERS",
C.orange,
[
'Convey inputs from INFERIOR OLIVARY NUCLEUS',
'Inferior olive receives proprioceptive input from all parts of body',
'Also receives from: vestibular system, spinal cord, and cerebral cortex',
'Project to PURKINJE CELLS of cerebellum',
'Inferior olivary nucleus is located in the ROSTRAL MEDULLA',
],
12
);
card(s9, 9.0, 1.1, 4.0, 5.9,
"โจ OTHER INPUTS",
C.pink,
[
'Cerebellum receives MONOAMINERGIC inputs:',
' โข Serotonergic inputs โ from nucleus raphe magnus',
' โข Noradrenergic inputs โ from nucleus locus ceruleus',
'Thalamic and other inputs from thalamus and other brain areas',
'These fibers project to the DEEP CEREBELLAR NUCLEI',
],
12
);
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 10 โ CEREBELLAR PEDUNCLES
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s10 = pres.addSlide();
contentSlide(s10);
slideTitle(s10, "Cerebellar Peduncles โ Tracts Summary", C.gold);
// Superior CP
card(s10, 0.3, 1.1, 4.0, 5.9,
"โฌ๏ธ SUPERIOR CP (Brachium Conjunctivum)",
C.gold,
[
'Cerebellotectal',
'Dentatothalamic',
'Dentatotubral',
'Cerebellotegmental',
],
13
);
// Middle CP
card(s10, 4.65, 1.1, 4.0, 5.9,
"โก๏ธ MIDDLE CP (Brachium Pontis)",
C.cyan,
[
'Pontocerebrellar',
'(Input from cerebral cortex via pontine nuclei)',
],
13
);
// Inferior CP
card(s10, 9.0, 1.1, 4.0, 5.9,
"โฌ๏ธ INFERIOR CP (Restiform Body)",
C.pink,
[
'Cerebelloreticular',
'Vestibulocerebrellar',
'Olivocerebrellar',
'Arcuocerebrellar',
'Trigeminocerebrellar',
'Cerebellospinal',
'Spinocerebellar',
],
13
);
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// SLIDE 11 โ QUICK REVISION SUMMARY
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
let s11 = pres.addSlide();
contentSlide(s11);
slideTitle(s11, "Quick Revision โ Key Points at a Glance", C.cyan);
// 2 columns
const leftPoints = [
["๐ Location", "Posterior cranial fossa, posterior to brainstem"],
["๐ Peduncles", "Superior (midbrain) / Middle (pons) / Inferior (medulla)"],
["๐ฏ 3 Divisions", "Vestibulocerebellum (archicerebellum), Spinocerebellum (paleocerebellum), Cerebrocerebellum (neocerebellum)"],
["๐ต Cortex Layers", "Molecular (basket+stellate) โ Purkinje cell โ Granular (granule+Golgi)"],
["โญ Key cell", "Purkinje cell = ONLY cell projecting cortex โ deep nuclei"],
];
const rightPoints = [
["๐ฃ Deep Nuclei (MโL)", "Fastigius โ Interpositus (Globosus+Emboliformis) โ Dentatus"],
["๐ฟ Fibers IN", "Mossy fibers (โ granule cells) + Climbing fibers (โ Purkinje cells)"],
["โฌ๏ธ Inferior Olive", "Projects via climbing fibers; receives from vestibular system, spinal cord, cortex"],
["โก Damage โ", "Severe incoordination of movement + postural abnormalities"],
["๐ง Remember", "Cerebellum = 75% cerebral cortex surface, only 10% weight; highly FOLDED"],
];
leftPoints.forEach(([heading, text], i) => {
const y = 1.1 + i * 1.15;
s11.addShape(pres.ShapeType.roundRect, { x:0.3, y, w:6.2, h:1.05, fill:{color:"152535"}, rectRadius:0.1, line:{color:C.gold, width:1.5} });
s11.addText(heading, { x:0.42, y:y+0.03, w:6.0, h:0.36, fontSize:12, bold:true, color:C.gold, fontFace:"Calibri" });
s11.addText(text, { x:0.42, y:y+0.4, w:6.0, h:0.58, fontSize:11, color:C.white, fontFace:"Calibri", valign:"top" });
});
rightPoints.forEach(([heading, text], i) => {
const y = 1.1 + i * 1.15;
s11.addShape(pres.ShapeType.roundRect, { x:6.85, y, w:6.1, h:1.05, fill:{color:"152535"}, rectRadius:0.1, line:{color:C.pink, width:1.5} });
s11.addText(heading, { x:6.97, y:y+0.03, w:5.9, h:0.36, fontSize:12, bold:true, color:C.pink, fontFace:"Calibri" });
s11.addText(text, { x:6.97, y:y+0.4, w:5.9, h:0.58, fontSize:11, color:C.white, fontFace:"Calibri", valign:"top" });
});
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// WRITE FILE
// โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
pres.writeFile({ fileName: "/home/daytona/workspace/cerebellum-notes/Cerebellum_Notes.pptx" })
.then(() => console.log("โ
Done! Cerebellum_Notes.pptx created."))
.catch(e => console.error("โ Error:", e));
cd /home/daytona/workspace/cerebellum-notes && node cerebellum.js 2>&1
~/cerebellum-notes/cerebellum.js
Successfully replaced 1 instance(s) of the string in '/home/daytona/workspace/cerebellum-notes/cerebellum.js'
cd /home/daytona/workspace/cerebellum-notes && node cerebellum.js 2>&1
Cerebellum Notes
Presentation ยท PPTX
| Slide | Content |
|---|---|
| 1 | Title Slide - Deep navy + gold, brain emoji, decorative design |
| 2 | Introduction - What/where + key functions + two main fissures |
| 3 | Section Divider - Functional Divisions |
| 4 | 3 Functional Divisions - Vestibulocerebellum (lime), Spinocerebellum (orange), Cerebrocerebellum (blue) side-by-side |
| 5 | Functional Histology - All 3 cortical layers (Molecular / Purkinje / Granular) with colour coding |
| 6 | Deep Cerebellar Nuclei - All 4 nuclei + memory aid (F-I-D medial to lateral) |
| 7 | Section Divider - Cerebellar Connections |
| 8 | 7 Input Tracts - Grid layout, each tract with its own colour card |
| 9 | Mode of Inputs - Mossy fibers vs Climbing fibers vs Other inputs |
| 10 | Cerebellar Peduncles - Superior / Middle / Inferior with all tracts listed |
| 11 | Quick Revision - 10 key-point cards across 2 columns for fast review |