Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bad physics in Particle System Fountain

オープン
#330 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞

調査の方向性

この issue ではファイルもテストも指定されていません。まず NetLogo Models Library にある Particle System Fountain モデルを見つけ、info タブと force-accumulator-x の使用箇所を確認してください。変更する前に、どのような物理挙動とコントロールが求められているかを maintainers と明確にしてください。完了とするには、重力と初速度の扱いについて合意されていることに加え、力と加速度を区別する用語が必要です。

索引モデルが issue の本文から書いたものです。

説明

The treatment of gravity and forces is very bad. Yes, the info tab says "Gravity is unrealistic in this system, in that its acceleration changes depending on the particle’s mass. This is an important characteristic of particles systems: We can create motions that do not strictly follow real-world physical rules."

Why present a model in which the acceleration due gravity is proportional to the mass? If one wants students to explore alternative physics then at least add a slider or switch that controls these non-Newtonian features. True that with constant initial y velocity the fountain looks terrible but why not have different initial velocities?

And the variable names of the code seem to mix up force with acceleration. E.g. "set velocity-x velocity-x + force-accumulator-x * step-size". Given that the particles do have different masses force and acceleration are different. Why not rename force-accumulator-x to acceleration-x?

主要言語
NetLogo
スター
125
フォーク
99
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NetLogo/models のほかの issue

NetLogo/models の issue をすべて見る

似ている issue

Computer Graphics の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。