创建一个独立的 HTML 文件,使用原生 JavaScript 和 Canvas 2D 渲染一个正在施法的动画像素艺术巫师。不允许使用…

Claude Opus 5.5 · @zacxbt · · 视频提示词

在画廊中打开

分享链接 · https://openimages.ajiang.me/p/2103808699466944604/

color_palette · dark-moodycomposition · centeredcomposition · medium-shotquality_flags · screenshot-uiscene · fantasy-worldsubject_type · character

提示词(原文,逐字保留)

Create a single self-contained HTML file that renders an animated pixel art wizard casting a spell, using vanilla JavaScript and Canvas 2D. No external assets, libraries, or network requests. RENDERING - Draw everything to an offscreen canvas at a fixed logical resolution of 128x96, then blit to a fullscreen display canvas scaled by the largest integer factor that fits the window, centered, with imageSmoothingEnabled = false and CSS image-rendering: pixelated. - All drawing snaps to integer coordinates on the logical canvas. No sub-pixel positions, anti-aliasing, gradients, or shadowBlur. - F…

中文译文

创建一个独立的 HTML 文件,使用原生 JavaScript 和 Canvas 2D 渲染一个正在施法的动画像素艺术巫师。不允许使用外部资源、库或网络请求。 渲染 - 在一个固定逻辑分辨率 128x96 的离屏画布上绘制所有内容,然后通过最大的整数缩放因子将其 blit 到全屏显示画布上,居中显示,set imageSmoothingEnabled = false,并设置 CSS image-rendering: pixelated。 - 所有绘制都对齐到逻辑画布上的整数坐标。不允许使用子像素位置、抗锯齿、渐变或 shadowBlur。 - F…

来源与署名

原文由 @zacxbt 发布在 X:查看原推文。 本页逐字保留原文并提供机器翻译的中文解读;版权归原作者所有。

在画廊中浏览

同工具的更多提示词