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

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

在画廊中打开

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

composition · centeredcomposition · medium-shotscene · fantasy-worldsubject_type · abstractsubject_type · charactervisual_style · digital-painting

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

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 到全屏显示画布上,居中显示,设置 imageSmoothingEnabled = false 和 CSS image-rendering: pixelated。 - 所有绘制都应对齐到逻辑画布上的整数坐标。不允许使用亚像素位置、抗锯齿、渐变或 shadowBlur。 - F…

来源与署名

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

在画廊中浏览

同工具的更多提示词