讨论

旋转七边形内弹跳球的物理模拟

来自 Wikiprompt,自由的提示词百科全书

Alex Prompter

2025年11月30日

旋转七边形内弹跳球的物理模拟 一个编程提示词,用于生成一个物理模拟,展示 20 个编号的球在旋转七边形内带有重力和碰撞检测地弹跳,全部写在一个 HTML 文件中。

相关媒体

提示词内容收藏

此提示词为英文,适用于所有 AI 模型。

Multi-ball heptagon physics. Write html, css, and javascript to display 20 balls bouncing inside a spinning heptagon. Each ball should have a unique color, a number label, gravity, and collision detection with the walls. All code in one file.

登录后即可复制此提示词并保存到你的收藏

登录

用法

此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:coding| twitter| physics-simulation| html-css-js

讨论