Verlet-Based Physics Engine ‮

Verlet-Based Physics Engine ‮

by aespibr

👁 1,476 ❤️ 226 ⭐ 181 🔄 7
Created: Nov 27, 2021 Last modified: Sep 14, 2023 Shared: Nov 27, 2021

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

Project thumbnail
View Project

beat up scratch cat (WIP)

by Cosmolan_Coder

Project thumbnail
View Project

Jester Mod ☁️ Among Us Scratch v0.27 (online) iiii

by likecats2016

Project thumbnail
View Project

Edit/add a button to beat up Gobo [1.2]

by RealFire294

Project thumbnail
View Project

Swagathon BonitoflakesKinito Mix

by BonitoFlakesKinito

Project thumbnail
View Project

talking Tom and ben news

by AIDEN123333333

Project thumbnail
View Project

suid gAME RED LIGHT GREEN LIGHT

by amirshw1

Project thumbnail
View Project

(early demo)Super Mario 2D Frontiers

by supergame322

Project thumbnail
View Project

Talking Tom and Ben News 2 (My Version)

by EdilsonVidal2022

Project thumbnail
View Project

¡incredibox-Sprunki solar object band update!

by farmofpigwig

Project thumbnail
View Project

MENU SHRINK - PS5

by TouchMyFeet123

Project thumbnail
View Project

Super Scratch Bros

by AMONG_us_142

Project thumbnail
View Project

Beat up boa 3 remix remix remix

by everton123E

Project thumbnail
View Project

Extended Atlantic Hurricane Season Simulator

by 19f8361

Project thumbnail
View Project

- Fidget Spinner - remix

by rockinghamflame

Project thumbnail
View Project

Talking Tom Cat 2 in Scratch Version 1.0.1 (RELEASED!) remix

by Jptypro1

Project thumbnail
View Project

Numberblocks Band Pi to Psi Fixed

by DeddingtonYr4

Project thumbnail
View Project

Paper Minecraft, Minecraft in 2D

by JarL011207

Project thumbnail
View Project

[FLASH WARNING!] You are an idiot! (Not really)

by cubic_666

Project thumbnail
View Project

Beat up Progresh [4]

by tatatino150again

Project thumbnail
View Project

DOOM SHOOTER

by RandomDudeClutcGame

Project thumbnail
View Project

Delta Level Maker Online Test Ver. 0 (Sonic Genesis Age 2)

by mewtube47

Project thumbnail
View Project

Beat Up Gobo! (2)

by KHOPERIATEDO

Project thumbnail
View Project

Completing The Mission Ultimate Ending menu

by chpselid

Project thumbnail
View Project

Beat Up gus

by everton_trader