commit 18416afb5890014d47a284962cc88c30fed10c62
Author: ffff:173.164.133.92 <ffff:173.164.133.92@hub.scroll.pub> Date: 2025-01-13 03:59:25 +0000 Subject: updated index.scroll diff --git a/index.scroll b/index.scroll index 6139bec..eaba316 100644 --- a/index.scroll +++ b/index.scroll @@ -9,6 +9,7 @@ This database catalogues the most influential experiments that shaped our unders The experiments are rated by their historical impact score (1-100) and include details about the scientists involved, equipment used, and their groundbreaking outcomes. +tableSearch concepts.scroll concepts printTable
commit 0f52ea8d9bc9e5b3b17898a76834b37fd8ca3880
Author: ffff:173.164.133.92 <ffff:173.164.133.92@hub.scroll.pub> Date: 2025-01-13 03:59:11 +0000 Subject: updated concepts.scroll diff --git a/concepts.scroll b/concepts.scroll index 65f4c13..4c7322b 100644 --- a/concepts.scroll +++ b/concepts.scroll @@ -34,3 +34,108 @@ scientist Henry Cavendish impactScore 88 equipment Torsion balance outcome First measured gravitational constant + +id Davisson-Germer +year 1927 +scientist Davisson and Germer +impactScore 87 +equipment Electron diffraction apparatus +outcome Proved wave nature of electrons + +id Photoelectric +year 1905 +scientist Heinrich Hertz +impactScore 94 +equipment Ultraviolet light source +outcome Demonstrated quantum nature of light + +id Rutherford Gold Foil +year 1909 +scientist Ernest Rutherford +impactScore 96 +equipment Gold foil, alpha particles +outcome Discovered atomic nucleus + +id Fizeau-Foucault +year 1850 +scientist Fizeau and Foucault +impactScore 84 +equipment Rotating mirror apparatus +outcome First accurate measurement of light speed + +id Franck-Hertz +year 1914 +scientist Franck and Hertz +impactScore 88 +equipment Mercury vapor tube +outcome Proved quantum energy levels + +id Pound-Rebka +year 1959 +scientist Pound and Rebka +impactScore 86 +equipment Gamma ray spectrometer +outcome Verified gravitational time dilation + +id Wu Experiment +year 1956 +scientist Chien-Shiung Wu +impactScore 89 +equipment Cobalt-60 decay setup +outcome Proved parity violation + +id Bell Test +year 1972 +scientist John Clauser +impactScore 93 +equipment Entangled photon source +outcome Verified quantum entanglement + +id Galileo Ball Drop +year 1589 +scientist Galileo Galilei +impactScore 92 +equipment Leaning Tower of Pisa +outcome Proved objects fall at same rate + +id Cosmic Microwave +year 1964 +scientist Penzias and Wilson +impactScore 97 +equipment Horn antenna +outcome Discovered cosmic background radiation + +id Cathode Ray +year 1897 +scientist J.J. Thomson +impactScore 91 +equipment Cathode ray tube +outcome Discovered electron + +id Hafele-Keating +year 1971 +scientist Hafele and Keating +impactScore 85 +equipment Atomic clocks +outcome Proved time dilation effect + +id Eötvös +year 1908 +scientist Roland Eötvös +impactScore 83 +equipment Torsion balance +outcome Verified equivalence principle + +id Aspect +year 1982 +scientist Alain Aspect +impactScore 90 +equipment Photon detectors +outcome Tested Bell inequalities + +id Compton +year 1923 +scientist Arthur Compton +impactScore 89 +equipment X-ray scattering setup +outcome Proved particle nature of photons
commit 23cb876cdd04d7566af3f13cbc1ba5cc41dfc4cf
Author: root <root@hub.scroll.pub> Date: 2025-01-13 03:56:01 +0000 Subject: Initial commit diff --git a/concepts.scroll b/concepts.scroll new file mode 100644 index 0000000..65f4c13 --- /dev/null +++ b/concepts.scroll @@ -0,0 +1,36 @@ +measures.parsers + +id Double-Slit +year 1801 +scientist Thomas Young +impactScore 95 +equipment Double-slit apparatus +outcome Proved light exhibits both wave and particle properties + +id Michelson-Morley +year 1887 +scientist Michelson and Morley +impactScore 98 +equipment Interferometer +outcome Disproved existence of luminiferous aether + +id Oil-Drop +year 1909 +scientist Robert Millikan +impactScore 90 +equipment Oil drop apparatus +outcome Measured elementary electric charge + +id Stern-Gerlach +year 1922 +scientist Stern and Gerlach +impactScore 85 +equipment Magnetic field beam +outcome Demonstrated quantum spin states + +id Cavendish +year 1798 +scientist Henry Cavendish +impactScore 88 +equipment Torsion balance +outcome First measured gravitational constant diff --git a/footer.scroll b/footer.scroll new file mode 100644 index 0000000..679e89f --- /dev/null +++ b/footer.scroll @@ -0,0 +1,3 @@ +importOnly +center +scrollVersionLink diff --git a/header.scroll b/header.scroll new file mode 100644 index 0000000..38cc643 --- /dev/null +++ b/header.scroll @@ -0,0 +1,9 @@ +importOnly +buildHtml +homeButton +metaTags +editButton +editBaseUrl /edit.html?folderName=physicslab.scroll.pub&fileName= +metaTags +style.css +script.js diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..6139bec --- /dev/null +++ b/index.scroll @@ -0,0 +1,16 @@ +title Famous Physics Experiments Database +header.scroll + +# Groundbreaking Physics Experiments Through History + +This database catalogues the most influential experiments that shaped our understanding of the physical universe. Each entry represents a pivotal moment in scientific discovery that fundamentally changed our view of reality. + +## Explore the Experiments + +The experiments are rated by their historical impact score (1-100) and include details about the scientists involved, equipment used, and their groundbreaking outcomes. + +concepts.scroll +concepts + printTable + +footer.scroll diff --git a/measures.parsers b/measures.parsers new file mode 100644 index 0000000..6cede5c --- /dev/null +++ b/measures.parsers @@ -0,0 +1,17 @@ +idParser + extends abstractIdParser +yearParser + extends abstractIntegerMeasureParser + description The year when the experiment was first conducted +scientistParser + extends abstractStringMeasureParser + description The primary scientist(s) who conducted the experiment +impactScoreParser + extends abstractIntegerMeasureParser + description Historical impact score from 1-100 +equipmentParser + extends abstractStringMeasureParser + description Main equipment or apparatus used +outcomeParser + extends abstractStringMeasureParser + description The key finding or outcome of the experiment diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..1a6d4c7 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01GLYwz1yfYFYuxNzkUDnciC", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll help create a beautiful knowledge base about famous physics experiments.\n\n---domain---\nphysicslab.scroll.pub\n\n---measures.parsers---\nidParser\n extends abstractIdParser\nyearParser\n extends abstractIntegerMeasureParser\n description The year when the experiment was first conducted\nscientistParser\n extends abstractStringMeasureParser\n description The primary scientist(s) who conducted the experiment\nimpactScoreParser\n extends abstractIntegerMeasureParser\n description Historical impact score from 1-100\nequipmentParser\n extends abstractStringMeasureParser\n description Main equipment or apparatus used\noutcomeParser\n extends abstractStringMeasureParser\n description The key finding or outcome of the experiment\n\n---concepts.scroll---\nmeasures.parsers\n\nid Double-Slit\nyear 1801\nscientist Thomas Young\nimpactScore 95\nequipment Double-slit apparatus\noutcome Proved light exhibits both wave and particle properties\n\nid Michelson-Morley\nyear 1887\nscientist Michelson and Morley\nimpactScore 98\nequipment Interferometer\noutcome Disproved existence of luminiferous aether\n\nid Oil-Drop\nyear 1909\nscientist Robert Millikan\nimpactScore 90\nequipment Oil drop apparatus\noutcome Measured elementary electric charge\n\nid Stern-Gerlach\nyear 1922\nscientist Stern and Gerlach\nimpactScore 85\nequipment Magnetic field beam\noutcome Demonstrated quantum spin states\n\nid Cavendish\nyear 1798\nscientist Henry Cavendish\nimpactScore 88\nequipment Torsion balance\noutcome First measured gravitational constant\n\n---index.scroll---\ntitle Famous Physics Experiments Database\nheader.scroll\n\n# Groundbreaking Physics Experiments Through History\n\nThis database catalogues the most influential experiments that shaped our understanding of the physical universe. Each entry represents a pivotal moment in scientific discovery that fundamentally changed our view of reality.\n\n## Explore the Experiments\n\nThe experiments are rated by their historical impact score (1-100) and include details about the scientists involved, equipment used, and their groundbreaking outcomes.\n\nconcepts.scroll\nconcepts\n printTable\n\nfooter.scroll\n\n---header.scroll---\nimportOnly\nbuildHtml\nhomeButton\nmetaTags\neditButton\neditBaseUrl /edit.html?folderName=physicslab.scroll.pub&fileName=\nmetaTags\nstyle.css\nscript.js\n\n---footer.scroll---\nimportOnly\ncenter\nscrollVersionLink\n\n---style.css---\n:root {\n --primary: #2c3e50;\n --secondary: #3498db;\n --accent: #e74c3c;\n --background: #ecf0f1;\n --text: #2c3e50;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text);\n background: var(--background);\n margin: 0;\n padding: 0;\n}\n\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 2rem;\n}\n\nh1 {\n color: var(--primary);\n font-size: 2.5rem;\n text-align: center;\n margin-bottom: 2rem;\n background: linear-gradient(120deg, var(--primary), var(--secondary));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n margin: 2rem 0;\n background: white;\n border-radius: 8px;\n overflow: hidden;\n box-shadow: 0 4px 6px rgba(0,0,0,0.1);\n}\n\nth {\n background: var(--primary);\n color: white;\n padding: 1rem;\n text-align: left;\n}\n\ntd {\n padding: 1rem;\n border-bottom: 1px solid #ddd;\n}\n\ntr:hover {\n background: #f5f6fa;\n}\n\n@media (max-width: 768px) {\n table {\n display: block;\n overflow-x: auto;\n }\n \n .container {\n padding: 1rem;\n }\n \n h1 {\n font-size: 2rem;\n }\n}\n\n.impact-score {\n font-weight: bold;\n color: var(--accent);\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Add impact score styling\n const impactScores = document.querySelectorAll('td:nth-child(4)');\n impactScores.forEach(cell => {\n cell.classList.add('impact-score');\n });\n\n // Add smooth scroll behavior\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Add responsive table handling\n const table = document.querySelector('table');\n if (table) {\n const wrapper = document.createElement('div');\n wrapper.style.overflowX = 'auto';\n table.parentNode.insertBefore(wrapper, table);\n wrapper.appendChild(table);\n }\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 704, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 1338 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..94bf010 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# physicslab.scroll.pub + +database generated by Claude from prompt: a database about the most famous experiments in phyiscs \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..4644ac1 --- /dev/null +++ b/script.js @@ -0,0 +1,26 @@ +document.addEventListener('DOMContentLoaded', function() { + // Add impact score styling + const impactScores = document.querySelectorAll('td:nth-child(4)'); + impactScores.forEach(cell => { + cell.classList.add('impact-score'); + }); + + // Add smooth scroll behavior + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Add responsive table handling + const table = document.querySelector('table'); + if (table) { + const wrapper = document.createElement('div'); + wrapper.style.overflowX = 'auto'; + table.parentNode.insertBefore(wrapper, table); + wrapper.appendChild(table); + } +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..2bc5cc0 --- /dev/null +++ b/style.css @@ -0,0 +1,78 @@ +:root { + --primary: #2c3e50; + --secondary: #3498db; + --accent: #e74c3c; + --background: #ecf0f1; + --text: #2c3e50; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--text); + background: var(--background); + margin: 0; + padding: 0; +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 2rem; +} + +h1 { + color: var(--primary); + font-size: 2.5rem; + text-align: center; + margin-bottom: 2rem; + background: linear-gradient(120deg, var(--primary), var(--secondary)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +table { + width: 100%; + border-collapse: collapse; + margin: 2rem 0; + background: white; + border-radius: 8px; + overflow: hidden; + box-shadow: 0 4px 6px rgba(0,0,0,0.1); +} + +th { + background: var(--primary); + color: white; + padding: 1rem; + text-align: left; +} + +td { + padding: 1rem; + border-bottom: 1px solid #ddd; +} + +tr:hover { + background: #f5f6fa; +} + +@media (max-width: 768px) { + table { + display: block; + overflow-x: auto; + } + + .container { + padding: 1rem; + } + + h1 { + font-size: 2rem; + } +} + +.impact-score { + font-weight: bold; + color: var(--accent); +}