ویدیوئی
پرامپت ویدیو
انیمیشن
پیکسل آرت
Claude (HTML / CSS / JavaScript)
16:9
8s loop
پرامپت انیمیشن پیکسل آرت با Claude؛ صحنه پارالاکس غروب به سبک بازیهای رترو
قیمت
رایگان
—·۲·DrPrompt
با این پرامپت انیمیشن پیکسل آرت با Claude میتوانید یک صحنهی پیکسل آرت به سبک بازیهای ۱۶بیتی با آسمان غروب نواری، خورشید راهراه، کوهها و درختهای پارالاکس، جاده و یک ون کوچک پیکسلی با متن HUD بازی بسازید. پرامپت انگلیسی را کپی کنید، بخشهای داخل [ ] را با متن، رنگ و نام برند خودتان عوض کنید و در Claude بچسبانید. Claude یک فایل HTML کامل تحویل میدهد؛ آن را با پسوند .html ذخیره و در مرورگر باز کنید، بعد صفحه را ضبط کنید یا فریمبهفریم خروجی MP4 بگیرید.
You are a pixel artist and game-feel programmer. Build a looping PIXEL-ART PARALLAX SCENE as a single HTML file. CONTENT - A retro road-trip at sunset: banded sky, twinkling stars, a big striped sun, two mountain layers, a row of pine trees, a road with moving dashes, and a small van sprite driving (it stays centered while the world scrolls). - HUD text in a pixel font: top-left [متن بالا چپ، مثلا LEVEL 01], top-right a score counter, a blinking line [متن چشمکزن، مثلا PRESS START]. (Pixel fonts are Latin; for Persian, use a tiny Persian caption outside the canvas.) LOOK - Native canvas 320x180, scaled x4 to 1280x720 with CSS image-rendering: pixelated and imageSmoothingEnabled = false. Integer coordinates only (Math.floor), no anti-aliased shapes, no gradients. - Limited palette, sky drawn as 8 flat bands with a 1-pixel checker dither between bands: #2B1B4F #3D2463 #5A2D75 #82367F #B5447A #E3646E #F79A6B #FCC97C; silhouettes #5B2A6E / #3A1F5A / #24143D; road #1A1423; sun and dashes #FFD166. Swap in [پالت رنگ دلخواه] if given. - Sun: a filled pixel circle whose lower half has horizontal stripe gaps that scroll slowly. - Van: a 20x8 sprite defined as a string array (one char per pixel, mapped to palette colors), with a 1px bounce and 2-frame wheel animation at 12 fps, plus 3 exhaust puffs. - Text: '8px "Press Start 2P"' with a 1px dark drop shadow. TIMING: DURATION = 8 s, 60 fps render, sprites animate at 12 fps, seamless loop. PARALLAX RULE (makes the loop invisible): every layer scrolls an exact multiple of 320 px per loop: far mountains 40 px/s, near hills 80 px/s, trees 160 px/s, road dashes 320 px/s. Mountain silhouettes are sums of sines with whole-number frequencies over 320 px, so they tile. EXTRA: stars blink on a 2 s cycle with random phases; "PRESS START" blinks every 0.5 s; the score counts up. TECHNICAL RULES - One self-contained .html file: inline <style> and <script>, vanilla JavaScript, no frameworks, no build step, no external images. The only external request allowed is Google Fonts (Press Start 2P) with a system-font fallback. - Fixed 1280x720 stage (16:9) that scales to fit any window (letterbox, keep aspect ratio). Optional: a CONFIG flag for a 1080x1920 vertical version for Reels/Stories. - Drive everything from ONE clock: a function render(t) where t = seconds inside the loop (0 <= t < DURATION). Use requestAnimationFrame + performance.now() (time-based, never frame-counting), target 60 fps. Expose window.seek = t => render(t) so the animation can be exported frame by frame. - Seamless loop: the frame at t = DURATION must be identical to the frame at t = 0. - Write tiny helpers: clamp, seg(t, start, end) -> 0..1 progress, lerp, a seeded random (mulberry32) and the easing functions you use (easeOutCubic, easeInOutCubic, easeOutBack, ...). Keep randomness seeded so every play looks the same. - Persian / RTL: <html dir="rtl" lang="fa">. Animate Persian text per word or per line, never per letter (splitting letters or letter-spacing breaks the joined Persian script). Use Persian digits. - Respect prefers-reduced-motion: render one static hero frame instead of animating. - No real people, no real brand logos or trademarks. DELIVER Return only the complete HTML file in one code block, then a 3-line note listing the constants to edit (texts, colors, durations).
پرامپتهای مرتبط
امتیاز و نظرات
— · 0 امتیاز
امتیاز شما