Write a p5.js script that simulates 25 particles in a vacuum space of a cylindrical container, bouncing within its boundaries. Use different colors for each ball and ensure they leave a trail showing their movement. Add a slow rotation of the container to give better view of what's going on in the scene. Make sure to create proper collision detection and physic rules to ensure particles remain in the container. Add an external spherical container. Add a slow zoom in and zoom out effect to the whole scene.
使用指南:释放Gemini 2.0全部实力的两大关键技巧
经过反复测试,
我发现了一些使用Gemini 2.0的关键技巧,
分享给大家:
1. 选对模型版本,战斗力直接拉满
首先访问:https://gemini.google.com/
(注意:需要谷歌账号和科学上网,建议选择英国或美国节点)
Gemini提供了几个版本:
2.0 Flash:基础聊天版
2.0 Flash Thinking Experimental:增强推理版
2.0 Flash Thinking Experimental with apps:推理+联网版
1.5 Flash:旧版本,不推荐
? 强烈推荐直接使用:2.0 Flash Thinking Experimental with apps