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

The Nightshift (Observation Duty)

by Red_Scarecrow

Project thumbnail
View Project

Marcus's BIG Movie! DVD Menu

by Davidthetrainfan2024

Project thumbnail
View Project

Arcade Shooter (Version 2.2) MOBILE FRIENDLY!!!

by kebob-in-a-bax

Project thumbnail
View Project

lilBlue [v2.8.9.2] 3D Platformer

by Steelix1000

Project thumbnail
View Project

Osu! Mania v4

by nicoveed

Project thumbnail
View Project

Nich Fight Cloud #1

by Jamilette7

Project thumbnail
View Project

My New Buttons & Bomba Patch 2022 - (36) remix remix

by JPPORTUGAL

Project thumbnail
View Project

2048 tiles from 1 to 10^infinity

by 2048isoof

Project thumbnail
View Project

(DON'T REPORT) Evil Nano gives Nano a punishment day/GROUNDED in @PICARO660 style

by nanogetsungrounded16

Project thumbnail
View Project

Osu! Mania V3 | Extra Dans α-ε (Custom Settings)

by Naaag_

Project thumbnail
View Project

Numberblocks Band Retro Subfactorials (Sounds only)

by stoptakingmynamenow

Project thumbnail
View Project

YouTube on scratch

by Foxcat_Studios

Project thumbnail
View Project

PBS Kids Frisbee: Dee sing boom boom

by NumberblockFaner303

Project thumbnail
View Project

AY at Quick Ink REDUX! [ Remix #23 | 49 Players ]

by kkhamy55

Project thumbnail
View Project

Everybody do the flop song! remix by Creeperjamer23 credit to frankiewhizz4

by Creeperjamer23

Project thumbnail
View Project

YTP: Bimo gets too many voices cracks and gets a stroke remix remix remix

by -vf28-

Project thumbnail
View Project

NGG+X: Nano Gets Grounded Plus Extra Intro

by Raph12334

Project thumbnail
View Project

One Night at Red v1.0

by onar33

Project thumbnail
View Project

The Scratch 3.0 Show: The Egg

by zvardin

Project thumbnail
View Project

Fantastic Fishing

by ComplicatedCodes

Project thumbnail
View Project

*gets electrocuted*

by claw_was_yeeted

Project thumbnail
View Project

✿ Intro for -MidGreen- ✿

by nanakusa03

Project thumbnail
View Project

Cold Shadow (SNES) v2.5

by griffpatch

Project thumbnail
View Project

unreales maden 24 cool epic games remix remix

by 33DRotondo