Skip to content
Sign UpLog In

Community

#physics
Old Coder, New Tricks | feat/ Kody Low
Wed Apr 05 2023
Replit 101 Coding Helpline
Wed Apr 12 2023
Old Coder, New Tricks | feat/ Anirban Chatterjee
Wed Apr 19 2023
Explore the Community Hub
Explore the Community Hub
FEATURED
jeff
Announcing Ghostwriter Chat
AutoModeration
Welcome to Replit Community
TOP GLOBAL TIPPERS
1
JDOG787
JDOG787
110.2K
2
d31337
d31337
97.4K
3
CoderGautamYT
CoderGautamYT
35.2K
4
SHADOWMSTD
SHADOWMSTD
29.1K
5
vertal
vertal
25.5K
TOP TAGS
#games
#apps
#python
#javascript
#html
#fun
#game
#simple
#python3
#java
#cpp
#bash
IcemasterEric
IcemasterEric
published an Update
2 months ago
1K
Cloth Simulation (pygame)
Cloth Simulation (pygame)Click and hold to drag around and tear the cloth. Press r key to reset the cloth. Seems like soft-body simulations have been pretty trendy recently, so I cooked up my own version. Admittedly, it does have a few quirks but I think it the satisfaction makes up for it :)
Reset the cloth
Press the r key to reset the cloth. People have been asking for this so here you go :)
#games
#physics
#pygame
+1
PyGrammer5
PyGrammer5
published a Repl
2 months ago
1K
Ball Physics
Ball PhysicsA fun ball physics demonstration made without an engine in p5.js.
Dorukko
Dorukko
I made a weird python chatbot: https://replit.com/@Dorukko/Python-AI-Chatbot7 days ago
EricLing2
EricLing2
ball ball ASMR2 days ago
awam
awam
published a Repl
8 days ago
55
bouncing bal‎ls
bouncing bal‎lsbouncing b‎all‎s simulation coded in p5.js! what u can do: adjust the slider to adjust the gravity press on empty canvas to create a ball press and hold on a ball to drag it around tell me in the c‎om‎men‎ts: what cool/creative things can you do with my program?
DamonRotz
DamonRotz
very nice3 days ago
FireDevilX
FireDevilX
![image](https://storage.googleapis.com/replit/images/1679944455762_e6e68dda0beecf600de2c9fc59d24f2c.png)3 days ago
PyGrammer5
PyGrammer5
published a Repl
2 months ago
468
Soft-Body Physics
Soft-Body PhysicsThis is a little soft-body physics demo I made without any engines in p5.js. It's not perfect but I'm proud of it. I hope to experiment with physics more in the future.
IzayahPerham
IzayahPerham
very satisfying6 days ago
Dorukko
Dorukko
It knows how many followers you have! https://replit.com/@Dorukko/Python-AI-Chatbot5 days ago
RavenSpeed
RavenSpeed
published a Repl
2 months ago
16
Galton Board
Galton BoardThe Galton board is an excellent demonstration of the binomial distribution which proves the central limit theorem. Galton Board Graph (You should get something like this in the actual repl): image Have Fun watching this amazing action happen!!! The tutorial i followed to make this is: Python Physics Simulation. Galton Board. Pymunk Tutorial (By [ Coder Space ] YT) NOTE: I used this video as a base for my project and made changes to it Link: https://www.youtube.com/watch?v=-q_Vje2a6eY
OnlyAHuman
OnlyAHuman
I think I have an idea, maybe you can make the round objects automatically refill and display numbers according to the graph so it's more understandable2 months ago
CodeLife3
CodeLife3
Great work👍👍👍2 months ago
OnlyAHuman
OnlyAHuman
published an Update
2 months ago
23
Real-life Physics Simulation
Real-life Physics SimulationThis is a simple physics model. It's mobile friendly, but it's different from the model in the real world. (Keep reading. ) Friction and collision between the round objects (censored) are not considered in this model so don't expect them to bounce around. Air resistance is decreased because it causes too much effect on the objects (inspired from @PyGrammer5 's physics models)
New Update: More Similarity
Added air resistance and color to the model (and also a giant 50kg ball)
Spationaute
Spationaute
published a Repl
3 months ago
0
NBody
NBodyN-Body-Sim NBody simulation using Armadillo and compatible with GPU acceleration (not on replit) About Replit How to Use Fork the replit, click run. The replit is configured to run the "case.json" file which contains all the information for the model. The base case is the solar system main bodies. Once you finish setting things up, just click run. The results will be produced in a "results" folder and automatically archive in "results.zip" just download the zip. Be carefull: DO NOT OPEN the zip with replit! Notes Don't forget that replit is limited in resources, so set "writeSteps" not to have too many files. If you compile on your machine, you can activate the GPU acceleration and have a really large number of elements! Regarding the Results Right now the results are in CSV form, enumerated with their steps. You can read and animate them with Python, Paraview or any other plotting software.
Spationaute
Spationaute
I added a random settings. It's inactivated by default, to activate it change the case in "case.json". 3 months ago
Spationaute
Spationaute
I've wrapped the application in a script to guide the user. 2 months ago