|
SystemPrompt = """๋์ ์ด๋ฆ์ 'MOUSE'์ด๋ค. You are an expert HTML, JavaScript, and CSS developer with a keen eye for modern, aesthetically pleasing design. |
|
Your task is to create a stunning, contemporary, and highly functional website based on the user's request using pure HTML, JavaScript, and CSS. |
|
This code will be rendered directly in the browser. |
|
|
|
General guidelines: |
|
- Create clean, modern interfaces using vanilla JavaScript and CSS |
|
- Use HTML5 semantic elements for better structure |
|
- Implement CSS3 features for animations and styling |
|
- Utilize modern JavaScript (ES6+) features |
|
- Create responsive designs using CSS media queries |
|
- You can use CDN-hosted libraries like: |
|
* jQuery |
|
* Bootstrap |
|
* Chart.js |
|
* Three.js |
|
* D3.js |
|
- For icons, use Unicode symbols or create simple SVG icons |
|
- Use CSS animations and transitions for smooth effects |
|
- Implement proper event handling with JavaScript |
|
- Create mock data instead of making API calls |
|
- Ensure cross-browser compatibility |
|
- Focus on performance and smooth animations |
|
|
|
Focus on creating a visually striking and user-friendly interface that aligns with current web design trends. Pay special attention to: |
|
- Typography: Use web-safe fonts or Google Fonts via CDN |
|
- Color: Implement a cohesive color scheme that complements the content |
|
- Layout: Design an intuitive and balanced layout using Flexbox/Grid |
|
- Animations: Add subtle CSS transitions and keyframe animations |
|
- Consistency: Maintain a consistent design language throughout |
|
|
|
Remember to only return code wrapped in HTML code blocks. The code should work directly in a browser without any build steps. |
|
Remember not add any description, just return the code only. |
|
""" |
|
|
|
DEMO_LIST = [ |
|
{ |
|
"card": { |
|
"index": 0, |
|
}, |
|
"title": "MOUSE๏ผStart๏ผ", |
|
"description": "Help me design an interface with a purple button that says 'MOUSE, Start!'. When the button is clicked, display a countdown from 5 in a very large font for 5 seconds.", |
|
}, |
|
{ |
|
"card": { |
|
"index": 1, |
|
}, |
|
"title": "Spam with emojis!", |
|
"description": "Write code in a single HTML file: Capture the click event, place a random number of emojis at the click position, and add gravity and collision effects to each emoji." |
|
}, |
|
{ |
|
"card": { |
|
"index": 2, |
|
}, |
|
"title": "๋ค์ด๋๋ฏน ์ฐจํธ ๋์ฌ๋ณด๋", |
|
"description": "Create an interactive dashboard with Chart.js showing different types of charts (line, bar, pie) with smooth animations. Include buttons to switch between different data views.", |
|
}, |
|
{ |
|
"card": { |
|
"index": 3, |
|
}, |
|
"title": "Canvas Animation Gallery", |
|
"description": "Design a gallery of HTML5 Canvas animations including particle effects, geometric patterns, and interactive drawings. Add controls to pause/play and modify animation parameters.", |
|
}, |
|
{ |
|
"card": { |
|
"index": 4, |
|
}, |
|
"title": "์์
๋น์ฃผ์ผ๋ผ์ด์ ", |
|
"description": "Web Audio API์ Canvas๋ฅผ ์ฌ์ฉํ์ฌ ์ค๋์ค ๋น์ฃผ์ผ๋ผ์ด์ ๋ฅผ ์ ์ํด ๋ณด์ธ์. ์์
์ฃผํ์ ๋ฐ์ดํฐ์ ๋ฐ์ํ๋ ๋์ ์ธ ๋ง๋๋ค์ด ๋ถ๋๋ฌ์ด ์ ๋๋ฉ์ด์
์ผ๋ก ์์ง์ด๋๋ก ๊ตฌํํด์ผ ํฉ๋๋ค. ๋ํ ์ฌ์/์ผ์ ์ ์ง ์ปจํธ๋กค๊ณผ ์์ ํ
๋ง ์ ํ ๊ธฐ๋ฅ๋ ํฌํจํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 5, |
|
}, |
|
"title": "Interactive Timeline", |
|
"description": "Create a vertical timeline with animated entry points. When clicking on timeline items, show detailed information with smooth transitions. Include filtering options and scroll animations." |
|
}, |
|
{ |
|
"card": { |
|
"index": 6, |
|
}, |
|
"title": "์นด๋ ๊ธฐ์ต ๊ฒ์", |
|
"description": "Create a classic memory matching card game with flip animations. Include a scoring system, timer, and difficulty levels. Add satisfying match/mismatch animations and sound effects using Web Audio API." |
|
}, |
|
|
|
{ |
|
"card": { |
|
"index": 7 |
|
}, |
|
"title": "์ธํฐ๋ํฐ๋ธ ์ปฌ๋ฌ ํ๋ ํธ", |
|
"description": "๋ง์ฐ์ค ์์ง์์ ๋ฐ๋ผ ๋์ ์ผ๋ก ๋ณํ๋ ์ปฌ๋ฌ ํ๋ ํธ๋ฅผ ๋ง๋์ธ์. ์์ ์ ํ, ์ ์ฅ, ์กฐํฉ ๊ธฐ๋ฅ๊ณผ ํจ๊ป ๋ถ๋๋ฌ์ด ๊ทธ๋ผ๋ฐ์ด์
ํจ๊ณผ๋ฅผ ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 8 |
|
}, |
|
"title": "๋ ์จ ์์ ฏ ์ ๋๋ฉ์ด์
", |
|
"description": "ํ์ฌ ๋ ์จ ์ํ๋ฅผ ๋ณด์ฌ์ฃผ๋ ์ ๋๋ฉ์ด์
์์ ฏ์ ๋ง๋์ธ์. ๋น, ๋, ๊ตฌ๋ฆ, ๋ฒ๊ฐ ๋ฑ์ ๋ ์จ ํจ๊ณผ๋ฅผ Canvas๋ก ๊ตฌํํ๊ณ ๋ถ๋๋ฌ์ด ์ ํ ํจ๊ณผ๋ฅผ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 9 |
|
}, |
|
"title": "ํํฐํด ํ
์คํธ ์ดํํธ", |
|
"description": "ํ
์คํธ๊ฐ ํํฐํด๋ก ๋ณํ๋๋ ํจ๊ณผ๋ฅผ ๊ตฌํํ์ธ์. ๋ง์ฐ์ค ํธ๋ฒ์ ๊ธ์๊ฐ ํฉ์ด์ก๋ค๊ฐ ๋ค์ ๋ชจ์ด๋ ์ ๋๋ฉ์ด์
์ Canvas๋ก ๋ง๋์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 10 |
|
}, |
|
"title": "3D ์ฑ
์ฅ ๊ฐค๋ฌ๋ฆฌ", |
|
"description": "CSS 3D ๋ณํ์ ์ฌ์ฉํ์ฌ ํ์ ํ๋ ์ฑ
์ฅ ํํ์ ๊ฐค๋ฌ๋ฆฌ๋ฅผ ๋ง๋์ธ์. ๊ฐ ์ฑ
์ ํด๋ฆญํ๋ฉด ์์ธ ์ ๋ณด๊ฐ ๋ํ๋๋๋ก ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 11 |
|
}, |
|
"title": "๋ฆฌ๋ฌ ๊ฒ์", |
|
"description": "Web Audio API๋ฅผ ํ์ฉํ ๊ฐ๋จํ ๋ฆฌ๋ฌ ๊ฒ์์ ๋ง๋์ธ์. ๋จ์ด์ง๋ ๋
ธํธ์ ํ์ด๋ฐ ํ์ , ์ ์ ์์คํ
์ ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 12 |
|
}, |
|
"title": "SVG ํจ์ค ์ ๋๋ฉ์ด์
", |
|
"description": "SVG ํจ์ค๋ฅผ ๋ฐ๋ผ ์์ง์ด๋ ์ ๋๋ฉ์ด์
์ ๊ตฌํํ์ธ์. ๋ค์ํ ๋ํ์ด ๊ทธ๋ ค์ง๋ ๊ณผ์ ์ ๋ณด์ฌ์ฃผ๊ณ ์ธํฐ๋ํฐ๋ธํ ์ปจํธ๋กค์ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 13 |
|
}, |
|
"title": "๋๋ก์ ๋ณด๋", |
|
"description": "Canvas๋ฅผ ์ฌ์ฉํ ๊ทธ๋ฆฌ๊ธฐ ๋๊ตฌ๋ฅผ ๋ง๋์ธ์. ๋ธ๋ฌ์ ํฌ๊ธฐ, ์์ ๋ณ๊ฒฝ, ์ง์ฐ๊ฐ ๊ธฐ๋ฅ๊ณผ ๊ทธ๋ฆฌ๊ธฐ ๊ธฐ๋ก ์ ์ฅ ๊ธฐ๋ฅ์ ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 14 |
|
}, |
|
"title": "ํผ์ฆ ์ฌ๋ผ์ด๋ ๊ฒ์", |
|
"description": "์ซ์๋ ์ด๋ฏธ์ง๋ฅผ ์ฌ์ฉํ ์ฌ๋ผ์ด๋ ํผ์ฆ ๊ฒ์์ ๋ง๋์ธ์. ์ด๋ ์ ๋๋ฉ์ด์
๊ณผ ์์ฑ ํ์ธ ๊ธฐ๋ฅ์ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 15 |
|
}, |
|
"title": "ํํฐํด ์ปค์ ํจ๊ณผ", |
|
"description": "๋ง์ฐ์ค ์ปค์๋ฅผ ๋ฐ๋ผ๋ค๋๋ ํํฐํด ํจ๊ณผ๋ฅผ ๋ง๋์ธ์. ๋ค์ํ ํํฐํด ํจํด๊ณผ ์์ ๋ณํ๋ฅผ ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 16 |
|
}, |
|
"title": "์ธํฐ๋ํฐ๋ธ ๋ฌ๋ ฅ", |
|
"description": "๋๋๊ทธ ์ค ๋๋กญ์ผ๋ก ์ผ์ ์ ๊ด๋ฆฌํ ์ ์๋ ๋ฌ๋ ฅ์ ๋ง๋์ธ์. ์ ๋๋ฉ์ด์
ํจ๊ณผ์ ์ผ์ ํํฐ๋ง ๊ธฐ๋ฅ์ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 17 |
|
}, |
|
"title": "๋ชจ์
๊ฐค๋ฌ๋ฆฌ", |
|
"description": "์คํฌ๋กค์ ๋ฐ์ํ๋ ์ด๋ฏธ์ง ๊ฐค๋ฌ๋ฆฌ๋ฅผ ๋ง๋์ธ์. ํจ๋ด๋์ค ํจ๊ณผ์ ๋ถ๋๋ฌ์ด ์ ํ ์ ๋๋ฉ์ด์
์ ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 18 |
|
}, |
|
"title": "ํ์ ๊ฒ์", |
|
"description": "๋จ์ด์ง๋ ๋จ์ด๋ฅผ ํ์ดํํ์ฌ ์ ์๋ฅผ ์ป๋ ๊ฒ์์ ๋ง๋์ธ์. ๋์ด๋ ์กฐ์ ๊ณผ ํจ๊ณผ์์ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 19 |
|
}, |
|
"title": "๋ฐ์ดํฐ ์๊ฐํ ์ ๋๋ฉ์ด์
", |
|
"description": "D3.js๋ฅผ ์ฌ์ฉํ์ฌ ๋ฐ์ดํฐ ๋ณํ๋ฅผ ์ ๋๋ฉ์ด์
์ผ๋ก ๋ณด์ฌ์ฃผ๋ ์ฐจํธ๋ฅผ ๋ง๋์ธ์. ๋ค์ํ ์ ํ ํจ๊ณผ๋ฅผ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 20 |
|
}, |
|
"title": "๋ฌด๋ ๋ณด๋ ์์ฑ๊ธฐ", |
|
"description": "๋๋๊ทธ ์ค ๋๋กญ์ผ๋ก ์ด๋ฏธ์ง๋ฅผ ๋ฐฐ์นํ๊ณ ํํฐ๋ฅผ ์ ์ฉํ ์ ์๋ ๋ฌด๋ ๋ณด๋ ์์ฑ๊ธฐ๋ฅผ ๋ง๋์ธ์. ๋ ์ด์์ ์ ์ฅ ๊ธฐ๋ฅ์ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 21 |
|
}, |
|
"title": "๋ฌผ๋ฆฌ ์๋ฎฌ๋ ์ด์
", |
|
"description": "Canvas๋ฅผ ์ฌ์ฉํ์ฌ ๊ฐ๋จํ ๋ฌผ๋ฆฌ ์๋ฎฌ๋ ์ด์
์ ๊ตฌํํ์ธ์. ์ค๋ ฅ, ์ถฉ๋, ํ์ฑ ํจ๊ณผ๋ฅผ ์ ์ฉํ ๊ณต ํ๊ธฐ๊ธฐ ์๋ฎฌ๋ ์ด์
์ ๋ง๋์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 22 |
|
}, |
|
"title": "์ฌ์ด๋ ๋ฏน์", |
|
"description": "Web Audio API๋ฅผ ์ฌ์ฉํ์ฌ ์ฌ๋ฌ ์์์ ๋ฏน์ฑํ ์ ์๋ ์ธํฐํ์ด์ค๋ฅผ ๋ง๋์ธ์. ๋ณผ๋ฅจ, ํจ๋, ์ดํํธ ์กฐ์ ๊ธฐ๋ฅ์ ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 23 |
|
}, |
|
"title": "3D ์นด๋ ๊ฐค๋ฌ๋ฆฌ", |
|
"description": "Three.js๋ฅผ ์ฌ์ฉํ์ฌ 3D ๊ณต๊ฐ์์ ํ์ ํ๋ ์นด๋ ๊ฐค๋ฌ๋ฆฌ๋ฅผ ๋ง๋์ธ์. ๋ง์ฐ์ค ์ธํฐ๋์
๊ณผ ์ ๋๋ฉ์ด์
์ ์ถ๊ฐํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 24 |
|
}, |
|
"title": "์ธํฐ๋ํฐ๋ธ ๋งต", |
|
"description": "SVG๋ฅผ ์ฌ์ฉํ์ฌ ์ธํฐ๋ํฐ๋ธํ ์ง๋๋ฅผ ๋ง๋์ธ์. ์ง์ญ ์ ํ, ๋ฐ์ดํฐ ์๊ฐํ, ์ค ๊ธฐ๋ฅ์ ๊ตฌํํ์ธ์." |
|
}, |
|
{ |
|
"card": { |
|
"index": 25 |
|
}, |
|
"title": "ํฌํ ์๋ํฐ", |
|
"description": "Canvas๋ฅผ ์ฌ์ฉํ์ฌ ๊ธฐ๋ณธ์ ์ธ ์ด๋ฏธ์ง ํธ์ง ๋๊ตฌ๋ฅผ ๋ง๋์ธ์. ํํฐ ์ ์ฉ, ์๋ฅด๊ธฐ, ํ์ ๊ธฐ๋ฅ์ ๊ตฌํํ์ธ์." |
|
} |
|
|
|
] |
|
|