Telegram Group & Telegram Channel
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ–₯ Physics Simulations

Набор симуляций физичСских явлСний, написанных Π½Π° Python с использованиСм Pygame. Π­Ρ‚ΠΈ симуляции создавались Π² ΠΎΠ±Ρ€Π°Π·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Ρ… цСлях ΠΈ ΠΎΡ…Π²Π°Ρ‚Ρ‹Π²Π°ΡŽΡ‚ Ρ€Π°Π·Π»ΠΈΡ‡Π½Ρ‹Π΅ ΠΊΠΎΠ½Ρ†Π΅ΠΏΡ†ΠΈΠΈ, Π²ΠΊΠ»ΡŽΡ‡Π°Ρ:

- Π—Π°ΠΊΠΎΠ½Ρ‹ ΠΡŒΡŽΡ‚ΠΎΠ½Π°
- Π“Ρ€Π°Π²ΠΈΡ‚Π°Ρ†ΠΈΡŽ
- Π‘ΠΈΠ»Ρ‹ ΠΈ Ρ‚Ρ€Π΅Π½ΠΈΠ΅
- ΠŸΡ€ΠΎΡΡ‚ΡƒΡŽ Π³Π°Ρ€ΠΌΠΎΠ½ΠΈΡ‡Π΅ΡΠΊΡƒΡŽ ΠΌΠΎΠ΄ΡƒΠ»ΡΡ†ΠΈΡŽ
- И ΠΌΠ½ΠΎΠ³ΠΎΠ΅ Π΄Ρ€ΡƒΠ³ΠΎΠ΅

Для запуска симуляций Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΠΎ ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ зависимости:


pip install -r requirements.txt


Π—Π°Ρ‚Π΅ΠΌ ΠΌΠΎΠΆΠ½ΠΎ Π·Π°ΠΏΡƒΡΡ‚ΠΈΡ‚ΡŒ Π½ΡƒΠΆΠ½Ρ‹ΠΉ скрипт Π½Π°ΠΏΡ€ΡΠΌΡƒΡŽ, Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€:


python gravity_sim.py


ΠšΠ°ΠΆΠ΄Ρ‹ΠΉ Ρ„Π°ΠΉΠ» прСдставляСт ΠΎΡ‚Π΄Π΅Π»ΡŒΠ½ΡƒΡŽ ΡΠΈΠΌΡƒΠ»ΡΡ†ΠΈΡŽ, ΡΠΎΠΏΡ€ΠΎΠ²ΠΎΠΆΠ΄Π°Π΅ΠΌΡƒΡŽ Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·Π°Ρ†ΠΈΠ΅ΠΉ с ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ Pygame.

πŸ“Œ Github

@pythonl
Please open Telegram to view this post
VIEW IN TELEGRAM



group-telegram.com/pythonl/4842
Create:
Last Update:

πŸ–₯ Physics Simulations

Набор симуляций физичСских явлСний, написанных Π½Π° Python с использованиСм Pygame. Π­Ρ‚ΠΈ симуляции создавались Π² ΠΎΠ±Ρ€Π°Π·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒΠ½Ρ‹Ρ… цСлях ΠΈ ΠΎΡ…Π²Π°Ρ‚Ρ‹Π²Π°ΡŽΡ‚ Ρ€Π°Π·Π»ΠΈΡ‡Π½Ρ‹Π΅ ΠΊΠΎΠ½Ρ†Π΅ΠΏΡ†ΠΈΠΈ, Π²ΠΊΠ»ΡŽΡ‡Π°Ρ:

- Π—Π°ΠΊΠΎΠ½Ρ‹ ΠΡŒΡŽΡ‚ΠΎΠ½Π°
- Π“Ρ€Π°Π²ΠΈΡ‚Π°Ρ†ΠΈΡŽ
- Π‘ΠΈΠ»Ρ‹ ΠΈ Ρ‚Ρ€Π΅Π½ΠΈΠ΅
- ΠŸΡ€ΠΎΡΡ‚ΡƒΡŽ Π³Π°Ρ€ΠΌΠΎΠ½ΠΈΡ‡Π΅ΡΠΊΡƒΡŽ ΠΌΠΎΠ΄ΡƒΠ»ΡΡ†ΠΈΡŽ
- И ΠΌΠ½ΠΎΠ³ΠΎΠ΅ Π΄Ρ€ΡƒΠ³ΠΎΠ΅

Для запуска симуляций Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌΠΎ ΡƒΡΡ‚Π°Π½ΠΎΠ²ΠΈΡ‚ΡŒ зависимости:


pip install -r requirements.txt


Π—Π°Ρ‚Π΅ΠΌ ΠΌΠΎΠΆΠ½ΠΎ Π·Π°ΠΏΡƒΡΡ‚ΠΈΡ‚ΡŒ Π½ΡƒΠΆΠ½Ρ‹ΠΉ скрипт Π½Π°ΠΏΡ€ΡΠΌΡƒΡŽ, Π½Π°ΠΏΡ€ΠΈΠΌΠ΅Ρ€:


python gravity_sim.py


ΠšΠ°ΠΆΠ΄Ρ‹ΠΉ Ρ„Π°ΠΉΠ» прСдставляСт ΠΎΡ‚Π΄Π΅Π»ΡŒΠ½ΡƒΡŽ ΡΠΈΠΌΡƒΠ»ΡΡ†ΠΈΡŽ, ΡΠΎΠΏΡ€ΠΎΠ²ΠΎΠΆΠ΄Π°Π΅ΠΌΡƒΡŽ Π²ΠΈΠ·ΡƒΠ°Π»ΠΈΠ·Π°Ρ†ΠΈΠ΅ΠΉ с ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ Pygame.

πŸ“Œ Github

@pythonl

BY Python/ django


Share with your friend now:
group-telegram.com/pythonl/4842

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

Messages are not fully encrypted by default. That means the company could, in theory, access the content of the messages, or be forced to hand over the data at the request of a government. This ability to mix the public and the private, as well as the ability to use bots to engage with users has proved to be problematic. In early 2021, a database selling phone numbers pulled from Facebook was selling numbers for $20 per lookup. Similarly, security researchers found a network of deepfake bots on the platform that were generating images of people submitted by users to create non-consensual imagery, some of which involved children. Investors took profits on Friday while they could ahead of the weekend, explained Tom Essaye, founder of Sevens Report Research. Saturday and Sunday could easily bring unfortunate news on the war frontβ€”and traders would rather be able to sell any recent winnings at Friday’s earlier prices than wait for a potentially lower price at Monday’s open. Two days after Russia invaded Ukraine, an account on the Telegram messaging platform posing as President Volodymyr Zelenskiy urged his armed forces to surrender. The S&P 500 fell 1.3% to 4,204.36, and the Dow Jones Industrial Average was down 0.7% to 32,943.33. The Dow posted a fifth straight weekly loss β€” its longest losing streak since 2019. The Nasdaq Composite tumbled 2.2% to 12,843.81. Though all three indexes opened in the green, stocks took a turn after a new report showed U.S. consumer sentiment deteriorated more than expected in early March as consumers' inflation expectations soared to the highest since 1981.
from nl


Telegram Python/ django
FROM American