2D轨道模拟器
详情
概要
通过可调参数模拟2D轨道运动。
提示
此应用是一个2D轨道模拟器,一个小物体在重力作用下绕一个巨大的中心体运动。用户可以使用滑块调整中心质量(1–1000个地球质量)、初始距离(1–100单位)以及初始切向速度(0–50单位,默认1)。更改任一数值将立即重启模拟。应用持续绘制轨迹并显示状态信息,指示物体是处于稳定轨道、已飞出还是撞向中心体(按距离阈值判断)。
原始提示
Create a 2D simulator of a small object orbiting a massive central body due to gravity. Include a form with sliders to adjust the central mass (1–1000 Earth masses), initial distance (1–100 units), and initial tangential velocity (0–50 units, default 1). When values in the form are changed, immediately restart the animation. Animate and draw the orbit and indicate whether the object remains in orbit, escapes, or crashes into the central body. Q: How should the simulator determine the conditions for crashing, escaping, or stable orbit (e.g., thresholds for distance or energy)? A: thresholds for distance Q: Would you like the orbit to be drawn as a continuous trace over time, or should only the current position of the object be displayed? A: yes Q: Do you want to display a status message (such as 'Orbiting', 'Escaped', 'Crashed') on the screen to indicate the current state of the simulation? A: yes
生成成本概要
模型名称: o3-mini-medium
响应时间: 20.00 sec.
结果令牌: 4,100
成本: $0.01854820