Changes to diddyscroll.pub.scroll.pub

ScrollHub
ScrollHub
14 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://diddyscroll.pub
+ metaTags
+ editButton /edit.html
+ title Diddy Hub | Creative Coding Playground
+ style.css
+
+ header
+ class hero
+ nav
+ div Diddy
+ class logo
+ div
+ class nav-links
+ a Projects
+ href #projects
+ a Gallery
+ href #gallery
+ a Docs
+ href docs.html
+ a Try Now
+ class cta-button
+ href editor.html
+ div
+ class hero-content
+ h1 Unleash Your Creativity
+ p The playground for experimental coding and digital art
+ a Start Creating
+ class primary-button
+ href editor.html
+ main
+ section
+ id projects
+ class projects
+ h2 Featured Projects
+ div
+ class project-grid
+ div
+ class project-card
+ div
+ class project-image
+ h3 Particle Playground
+ p Interactive particle physics simulation
+ a View
+ class secondary-button
+ href project1.html
+ div
+ class project-card
+ div
+ class project-image
+ h3 Audio Visualizer
+ p Music-reactive generative art
+ a View
+ class secondary-button
+ href project2.html
+ div
+ class project-card
+ div
+ class project-image
+ h3 Fractal Explorer
+ p Infinite mathematical beauty
+ a View
+ class secondary-button
+ href project3.html
+ section
+ id gallery
+ class gallery
+ h2 Community Creations
+ div
+ class gallery-grid
+ div
+ class gallery-item
+ div
+ class gallery-item
+ div
+ class gallery-item
+ div
+ class gallery-item
+ div
+ class gallery-item
+ div
+ class gallery-item
+ a See More
+ class secondary-button
+ href gallery.html
+ section
+ class cta
+ h2 Ready to Create?
+ p Join our community of digital artists and creative coders
+ a Get Started
+ class primary-button
+ href editor.html
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href docs.html
+ a Community
+ href community.html
+ a Blog
+ href blog.html
+ p A space for creative coding and digital experimentation
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "f6f346c1-b037-40db-a437-f637b52ddd56",
+ "object": "chat.completion",
+ "created": 1749057475,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ndiddyscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://diddyscroll.pub\nmetaTags\neditButton /edit.html\ntitle Diddy Hub | Creative Coding Playground\nstyle.css\n\nheader\n class hero\n nav\n div Diddy\n class logo\n div\n class nav-links\n a Projects\n href #projects\n a Gallery\n href #gallery\n a Docs\n href docs.html\n a Try Now\n class cta-button\n href editor.html\n div\n class hero-content\n h1 Unleash Your Creativity\n p The playground for experimental coding and digital art\n a Start Creating\n class primary-button\n href editor.html\nmain\n section\n id projects\n class projects\n h2 Featured Projects\n div\n class project-grid\n div\n class project-card\n div\n class project-image\n h3 Particle Playground\n p Interactive particle physics simulation\n a View\n class secondary-button\n href project1.html\n div\n class project-card\n div\n class project-image\n h3 Audio Visualizer\n p Music-reactive generative art\n a View\n class secondary-button\n href project2.html\n div\n class project-card\n div\n class project-image\n h3 Fractal Explorer\n p Infinite mathematical beauty\n a View\n class secondary-button\n href project3.html\n section\n id gallery\n class gallery\n h2 Community Creations\n div\n class gallery-grid\n div\n class gallery-item\n div\n class gallery-item\n div\n class gallery-item\n div\n class gallery-item\n div\n class gallery-item\n div\n class gallery-item\n a See More\n class secondary-button\n href gallery.html\n section\n class cta\n h2 Ready to Create?\n p Join our community of digital artists and creative coders\n a Get Started\n class primary-button\n href editor.html\nfooter\n div\n class footer-content\n div\n class footer-links\n a Documentation\n href docs.html\n a Community\n href community.html\n a Blog\n href blog.html\n p A space for creative coding and digital experimentation\n\nscript.js\n---style.css---\n:root {\n --primary: #6e45e2;\n --secondary: #88d3ce;\n --dark: #1a1a2e;\n --light: #f9f9f9;\n --accent: #ff7e5f;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--dark);\n background-color: var(--light);\n}\n\nheader.hero {\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n color: white;\n padding: 2rem 1rem;\n position: relative;\n overflow: hidden;\n}\n\nheader.hero::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: url('data:image/svg+xml;utf8,');\n opacity: 0.1;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 1rem;\n}\n\n.logo {\n font-size: 2rem;\n font-weight: 700;\n letter-spacing: -1px;\n}\n\n.nav-links {\n display: flex;\n gap: 1.5rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n font-weight: 500;\n transition: opacity 0.2s;\n}\n\n.nav-links a:hover {\n opacity: 0.8;\n}\n\n.cta-button {\n background: white;\n color: var(--primary);\n padding: 0.5rem 1rem;\n border-radius: 50px;\n font-weight: 600;\n}\n\n.hero-content {\n max-width: 1200px;\n margin: 4rem auto;\n padding: 0 1rem;\n text-align: center;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n line-height: 1.2;\n}\n\n.hero-content p {\n font-size: 1.25rem;\n max-width: 700px;\n margin: 0 auto 2rem;\n}\n\n.primary-button {\n display: inline-block;\n background: white;\n color: var(--primary);\n padding: 0.75rem 2rem;\n border-radius: 50px;\n text-decoration: none;\n font-weight: 600;\n transition: transform 0.2s, box-shadow 0.2s;\n}\n\n.primary-button:hover {\n transform: translateY(-2px);\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n}\n\nsection {\n padding: 4rem 1rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\nsection h2 {\n text-align: center;\n margin-bottom: 3rem;\n font-size: 2.5rem;\n color: var(--primary);\n}\n\n.project-grid, .gallery-grid {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));\n gap: 2rem;\n}\n\n.project-card {\n background: white;\n border-radius: 12px;\n overflow: hidden;\n box-shadow: 0 5px 15px rgba(0,0,0,0.05);\n transition: transform 0.3s, box-shadow 0.3s;\n}\n\n.project-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 10px 25px rgba(0,0,0,0.1);\n}\n\n.project-image {\n height: 200px;\n background: linear-gradient(45deg, #f3f4f6, #e5e7eb);\n position: relative;\n}\n\n.project-image::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.8));\n}\n\n.project-card h3 {\n padding: 1rem 1rem 0.5rem;\n font-size: 1.25rem;\n}\n\n.project-card p {\n padding: 0 1rem 1rem;\n color: #666;\n}\n\n.secondary-button {\n display: inline-block;\n padding: 0.5rem 1.5rem;\n border: 2px solid var(--primary);\n color: var(--primary);\n border-radius: 50px;\n text-decoration: none;\n font-weight: 600;\n margin: 1rem;\n transition: all 0.2s;\n}\n\n.secondary-button:hover {\n background: var(--primary);\n color: white;\n}\n\n.gallery-item {\n aspect-ratio: 1;\n background: linear-gradient(45deg, #f3f4f6, #e5e7eb);\n border-radius: 8px;\n transition: transform 0.3s;\n}\n\n.gallery-item:hover {\n transform: scale(1.03);\n}\n\n.cta {\n text-align: center;\n background: linear-gradient(135deg, #f9f9f9, #eef2ff);\n border-radius: 12px;\n padding: 3rem;\n margin: 3rem auto;\n}\n\n.cta h2 {\n margin-bottom: 1rem;\n}\n\n.cta p {\n max-width: 600px;\n margin: 0 auto 2rem;\n}\n\nfooter {\n background: var(--dark);\n color: white;\n padding: 3rem 1rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n gap: 2rem;\n}\n\n.footer-links {\n display: flex;\n gap: 2rem;\n justify-content: center;\n}\n\n.footer-links a {\n color: white;\n text-decoration: none;\n transition: color 0.2s;\n}\n\n.footer-links a:hover {\n color: var(--secondary);\n}\n\nfooter p {\n text-align: center;\n opacity: 0.8;\n}\n\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 2.5rem;\n }\n \n .nav-links {\n gap: 1rem;\n }\n \n .project-grid, .gallery-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n // Animate hero content\n const heroContent = document.querySelector('.hero-content');\n heroContent.style.opacity = '0';\n heroContent.style.transform = 'translateY(20px)';\n \n setTimeout(() => {\n heroContent.style.transition = 'opacity 0.5s ease, transform 0.5s ease';\n heroContent.style.opacity = '1';\n heroContent.style.transform = 'translateY(0)';\n }, 100);\n \n // Animate project cards on scroll\n const observerOptions = {\n threshold: 0.1\n };\n \n const projectObserver = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.style.opacity = '1';\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, observerOptions);\n \n document.querySelectorAll('.project-card').forEach((card, index) => {\n card.style.opacity = '0';\n card.style.transform = 'translateY(20px)';\n card.style.transition = `opacity 0.5s ease ${index * 0.1}s, transform 0.5s ease ${index * 0.1}s`;\n projectObserver.observe(card);\n });\n \n // Gallery hover effect\n document.querySelectorAll('.gallery-item').forEach(item => {\n item.addEventListener('mouseenter', () => {\n const randomHue = Math.floor(Math.random() * 360);\n item.style.background = `linear-gradient(45deg, hsl(${randomHue}, 80%, 90%), hsl(${randomHue}, 80%, 80%))`;\n });\n \n item.addEventListener('mouseleave', () => {\n item.style.background = 'linear-gradient(45deg, #f3f4f6, #e5e7eb)';\n });\n });\n \n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function(e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n if (target) {\n window.scrollTo({\n top: target.offsetTop - 80,\n behavior: 'smooth'\n });\n }\n });\n });\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 719,
+ "completion_tokens": 2609,
+ "total_tokens": 3328,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 719
+ },
+ "system_fingerprint": "fp_8802369eaa_prod0425fp8"
+ }
readme.scroll
Changed around line 1
+ # diddyscroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ diddy hub
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "diddy hub"
+
+ Requirements:
+ - Use only Scroll, CSS, and JavaScript (NO frameworks, NO external dependencies)
+ - Create clean, semantic HTML5
+ - Make it mobile-responsive
+ - Follow modern best practices and accessibility guidelines
+ - Keep it simple but professional
+ - Use only relative links and no external resources
+ - Do not put a copyright symbol or all rights reserved in the footer.
+ - Make it beautiful. Dazzling. Advanced used of CSS.
+
+ As a refresher, for doing the html body, Scroll is a whitespace based language that uses a single indented space to mark a line (aka particle) as a subparticle of a parent line.
+
+ For example:
+
+ header
+ class hero
+ nav
+ div Scroll
+ class logo
+ div
+ class nav-links
+ a Features
+ href #features
+ a Examples
+ href #examples
+ a Edit
+ href edit.html
+ a GitHub
+ class cta-button
+ href https://github.com/breck7/scroll
+ div
+ class hero-content
+ h1 Write Better with Scroll
+ p The extendible markup language that makes source beautiful and compiles to anything
+ a Get Started
+ class primary-button
+ href https://hub.scroll.pub/
+ main
+ section
+ id features
+ class features
+ h2 Why Scroll?
+ div
+ class feature-grid
+ div
+ class feature-card
+ div ⚡
+ class feature-icon
+ h3 Simple Syntax
+ p Like Markdown, but more powerful. No parentheses needed.
+ div
+ class feature-card
+ div 🧩
+ class feature-icon
+ h3 Extendible
+ p Build your own custom parsers.
+ div
+ class feature-card
+ div 🎨
+ class feature-icon
+ h3 Beautiful Output
+ p Create stunning documents with minimal effort.
+ div
+ class feature-card
+ div 🚀
+ class feature-icon
+ h3 Fast & Light
+ p Built on the efficient PPS Stack.
+ section
+ id examples
+ class code-demo
+ h2 See It In Action
+ div
+ class code-container
+ pre
+ class code-example
+ div
+ class code-output
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Documentation
+ href https://scroll.pub/tutorial.html
+ a Community
+ href https://www.reddit.com/r/WorldWideScroll/
+ a Blog
+ href https://scroll.pub/blog
+ p Started by Breck Yunits. Evolved by a community.
+ https://twitter.com/breckyunits Breck Yunits
+ https://github.com/breck7/scroll/graphs/contributors community
+
+
+ First suggest a short, memorable domain name ending in scroll.pub that represents this website. Then provide the website files. Use this exact format:
+
+ ---domain---
+ (domainscroll.pub here)
+ ---index.scroll---
+ buildHtml
+ baseUrl https://(domainscroll.pub here)
+ metaTags
+ editButton /edit.html
+ title (Title here)
+ style.css
+
+ (body content here. no blank lines please.)
+
+ script.js
+ ---style.css---
+ (CSS content here)
+ ---script.js---
+ (JavaScript content here)
+ ---end---
script.js
Changed around line 1
+ document.addEventListener('DOMContentLoaded', function() {
+ // Animate hero content
+ const heroContent = document.querySelector('.hero-content');
+ heroContent.style.opacity = '0';
+ heroContent.style.transform = 'translateY(20px)';
+
+ setTimeout(() => {
+ heroContent.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
+ heroContent.style.opacity = '1';
+ heroContent.style.transform = 'translateY(0)';
+ }, 100);
+
+ // Animate project cards on scroll
+ const observerOptions = {
+ threshold: 0.1
+ };
+
+ const projectObserver = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.style.opacity = '1';
+ entry.target.style.transform = 'translateY(0)';
+ }
+ });
+ }, observerOptions);
+
+ document.querySelectorAll('.project-card').forEach((card, index) => {
+ card.style.opacity = '0';
+ card.style.transform = 'translateY(20px)';
+ card.style.transition = `opacity 0.5s ease ${index * 0.1}s, transform 0.5s ease ${index * 0.1}s`;
+ projectObserver.observe(card);
+ });
+
+ // Gallery hover effect
+ document.querySelectorAll('.gallery-item').forEach(item => {
+ item.addEventListener('mouseenter', () => {
+ const randomHue = Math.floor(Math.random() * 360);
+ item.style.background = `linear-gradient(45deg, hsl(${randomHue}, 80%, 90%), hsl(${randomHue}, 80%, 80%))`;
+ });
+
+ item.addEventListener('mouseleave', () => {
+ item.style.background = 'linear-gradient(45deg, #f3f4f6, #e5e7eb)';
+ });
+ });
+
+ // Smooth scrolling for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ const target = document.querySelector(this.getAttribute('href'));
+ if (target) {
+ window.scrollTo({
+ top: target.offsetTop - 80,
+ behavior: 'smooth'
+ });
+ }
+ });
+ });
+ });
style.css
Changed around line 1
+ :root {
+ --primary: #6e45e2;
+ --secondary: #88d3ce;
+ --dark: #1a1a2e;
+ --light: #f9f9f9;
+ --accent: #ff7e5f;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--dark);
+ background-color: var(--light);
+ }
+
+ header.hero {
+ background: linear-gradient(135deg, var(--primary), var(--secondary));
+ color: white;
+ padding: 2rem 1rem;
+ position: relative;
+ overflow: hidden;
+ }
+
+ header.hero::before {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: url('data:image/svg+xml;utf8,');
+ opacity: 0.1;
+ }
+
+ nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 1rem;
+ }
+
+ .logo {
+ font-size: 2rem;
+ font-weight: 700;
+ letter-spacing: -1px;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1.5rem;
+ }
+
+ .nav-links a {
+ color: white;
+ text-decoration: none;
+ font-weight: 500;
+ transition: opacity 0.2s;
+ }
+
+ .nav-links a:hover {
+ opacity: 0.8;
+ }
+
+ .cta-button {
+ background: white;
+ color: var(--primary);
+ padding: 0.5rem 1rem;
+ border-radius: 50px;
+ font-weight: 600;
+ }
+
+ .hero-content {
+ max-width: 1200px;
+ margin: 4rem auto;
+ padding: 0 1rem;
+ text-align: center;
+ }
+
+ .hero-content h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ line-height: 1.2;
+ }
+
+ .hero-content p {
+ font-size: 1.25rem;
+ max-width: 700px;
+ margin: 0 auto 2rem;
+ }
+
+ .primary-button {
+ display: inline-block;
+ background: white;
+ color: var(--primary);
+ padding: 0.75rem 2rem;
+ border-radius: 50px;
+ text-decoration: none;
+ font-weight: 600;
+ transition: transform 0.2s, box-shadow 0.2s;
+ }
+
+ .primary-button:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
+ }
+
+ section {
+ padding: 4rem 1rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ section h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+ font-size: 2.5rem;
+ color: var(--primary);
+ }
+
+ .project-grid, .gallery-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
+ gap: 2rem;
+ }
+
+ .project-card {
+ background: white;
+ border-radius: 12px;
+ overflow: hidden;
+ box-shadow: 0 5px 15px rgba(0,0,0,0.05);
+ transition: transform 0.3s, box-shadow 0.3s;
+ }
+
+ .project-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 10px 25px rgba(0,0,0,0.1);
+ }
+
+ .project-image {
+ height: 200px;
+ background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
+ position: relative;
+ }
+
+ .project-image::after {
+ content: '';
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.8));
+ }
+
+ .project-card h3 {
+ padding: 1rem 1rem 0.5rem;
+ font-size: 1.25rem;
+ }
+
+ .project-card p {
+ padding: 0 1rem 1rem;
+ color: #666;
+ }
+
+ .secondary-button {
+ display: inline-block;
+ padding: 0.5rem 1.5rem;
+ border: 2px solid var(--primary);
+ color: var(--primary);
+ border-radius: 50px;
+ text-decoration: none;
+ font-weight: 600;
+ margin: 1rem;
+ transition: all 0.2s;
+ }
+
+ .secondary-button:hover {
+ background: var(--primary);
+ color: white;
+ }
+
+ .gallery-item {
+ aspect-ratio: 1;
+ background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
+ border-radius: 8px;
+ transition: transform 0.3s;
+ }
+
+ .gallery-item:hover {
+ transform: scale(1.03);
+ }
+
+ .cta {
+ text-align: center;
+ background: linear-gradient(135deg, #f9f9f9, #eef2ff);
+ border-radius: 12px;
+ padding: 3rem;
+ margin: 3rem auto;
+ }
+
+ .cta h2 {
+ margin-bottom: 1rem;
+ }
+
+ .cta p {
+ max-width: 600px;
+ margin: 0 auto 2rem;
+ }
+
+ footer {
+ background: var(--dark);
+ color: white;
+ padding: 3rem 1rem;
+ }
+
+ .footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+ gap: 2rem;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 2rem;
+ justify-content: center;
+ }
+
+ .footer-links a {
+ color: white;
+ text-decoration: none;
+ transition: color 0.2s;
+ }
+
+ .footer-links a:hover {
+ color: var(--secondary);
+ }
+
+ footer p {
+ text-align: center;
+ opacity: 0.8;
+ }
+
+ @media (max-width: 768px) {
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+
+ .nav-links {
+ gap: 1rem;
+ }
+
+ .project-grid, .gallery-grid {
+ grid-template-columns: 1fr;
+ }
+ }