Verlet-Based Physics Engine
by aespibr
Description
It's not too hard to comprehend, basically the dots use something called "Verlet Integration" (pronounced ver-ley) to update their positions. The sticks, well, they use a lot of math, but they do their job. For anyone wondering about simulating rigid bodies, it is impossible (like in real life), but if you update the sticks enough in between frames then you can get pretty close. UPDATES: 11/28/21: Added ground friction for the ceiling
Instructions
ATTENTION! If this project lags, go here: https://turbowarp.org/607913778/ Part 2 has been released: https://turbowarp.org/858024125/ Normies: Click and drag to throw the squishy square. Change the air friction, ground friction, and gravity. Remixers: Use the "add dot" and "add stick" blocks to make your own shapes. Look inside the project for more details. Also, when specifying the startPoint and endPoint for a stick, use the index of the dot in the lists such as "dot x" and "dot y".
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
beat up scratch cat (WIP)
by Cosmolan_Coder
Jester Mod ☁️ Among Us Scratch v0.27 (online) iiii
by likecats2016
Edit/add a button to beat up Gobo [1.2]
by RealFire294
Swagathon BonitoflakesKinito Mix
by BonitoFlakesKinito
talking Tom and ben news
by AIDEN123333333
suid gAME RED LIGHT GREEN LIGHT
by amirshw1
(early demo)Super Mario 2D Frontiers
by supergame322
Talking Tom and Ben News 2 (My Version)
by EdilsonVidal2022
¡incredibox-Sprunki solar object band update!
by farmofpigwig
MENU SHRINK - PS5
by TouchMyFeet123
Super Scratch Bros
by AMONG_us_142
Beat up boa 3 remix remix remix
by everton123E
Extended Atlantic Hurricane Season Simulator
by 19f8361
- Fidget Spinner - remix
by rockinghamflame
Talking Tom Cat 2 in Scratch Version 1.0.1 (RELEASED!) remix
by Jptypro1
Numberblocks Band Pi to Psi Fixed
by DeddingtonYr4
Paper Minecraft, Minecraft in 2D
by JarL011207
[FLASH WARNING!] You are an idiot! (Not really)
by cubic_666
Beat up Progresh [4]
by tatatino150again
DOOM SHOOTER
by RandomDudeClutcGame
Delta Level Maker Online Test Ver. 0 (Sonic Genesis Age 2)
by mewtube47
Beat Up Gobo! (2)
by KHOPERIATEDO
Completing The Mission Ultimate Ending menu
by chpselid
Beat Up gus
by everton_trader