Community
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
FEATURED
TOP GLOBAL TIPPERS
1
JDOG787
110.2K
2
d31337
97.4K
3
CoderGautamYT
35.2K
4
SHADOWMSTD
29.1K
5
vertal
25.5K
1K
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 :)1K
Ball PhysicsA fun ball physics demonstration made without an engine in p5.js.
54.7K
724
1K
55
bouncing ballsbouncing balls 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 comments: what cool/creative things can you do with my program?
2.2K
119
55
FireDevilX 3 days ago
468
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.
25.4K
273
468
Dorukko It knows how many followers you have! https://replit.com/@Dorukko/Python-AI-Chatbot5 days ago
16
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
815
35
16
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
23
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)941
20
23
0
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.
203
4
0
Spationaute I added a random settings. It's inactivated by default, to activate it change the case in "case.json". 3 months ago