Discuss Scratch

TheMonsterOfTheDeep
Scratcher
1000+ posts

2D Vector Math

I often find myself wishing I had the ability to use 2D vectors directly instead of creating a new variable for every single component.

Well, I finally got around to writing an extension that added 2D vector math directly into Scratch.

GitHub | ScratchX

My GitHub contains an example project that uses this extension to draw bezier curves, which serves to demonstrate the utility of this extension:


my latest extension: 2d vector math
savaka
Scratcher
1000+ posts

2D Vector Math

looks done, submit it?
Blaze349
Scratcher
1000+ posts

2D Vector Math

Too bad you can't use it on the Scratch website.
Jonathan50
Scratcher
1000+ posts

2D Vector Math

Wow, that's cool.
BookOwl
Scratcher
1000+ posts

2D Vector Math

Awesome!

who needs signatures
TheUltimatum
Scratcher
1000+ posts

2D Vector Math

Whoah… I've always been wanting this. I hated how many of my custom block definitions looked like this:
define doFun (x1) (y1) (x2) (y2) (x3) (y3) (x4) (y4) ::custom
stuff::#b8b8b8

bf97b44a7fbd33db070f6ade2b7dc549

you get a cookie

Powered by DjangoBB

Standard | Mobile