Changes to wallpaperscroll.pub.scroll.pub

root
root
8 days ago
Initial commit
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://wallpaperscroll.pub
+ metaTags
+ editButton /edit.html
+ title Animated Live Wallpapers
+ style.css
+
+ header
+ class hero
+ nav
+ div WallpaperScroll
+ class logo
+ div
+ class nav-links
+ a Gallery
+ href #gallery
+ a Create
+ href #create
+ a Edit
+ href edit.html
+ div
+ class hero-content
+ h1 Animated Live Wallpapers
+ p Create, customize, and preview stunning animated wallpapers for your idle screens
+ a Start Creating
+ class primary-button
+ href #create
+ main
+ section
+ id gallery
+ class gallery
+ h2 Wallpaper Gallery
+ div
+ class wallpaper-grid
+ div
+ class wallpaper-card
+ div
+ class wallpaper-preview
+ img
+ src /wallpapers/1.gif
+ alt Wallpaper 1
+ h3 Ocean Waves
+ p Calming ocean waves in a loop
+ div
+ class wallpaper-card
+ div
+ class wallpaper-preview
+ img
+ src /wallpapers/2.gif
+ alt Wallpaper 2
+ h3 Starry Night
+ p Twinkling stars in a dark sky
+ div
+ class wallpaper-card
+ div
+ class wallpaper-preview
+ img
+ src /wallpapers/3.gif
+ alt Wallpaper 3
+ h3 Forest Glow
+ p Mystical glowing forest
+ div
+ class wallpaper-card
+ div
+ class wallpaper-preview
+ img
+ src /wallpapers/4.gif
+ alt Wallpaper 4
+ h3 City Lights
+ p Neon cityscape at night
+ section
+ id create
+ class create
+ h2 Create Your Wallpaper
+ div
+ class editor-container
+ div
+ class canvas-container
+ canvas
+ id wallpaper-canvas
+ div
+ class controls
+ div
+ class control-group
+ label Background Color
+ input
+ type color
+ id bg-color
+ value #000000
+ div
+ class control-group
+ label Animation Speed
+ input
+ type range
+ id animation-speed
+ min 1
+ max 10
+ value 5
+ div
+ class control-group
+ label Add Element
+ select
+ id element-select
+ option Circle
+ option Square
+ option Triangle
+ button
+ id add-element
+ class primary-button
+ Add Element
+ button
+ id save-wallpaper
+ class cta-button
+ Save Wallpaper
+ footer
+ div
+ class footer-content
+ div
+ class footer-links
+ a Gallery
+ href #gallery
+ a Create
+ href #create
+ a Edit
+ href edit.html
+ p Made with ❤️ by WallpaperScroll
+
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "a25e5eae-abb2-4cd5-affd-86dbc36f5c97",
+ "object": "chat.completion",
+ "created": 1742760308,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nwallpaperscroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://wallpaperscroll.pub\nmetaTags\neditButton /edit.html\ntitle Animated Live Wallpapers\nstyle.css\n\nheader\n class hero\n nav\n div WallpaperScroll\n class logo\n div\n class nav-links\n a Gallery\n href #gallery\n a Create\n href #create\n a Edit\n href edit.html\n div\n class hero-content\n h1 Animated Live Wallpapers\n p Create, customize, and preview stunning animated wallpapers for your idle screens\n a Start Creating\n class primary-button\n href #create\nmain\n section\n id gallery\n class gallery\n h2 Wallpaper Gallery\n div\n class wallpaper-grid\n div\n class wallpaper-card\n div\n class wallpaper-preview\n img\n src /wallpapers/1.gif\n alt Wallpaper 1\n h3 Ocean Waves\n p Calming ocean waves in a loop\n div\n class wallpaper-card\n div\n class wallpaper-preview\n img\n src /wallpapers/2.gif\n alt Wallpaper 2\n h3 Starry Night\n p Twinkling stars in a dark sky\n div\n class wallpaper-card\n div\n class wallpaper-preview\n img\n src /wallpapers/3.gif\n alt Wallpaper 3\n h3 Forest Glow\n p Mystical glowing forest\n div\n class wallpaper-card\n div\n class wallpaper-preview\n img\n src /wallpapers/4.gif\n alt Wallpaper 4\n h3 City Lights\n p Neon cityscape at night\n section\n id create\n class create\n h2 Create Your Wallpaper\n div\n class editor-container\n div\n class canvas-container\n canvas\n id wallpaper-canvas\n div\n class controls\n div\n class control-group\n label Background Color\n input\n type color\n id bg-color\n value #000000\n div\n class control-group\n label Animation Speed\n input\n type range\n id animation-speed\n min 1\n max 10\n value 5\n div\n class control-group\n label Add Element\n select\n id element-select\n option Circle\n option Square\n option Triangle\n button\n id add-element\n class primary-button\n Add Element\n button\n id save-wallpaper\n class cta-button\n Save Wallpaper\nfooter\n div\n class footer-content\n div\n class footer-links\n a Gallery\n href #gallery\n a Create\n href #create\n a Edit\n href edit.html\n p Made with ❤️ by WallpaperScroll\n\nscript.js\n---style.css---\n:root {\n --primary: #6366f1;\n --primary-hover: #4f46e5;\n --background: #0f172a;\n --text: #f8fafc;\n --card-bg: #1e293b;\n}\n\nbody {\n background: var(--background);\n color: var(--text);\n font-family: system-ui, sans-serif;\n margin: 0;\n min-height: 100vh;\n}\n\n.hero {\n background: linear-gradient(45deg, #1e293b, #0f172a);\n padding: 4rem 2rem;\n text-align: center;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n}\n\n.nav-links {\n display: flex;\n gap: 1rem;\n justify-content: center;\n margin-top: 1rem;\n}\n\n.hero-content {\n max-width: 800px;\n margin: 0 auto;\n}\n\nh1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n}\n\n.primary-button, .cta-button {\n background: var(--primary);\n color: white;\n padding: 0.75rem 1.5rem;\n border-radius: 0.5rem;\n text-decoration: none;\n display: inline-block;\n margin: 1rem 0;\n border: none;\n cursor: pointer;\n}\n\n.primary-button:hover, .cta-button:hover {\n background: var(--primary-hover);\n}\n\n.wallpaper-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n padding: 2rem;\n}\n\n.wallpaper-card {\n background: var(--card-bg);\n border-radius: 1rem;\n overflow: hidden;\n transition: transform 0.2s;\n}\n\n.wallpaper-card:hover {\n transform: translateY(-5px);\n}\n\n.wallpaper-preview {\n position: relative;\n padding-top: 56.25%;\n overflow: hidden;\n}\n\n.wallpaper-preview img {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n.editor-container {\n display: grid;\n grid-template-columns: 1fr 300px;\n gap: 2rem;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.canvas-container {\n position: relative;\n background: var(--card-bg);\n border-radius: 1rem;\n overflow: hidden;\n}\n\n#wallpaper-canvas {\n width: 100%;\n height: 100%;\n min-height: 500px;\n}\n\n.controls {\n background: var(--card-bg);\n padding: 1rem;\n border-radius: 1rem;\n}\n\n.control-group {\n margin-bottom: 1rem;\n}\n\n.control-group label {\n display: block;\n margin-bottom: 0.5rem;\n}\n\n.control-group input, .control-group select {\n width: 100%;\n padding: 0.5rem;\n border-radius: 0.5rem;\n border: 1px solid #334155;\n background: #0f172a;\n color: var(--text);\n}\n\nfooter {\n background: #1e293b;\n padding: 2rem;\n text-align: center;\n}\n\n.footer-links {\n display: flex;\n gap: 1rem;\n justify-content: center;\n margin-bottom: 1rem;\n}\n\n@media (max-width: 768px) {\n .editor-container {\n grid-template-columns: 1fr;\n }\n \n .hero-content h1 {\n font-size: 2rem;\n }\n}\n---script.js---\nconst canvas = document.getElementById('wallpaper-canvas');\nconst ctx = canvas.getContext('2d');\nconst bgColor = document.getElementById('bg-color');\nconst animationSpeed = document.getElementById('animation-speed');\nconst elementSelect = document.getElementById('element-select');\nconst addElementBtn = document.getElementById('add-element');\nconst saveWallpaperBtn = document.getElementById('save-wallpaper');\n\nlet elements = [];\nlet animationFrame;\n\n// Set canvas size\nfunction setCanvasSize() {\n canvas.width = canvas.offsetWidth;\n canvas.height = canvas.offsetHeight;\n}\n\n// Create new element\nfunction createElement(type) {\n return {\n type,\n x: Math.random() * canvas.width,\n y: Math.random() * canvas.height,\n size: Math.random() * 50 + 20,\n speed: Math.random() * 2 + 1,\n angle: Math.random() * Math.PI * 2,\n color: `hsl(${Math.random() * 360}, 50%, 50%)`\n };\n}\n\n// Draw elements\nfunction drawElements() {\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n ctx.fillStyle = bgColor.value;\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n\n elements.forEach(element => {\n ctx.beginPath();\n ctx.fillStyle = element.color;\n \n switch(element.type) {\n case 'Circle':\n ctx.arc(element.x, element.y, element.size / 2, 0, Math.PI * 2);\n break;\n case 'Square':\n ctx.fillRect(element.x - element.size/2, element.y - element.size/2, element.size, element.size);\n break;\n case 'Triangle':\n ctx.moveTo(element.x, element.y - element.size/2);\n ctx.lineTo(element.x + element.size/2, element.y + element.size/2);\n ctx.lineTo(element.x - element.size/2, element.y + element.size/2);\n ctx.closePath();\n break;\n }\n \n ctx.fill();\n \n // Update position\n element.x += Math.cos(element.angle) * element.speed;\n element.y += Math.sin(element.angle) * element.speed;\n \n // Bounce off edges\n if (element.x < 0 || element.x > canvas.width) element.angle = Math.PI - element.angle;\n if (element.y < 0 || element.y > canvas.height) element.angle = -element.angle;\n });\n}\n\n// Animation loop\nfunction animate() {\n drawElements();\n animationFrame = requestAnimationFrame(animate);\n}\n\n// Event listeners\nwindow.addEventListener('resize', () => {\n setCanvasSize();\n drawElements();\n});\n\nbgColor.addEventListener('input', drawElements);\n\nanimationSpeed.addEventListener('input', () => {\n elements.forEach(element => {\n element.speed = animationSpeed.value;\n });\n});\n\naddElementBtn.addEventListener('click', () => {\n elements.push(createElement(elementSelect.value));\n});\n\nsaveWallpaperBtn.addEventListener('click', () => {\n const link = document.createElement('a');\n link.download = 'wallpaper.gif';\n link.href = canvas.toDataURL('image/gif');\n link.click();\n});\n\n// Initialize\nsetCanvasSize();\nanimate();\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 778,
+ "completion_tokens": 2188,
+ "total_tokens": 2966,
+ "prompt_tokens_details": {
+ "cached_tokens": 0
+ },
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 778
+ },
+ "system_fingerprint": "fp_3a5770e1b4_prod0225"
+ }
readme.scroll
Changed around line 1
+ # wallpaperscroll.pub.scroll.pub
+
+ Prompt: website
+ Agent: deepseek
+ Model: deepseek-chat
+
+ ## User prompt
+ create a website that can generate animated live wallpapers that play on a loop that can be used for idle screens let users be able to modify the wallpapers and also have a gallery of preset wallpapers that can be previewed on cards and then clicked on and fully activated filling up the screen effortlessly
+
+ ## System prompt
+ You are an expert web developer. Create a website based on this request: "create a website that can generate animated live wallpapers that play on a loop that can be used for idle screens let users be able to modify the wallpapers and also have a gallery of preset wallpapers that can be previewed on cards and then clicked on and fully activated filling up the screen effortlessly"
+
+ 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
+ const canvas = document.getElementById('wallpaper-canvas');
+ const ctx = canvas.getContext('2d');
+ const bgColor = document.getElementById('bg-color');
+ const animationSpeed = document.getElementById('animation-speed');
+ const elementSelect = document.getElementById('element-select');
+ const addElementBtn = document.getElementById('add-element');
+ const saveWallpaperBtn = document.getElementById('save-wallpaper');
+
+ let elements = [];
+ let animationFrame;
+
+ // Set canvas size
+ function setCanvasSize() {
+ canvas.width = canvas.offsetWidth;
+ canvas.height = canvas.offsetHeight;
+ }
+
+ // Create new element
+ function createElement(type) {
+ return {
+ type,
+ x: Math.random() * canvas.width,
+ y: Math.random() * canvas.height,
+ size: Math.random() * 50 + 20,
+ speed: Math.random() * 2 + 1,
+ angle: Math.random() * Math.PI * 2,
+ color: `hsl(${Math.random() * 360}, 50%, 50%)`
+ };
+ }
+
+ // Draw elements
+ function drawElements() {
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
+ ctx.fillStyle = bgColor.value;
+ ctx.fillRect(0, 0, canvas.width, canvas.height);
+
+ elements.forEach(element => {
+ ctx.beginPath();
+ ctx.fillStyle = element.color;
+
+ switch(element.type) {
+ case 'Circle':
+ ctx.arc(element.x, element.y, element.size / 2, 0, Math.PI * 2);
+ break;
+ case 'Square':
+ ctx.fillRect(element.x - element.size/2, element.y - element.size/2, element.size, element.size);
+ break;
+ case 'Triangle':
+ ctx.moveTo(element.x, element.y - element.size/2);
+ ctx.lineTo(element.x + element.size/2, element.y + element.size/2);
+ ctx.lineTo(element.x - element.size/2, element.y + element.size/2);
+ ctx.closePath();
+ break;
+ }
+
+ ctx.fill();
+
+ // Update position
+ element.x += Math.cos(element.angle) * element.speed;
+ element.y += Math.sin(element.angle) * element.speed;
+
+ // Bounce off edges
+ if (element.x < 0 || element.x > canvas.width) element.angle = Math.PI - element.angle;
+ if (element.y < 0 || element.y > canvas.height) element.angle = -element.angle;
+ });
+ }
+
+ // Animation loop
+ function animate() {
+ drawElements();
+ animationFrame = requestAnimationFrame(animate);
+ }
+
+ // Event listeners
+ window.addEventListener('resize', () => {
+ setCanvasSize();
+ drawElements();
+ });
+
+ bgColor.addEventListener('input', drawElements);
+
+ animationSpeed.addEventListener('input', () => {
+ elements.forEach(element => {
+ element.speed = animationSpeed.value;
+ });
+ });
+
+ addElementBtn.addEventListener('click', () => {
+ elements.push(createElement(elementSelect.value));
+ });
+
+ saveWallpaperBtn.addEventListener('click', () => {
+ const link = document.createElement('a');
+ link.download = 'wallpaper.gif';
+ link.href = canvas.toDataURL('image/gif');
+ link.click();
+ });
+
+ // Initialize
+ setCanvasSize();
+ animate();
style.css
Changed around line 1
+ :root {
+ --primary: #6366f1;
+ --primary-hover: #4f46e5;
+ --background: #0f172a;
+ --text: #f8fafc;
+ --card-bg: #1e293b;
+ }
+
+ body {
+ background: var(--background);
+ color: var(--text);
+ font-family: system-ui, sans-serif;
+ margin: 0;
+ min-height: 100vh;
+ }
+
+ .hero {
+ background: linear-gradient(45deg, #1e293b, #0f172a);
+ padding: 4rem 2rem;
+ text-align: center;
+ }
+
+ .logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ }
+
+ .nav-links {
+ display: flex;
+ gap: 1rem;
+ justify-content: center;
+ margin-top: 1rem;
+ }
+
+ .hero-content {
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ h1 {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+ }
+
+ .primary-button, .cta-button {
+ background: var(--primary);
+ color: white;
+ padding: 0.75rem 1.5rem;
+ border-radius: 0.5rem;
+ text-decoration: none;
+ display: inline-block;
+ margin: 1rem 0;
+ border: none;
+ cursor: pointer;
+ }
+
+ .primary-button:hover, .cta-button:hover {
+ background: var(--primary-hover);
+ }
+
+ .wallpaper-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ }
+
+ .wallpaper-card {
+ background: var(--card-bg);
+ border-radius: 1rem;
+ overflow: hidden;
+ transition: transform 0.2s;
+ }
+
+ .wallpaper-card:hover {
+ transform: translateY(-5px);
+ }
+
+ .wallpaper-preview {
+ position: relative;
+ padding-top: 56.25%;
+ overflow: hidden;
+ }
+
+ .wallpaper-preview img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
+
+ .editor-container {
+ display: grid;
+ grid-template-columns: 1fr 300px;
+ gap: 2rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+
+ .canvas-container {
+ position: relative;
+ background: var(--card-bg);
+ border-radius: 1rem;
+ overflow: hidden;
+ }
+
+ #wallpaper-canvas {
+ width: 100%;
+ height: 100%;
+ min-height: 500px;
+ }
+
+ .controls {
+ background: var(--card-bg);
+ padding: 1rem;
+ border-radius: 1rem;
+ }
+
+ .control-group {
+ margin-bottom: 1rem;
+ }
+
+ .control-group label {
+ display: block;
+ margin-bottom: 0.5rem;
+ }
+
+ .control-group input, .control-group select {
+ width: 100%;
+ padding: 0.5rem;
+ border-radius: 0.5rem;
+ border: 1px solid #334155;
+ background: #0f172a;
+ color: var(--text);
+ }
+
+ footer {
+ background: #1e293b;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ .footer-links {
+ display: flex;
+ gap: 1rem;
+ justify-content: center;
+ margin-bottom: 1rem;
+ }
+
+ @media (max-width: 768px) {
+ .editor-container {
+ grid-template-columns: 1fr;
+ }
+
+ .hero-content h1 {
+ font-size: 2rem;
+ }
+ }