File size: 8,735 Bytes
cb40c5e
 
 
 
d4bb901
cb40c5e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d4bb901
cb40c5e
 
 
 
 
dcbbe4c
cb40c5e
 
 
3878434
 
 
 
 
 
51f3ed3
 
3878434
 
 
 
 
a26a4c4
 
 
 
 
 
 
47719ad
cb40c5e
d4bb901
 
 
47719ad
d4bb901
cb40c5e
 
84a0776
 
 
47719ad
84a0776
47719ad
 
84a0776
 
 
47719ad
84a0776
47719ad
 
84a0776
 
 
47719ad
84a0776
d456dc2
47719ad
3050173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84a0776
3050173
84a0776
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
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๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ๋ณธ์ ์ธ ์ด๋ฏธ์ง€ ํŽธ์ง‘ ๋„๊ตฌ๋ฅผ ๋งŒ๋“œ์„ธ์š”. ํ•„ํ„ฐ ์ ์šฉ, ์ž๋ฅด๊ธฐ, ํšŒ์ „ ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•˜์„ธ์š”."
 }
    
]