{"id":1115,"date":"2026-06-18T21:13:47","date_gmt":"2026-06-18T20:13:47","guid":{"rendered":"https:\/\/education.darfur2030.org\/?page_id=1115"},"modified":"2026-06-18T21:13:48","modified_gmt":"2026-06-18T20:13:48","slug":"space-setup-planner","status":"publish","type":"page","link":"https:\/\/education.darfur2030.org\/?page_id=1115","title":{"rendered":"Space &amp; Setup Planner"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Sudan Nursery and Kindergarten Space &#038; Setup Planner<\/title>\n    <style>\n        :root {\n            --primary-color: #0284c7;\n            --primary-hover: #0369a1;\n            --bg-color: #f8fafc;\n            --card-bg: #ffffff;\n            --text-color: #334155;\n            --border-color: #cbd5e1;\n            --accent-box: #f0f9ff;\n        }\n\n        body {\n            font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif;\n            line-height: 1.6;\n            color: var(--text-color);\n            background-color: var(--bg-color);\n            margin: 0;\n            padding: 20px;\n        }\n\n        .designer-container {\n            max-width: 1000px;\n            margin: 0 auto;\n            background: var(--card-bg);\n            padding: 30px;\n            border-radius: 8px;\n            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);\n            border: 1px solid #e2e8f0;\n        }\n\n        h1, h2, h3, h4 {\n            color: #0f172a;\n            margin-top: 0;\n        }\n\n        .control-panel {\n            display: grid;\n            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n            gap: 20px;\n            margin-bottom: 25px;\n            background: #f1f5f9;\n            padding: 20px;\n            border-radius: 6px;\n        }\n\n        .form-group {\n            margin-bottom: 0;\n        }\n\n        label {\n            display: block;\n            font-weight: 600;\n            margin-bottom: 8px;\n            color: #1e293b;\n        }\n\n        select, input[type=\"number\"] {\n            width: 100%;\n            padding: 10px 12px;\n            border: 1px solid var(--border-color);\n            border-radius: 6px;\n            font-size: 15px;\n            background-color: #fff;\n            box-sizing: border-box;\n        }\n\n        button {\n            background-color: var(--primary-color);\n            color: white;\n            border: none;\n            padding: 12px 24px;\n            font-size: 16px;\n            border-radius: 6px;\n            cursor: pointer;\n            font-weight: 600;\n            width: 100%;\n            transition: background-color 0.1s ease;\n            grid-column: 1 \/ -1;\n        }\n\n        button:hover {\n            background-color: var(--primary-hover);\n        }\n\n        .output-section {\n            display: none;\n            margin-top: 30px;\n            border-top: 2px dashed var(--border-color);\n            padding-top: 25px;\n        }\n\n        .canvas-wrapper {\n            display: grid;\n            grid-template-columns: 1fr 1fr;\n            gap: 20px;\n            margin-bottom: 25px;\n        }\n\n        @media (max-width: 768px) {\n            .canvas-wrapper {\n                grid-template-columns: 1fr;\n            }\n        }\n\n        .canvas-container {\n            background: #fff;\n            border: 1px solid var(--border-color);\n            border-radius: 6px;\n            padding: 15px;\n            text-align: center;\n        }\n\n        canvas {\n            max-width: 100%;\n            height: auto;\n            background: #fafafa;\n            border: 1px solid #e2e8f0;\n        }\n\n        .specs-table {\n            width: 100%;\n            border-collapse: collapse;\n            margin-bottom: 25px;\n        }\n\n        .specs-table th, .specs-table td {\n            border: 1px solid var(--border-color);\n            padding: 12px;\n            text-align: left;\n        }\n\n        .specs-table th {\n            background-color: #f1f5f9;\n            color: #1e293b;\n        }\n\n        .details-grid {\n            display: grid;\n            grid-template-columns: 1fr 1fr;\n            gap: 20px;\n        }\n\n        @media (max-width: 768px) {\n            .details-grid {\n                grid-template-columns: 1fr;\n            }\n        }\n\n        .details-box {\n            background: var(--accent-box);\n            padding: 20px;\n            border-radius: 6px;\n            border-left: 4px solid var(--primary-color);\n        }\n\n        .details-box h4 {\n            color: var(--primary-hover);\n            margin-bottom: 10px;\n        }\n\n        .details-box ul {\n            margin: 0;\n            padding-left: 20px;\n        }\n\n        .print-btn {\n            background-color: #16a34a;\n            margin-top: 20px;\n        }\n        .print-btn:hover {\n            background-color: #15803d;\n        }\n\n        @media print {\n            .control-panel, button, .print-btn { display: none !important; }\n            .output-section { display: block !important; border-top: none; }\n            body { background: white; padding: 0; }\n            .designer-container { box-shadow: none; border: none; max-width: 100%; padding: 0; }\n        }\n    <\/style>\n<\/head>\n<body>\n\n<div class=\"designer-container\">\n    <h1>Sudan Nursery and Kindergarten Space &#038; Setup Planner<\/h1>\n    <p>An interactive modeling tool to generate structural footprints, classroom seating schematics, and accurate material\/staff specifications matching regional Sudanese educational contexts.<\/p>\n\n    <div class=\"control-panel\">\n        <div class=\"form-group\">\n            <label for=\"student-count\">Target Student Capacity<\/label>\n            <input type=\"number\" id=\"student-count\" min=\"10\" max=\"120\" value=\"30\">\n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"setting-type\">Infrastructure Class<\/label>\n            <select id=\"setting-type\">\n                <option value=\"private\">Private (High-Resource Urban)<\/option>\n                <option value=\"community\">Community-Based (Low-Resource \/ Rural)<\/option>\n            <\/select>\n        <\/div>\n        <button onclick=\"calculateAndDraw()\">Generate Engineering Specs &#038; Blueprints<\/button>\n    <\/div>\n\n    <div class=\"output-section\" id=\"output-block\">\n        <h2>Generated Spatial &#038; Resource Allocation Matrix<\/h2>\n        \n        <table class=\"specs-table\">\n            <thead>\n                <tr>\n                    <th>Specification Parameter<\/th>\n                    <th>Calculated Requirement<\/th>\n                    <th>Operational Standard Compliance<\/th>\n                <\/tr>\n            <\/thead>\n            <tbody>\n                <tr>\n                    <td><strong>Minimum Indoor Footprint<\/strong><\/td>\n                    <td><span id=\"spec-area\"><\/span> sq. meters<\/td>\n                    <td>Based on regional density thresholds per child.<\/td>\n                <\/tr>\n                <tr>\n                    <td><strong>WASH Sanitation Units<\/strong><\/td>\n                    <td><span id=\"spec-toilets\"><\/span> Latrines\/Toilets<\/td>\n                    <td>Separate structures recommended by capacity guidelines.<\/td>\n                <\/tr>\n                <tr>\n                    <td><strong>Recommended Personnel<\/strong><\/td>\n                    <td><span id=\"spec-staff\"><\/span> Total Staff<\/td>\n                    <td>Maintains target instructional safety and health ratios.<\/td>\n                <\/tr>\n                <tr>\n                    <td><strong>Seating Arrangement Pattern<\/strong><\/td>\n                    <td><span id=\"spec-seating-style\"><\/span><\/td>\n                    <td>Optimized for selected infrastructure resources.<\/td>\n                <\/tr>\n            <\/tbody>\n        <\/table>\n\n        <div class=\"canvas-wrapper\">\n            <div class=\"canvas-container\">\n                <h4>I. Facility Architectural Footprint Blueprint<\/h4>\n                <canvas id=\"blueprintCanvas\" width=\"400\" height=\"300\"><\/canvas>\n            <\/div>\n            <div class=\"canvas-container\">\n                <h4>II. Classroom Seating &#038; Internal Schematic<\/h4>\n                <canvas id=\"seatingCanvas\" width=\"400\" height=\"300\"><\/canvas>\n            <\/div>\n        <\/div>\n\n        <div class=\"details-grid\">\n            <div class=\"details-box\">\n                <h4>Structural &#038; Climate Specifications<\/h4>\n                <div id=\"structural-specs\"><\/div>\n            <\/div>\n            <div class=\"details-box\">\n                <h4>Required Equipment &#038; Materials Inventory<\/h4>\n                <div id=\"equipment-specs\"><\/div>\n            <\/div>\n        <\/div>\n\n        <button class=\"print-btn\" onclick=\"window.print()\">Print Technical Specifications Sheet \/ Save PDF<\/button>\n    <\/div>\n<\/div>\n\n<script>\n    function calculateAndDraw() {\n        const students = parseInt(document.getElementById('student-count').value) || 30;\n        const setting = document.getElementById('setting-type').value;\n        \n        \/\/ Context calculations\n        let areaPerChild = setting === 'private' ? 2.0 : 1.2; \n        let toiletRatio = setting === 'private' ? 15 : 25;\n        \n        let totalArea = Math.ceil(students * areaPerChild);\n        let toiletsNeeded = Math.ceil(students \/ toiletRatio);\n        \n        \/\/ Staff calculation\n        let leadStaff = Math.ceil(students \/ (setting === 'private' ? 30 : 30));\n        let supportStaff = setting === 'private' ? Math.ceil(students \/ 15) : Math.ceil(students \/ 30);\n        let totalStaff = leadStaff + supportStaff + 1; \/\/ including director\/coordinator\n\n        document.getElementById('spec-area').textContent = totalArea;\n        document.getElementById('spec-toilets').textContent = toiletsNeeded;\n        document.getElementById('spec-staff').textContent = totalStaff + ` (${leadStaff} Lead, ${supportStaff} Support\/Volunteers, 1 Coordinator)`;\n        document.getElementById('spec-seating-style').textContent = setting === 'private' ? \"Small Dynamic Group Tables\" : \"Traditional Circle Mat \/ Haseer Configuration\";\n\n        \/\/ Inject Contextual Data\n        if(setting === 'private') {\n            document.getElementById('structural-specs').innerHTML = `\n                <ul>\n                    <li><b>Materials:<\/b> Concrete blocks, insulated roofing system, premium smooth tiling.<\/li>\n                    <li><b>Thermal Control:<\/b> Split air-conditioning systems paired with industrial ceiling fans. Dual pane UV protected windows.<\/li>\n                    <li><b>WASH:<\/b> Indoor child-sized porcelain toilets, automated tap systems, built-in water treatment\/filter units.<\/li>\n                <\/ul>`;\n            document.getElementById('equipment-specs').innerHTML = `\n                <ul>\n                    <li><b>Furniture:<\/b> Modular ergonomic child-safe plastic tables and matching chairs. Personal storage cubbies.<\/li>\n                    <li><b>Media:<\/b> Interactive whiteboard, audio multimedia center.<\/li>\n                    <li><b>Tactile Assets:<\/b> Commercial plastic bricks, geometric puzzle boards, imported multilingual storybook sets.<\/li>\n                <\/ul>`;\n        } else {\n            document.getElementById('structural-specs').innerHTML = `\n                <ul>\n                    <li><b>Materials:<\/b> High thermal mass stabilized mud-bricks (Teen) or structural timber frame accented with premium Rakuba thatch roof.<\/li>\n                    <li><b>Thermal Control:<\/b> Passive cross-ventilation layout via widened window shutters and heat-dispersing thatch overhangs.<\/li>\n                    <li><b>WASH:<\/b> Ventilated Improved Pit (VIP) separate latrines; high-capacity elevated water storage tank linked to gravity push-tap wash stations.<\/li>\n                <\/ul>`;\n            document.getElementById('equipment-specs').innerHTML = `\n                <ul>\n                    <li><b>Furniture:<\/b> Low wood tables or heavy-woven plastic mats (Haseer) for ergonomic floor seating rings. Secure locked chest for tool storage.<\/li>\n                    <li><b>Media:<\/b> Large wall-mounted slate board painted with dark matte chalkboard finish.<\/li>\n                    <li><b>Tactile Assets:<\/b> Clean sorting stones, dried date pits for numeracy, handmade scrap-fabric dolls, and individual handheld writing slates.<\/li>\n                <\/ul>`;\n        }\n\n        \/\/ Draw Blueprints\n        drawFacilityBlueprint(setting, totalArea, toiletsNeeded);\n        drawClassroomSeating(setting, students);\n\n        document.getElementById('output-block').style.display = 'block';\n        document.getElementById('output-block').scrollIntoView({ behavior: 'smooth' });\n    }\n\n    function drawFacilityBlueprint(setting, area, toilets) {\n        const canvas = document.getElementById('blueprintCanvas');\n        const ctx = canvas.getContext('2d');\n        ctx.clearRect(0, 0, canvas.width, canvas.height);\n\n        \/\/ Outer Foundation Border\n        ctx.strokeStyle = '#334155';\n        ctx.lineWidth = 3;\n        ctx.strokeRect(20, 20, 360, 260);\n        \n        \/\/ Fill base background layout\n        ctx.fillStyle = '#f8fafc';\n        ctx.fillRect(21, 21, 358, 258);\n\n        \/\/ Section dividing walls\n        ctx.strokeStyle = '#64748b';\n        ctx.lineWidth = 2;\n        \n        \/\/ Main Classroom Space\n        ctx.strokeRect(20, 20, 240, 260);\n        ctx.fillStyle = '#e0f2fe';\n        ctx.fillRect(21, 21, 238, 258);\n        ctx.fillStyle = '#0369a1';\n        ctx.font = 'bold 12px sans-serif';\n        ctx.fillText('Main Classroom Zone', 35, 45);\n        ctx.font = '11px sans-serif';\n        ctx.fillText(`Est: ${area} m\u00b2 Area`, 35, 65);\n\n        \/\/ WASH Latrine Block Room\n        ctx.strokeRect(260, 20, 120, 100);\n        ctx.fillStyle = '#fee2e2';\n        ctx.fillRect(261, 21, 118, 98);\n        ctx.fillStyle = '#991b1b';\n        ctx.fillText(`WASH: ${toilets} Units`, 270, 50);\n\n        \/\/ Office \/ Multi-use Admin Room\n        ctx.strokeRect(260, 120, 120, 160);\n        ctx.fillStyle = '#f1f5f9';\n        ctx.fillRect(261, 121, 118, 158);\n        ctx.fillStyle = '#334155';\n        ctx.fillText(setting === 'private' ? 'Admin & Naps' : 'Admin & Rations', 265, 150);\n\n        \/\/ Blueprint Architecture Markings (Doors indications)\n        ctx.strokeStyle = '#ef4444';\n        ctx.lineWidth = 3;\n        \/\/ Main Entry Door\n        ctx.beginPath(); ctx.moveTo(20, 140); ctx.lineTo(20, 170); ctx.stroke();\n        ctx.fillStyle = '#ef4444'; ctx.font = '9px sans-serif'; ctx.fillText('ENTRY', 23, 155);\n    }\n\n    function drawClassroomSeating(setting, students) {\n        const canvas = document.getElementById('seatingCanvas');\n        const ctx = canvas.getContext('2d');\n        ctx.clearRect(0, 0, canvas.width, canvas.height);\n\n        \/\/ Background boundary for classroom interior\n        ctx.fillStyle = '#ffffff';\n        ctx.fillRect(0, 0, canvas.width, canvas.height);\n        ctx.strokeStyle = '#cbd5e1';\n        ctx.strokeRect(5, 5, canvas.width-10, canvas.height-10);\n\n        \/\/ Instructional Focus Node (Blackboard\/Whiteboard location)\n        ctx.fillStyle = setting === 'private' ? '#0284c7' : '#1e293b';\n        ctx.fillRect(130, 15, 140, 12);\n        ctx.fillStyle = '#fff';\n        ctx.font = 'bold 9px sans-serif';\n        ctx.fillText(setting === 'private' ? 'WHITEBOARD' : 'BLACKBOARD', 170, 24);\n\n        \/\/ Render dynamic seats matching capacity input\n        if (setting === 'private') {\n            \/\/ Group Tables Setup (Clusters of 5 students per table)\n            let tableCount = Math.ceil(students \/ 5);\n            let positions = [\n                {x: 100, y: 90}, {x: 300, y: 90},\n                {x: 100, y: 190}, {x: 300, y: 190},\n                {x: 200, y: 240}, {x: 200, y: 140}\n            ];\n\n            for (let t = 0; t < Math.min(tableCount, positions.length); t++) {\n                let pos = positions[t];\n                \/\/ Draw Table Node\n                ctx.fillStyle = '#fba518';\n                ctx.beginPath();\n                ctx.arc(pos.x, pos.y, 22, 0, 2 * Math.PI);\n                ctx.fill();\n                \n                \/\/ Draw 5 surrounding seats around the cluster center\n                ctx.fillStyle = '#10b981';\n                for(let s=0; s<5; s++) {\n                    let angle = (s * 2 * Math.PI) \/ 5;\n                    let seatX = pos.x + Math.cos(angle) * 32;\n                    let seatY = pos.y + Math.sin(angle) * 32;\n                    ctx.beginPath();\n                    ctx.arc(seatX, seatY, 6, 0, 2 * Math.PI);\n                    ctx.fill();\n                }\n            }\n        } else {\n            \/\/ Community Setting Mat Rings Setup (Circular configuration on Haseer)\n            ctx.strokeStyle = '#16a34a';\n            ctx.lineWidth = 6;\n            \/\/ Primary Haseer Circle Mat Node Outline\n            ctx.beginPath();\n            ctx.arc(200, 170, 70, 0, 2 * Math.PI);\n            ctx.stroke();\n            ctx.fillStyle = '#f0fdf4';\n            ctx.fill();\n            ctx.fillStyle = '#16a34a';\n            ctx.font = '10px sans-serif';\n            ctx.fillText('Haseer Mat Ring', 160, 173);\n\n            \/\/ Populate individual students around the perimeter\n            ctx.fillStyle = '#ea580c';\n            for (let i = 0; i < Math.min(students, 35); i++) {\n                let angle = (i * 2 * Math.PI) \/ Math.min(students, 35);\n                let seatX = 200 + Math.cos(angle) * 70;\n                let seatY = 170 + Math.sin(angle) * 70;\n                ctx.beginPath();\n                ctx.arc(seatX, seatY, 6, 0, 2 * Math.PI);\n                ctx.fill();\n            }\n            \n            \/\/ Secondary floor loop row if capacity threshold overflows\n            if (students > 35) {\n                ctx.strokeStyle = '#22c55e';\n                ctx.lineWidth = 2;\n                ctx.beginPath(); ctx.arc(200, 170, 95, 0, 2 * Math.PI); ctx.stroke();\n                ctx.fillStyle = '#ea580c';\n                for (let i = 0; i < (students - 35); i++) {\n                    let angle = (i * 2 * Math.PI) \/ (students - 35);\n                    let seatX = 200 + Math.cos(angle) * 95;\n                    let seatY = 170 + Math.sin(angle) * 95;\n                    ctx.beginPath(); ctx.arc(seatX, seatY, 6, 0, 2 * Math.PI); ctx.fill();\n                }\n            }\n        }\n    }\n\n    \/\/ Auto load calculations on initialization stage\n    calculateAndDraw();\n<\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Sudan Nursery and Kindergarten Space &#038; Setup Planner Sudan Nursery and Kindergarten Space &#038; Setup Planner An interactive modeling tool to generate structural footprints, classroom seating schematics, and accurate material\/staff specifications matching regional Sudanese educational contexts. Target Student Capacity Infrastructure Class Private (High-Resource Urban)Community-Based (Low-Resource \/ Rural) Generate Engineering Specs &#038; Blueprints Generated Spatial &#038; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/education.darfur2030.org\/?page_id=1115\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Space &amp; Setup Planner&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":83,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1115","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=\/wp\/v2\/pages\/1115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1115"}],"version-history":[{"count":1,"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=\/wp\/v2\/pages\/1115\/revisions"}],"predecessor-version":[{"id":1116,"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=\/wp\/v2\/pages\/1115\/revisions\/1116"}],"up":[{"embeddable":true,"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=\/wp\/v2\/pages\/83"}],"wp:attachment":[{"href":"https:\/\/education.darfur2030.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}