Merged
Conversation
Owner
|
调整了一下样式,选项移动到页面左下角; |
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
每隔一个随机间隔,在水平速度和垂直速度上分别添加一个随机值,来模拟施加了一个大小和方向随机的力。
并在右下角角标处添加一个 link (“自走模式”),用来清除和设置 timer,即关闭和启用随机施力。
目前数值设置上比较随意,在 [500ms~1500ms] 的间隔后,在垂直速度上增加 [-75~+75],在水平速度上增加 [-100~+100]