Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Bad physics in Particle System Fountain

Đang mở
#330 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
computer-graphics

Hướng nghiên cứu

Issue không nêu tên tệp hay test nào; hãy bắt đầu bằng việc xác định model Particle System Fountain trong NetLogo Models Library và kiểm tra info tab của nó cũng như cách sử dụng force-accumulator-x. Trước khi thay đổi, hãy làm rõ với các maintainers về hành vi vật lý và các control được mong muốn. Để được xem là hoàn tất, cần có cách xử lý đã được thống nhất đối với gravity và initial velocity, cùng với thuật ngữ phân biệt force với acceleration.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
NetLogo
Star
126
Fork
99
Merge trung bình
3 ngày 5 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NetLogo/models

Tất cả issue của NetLogo/models

Issue tương tự

Thêm issue về Computer Graphics

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.