Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soup Vectors Extension #261

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

the-can-of-soup
Copy link

@the-can-of-soup the-can-of-soup commented Dec 9, 2024

This is an extension I made that adds 60 vector math-related blocks. Extension ID: "souputilsvectors"

Name: Soup Vectors v5.1
Author (PenguinMod username): soup
Description: Vector math tools so you'll never need to do an arctangent ever again.

Thumbnail:
soup_vectors_thumbnail

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
penguinmod-extensions-gallery ✅ Ready (Inspect) Visit Preview Jan 9, 2025 7:35pm

@AlexSchoolOH
Copy link
Contributor

You might want to take the Campbells out of the thumbnail, its a copyright concern for PM

@the-can-of-soup
Copy link
Author

OK I'll work on that

@the-can-of-soup
Copy link
Author

the-can-of-soup commented Dec 9, 2024

I removed the "Campbell's" text from the icon

@the-can-of-soup the-can-of-soup marked this pull request as draft December 9, 2024 18:43
@CoolDevXD
Copy link

CoolDevXD commented Jan 8, 2025

i made something like this, yours is probably way better tho.
is this only 2d vectors or also 3d?

@the-can-of-soup
Copy link
Author

the-can-of-soup commented Jan 8, 2025

1d, 2d, 3d, 4d, whatever you want
there are blocks to grab the x, y, and z from a vector but there isn't a w block (you can still have the same functionality with the json extension though)
oh and i know nothing about 3d rotations so direction-based blocks are only for 2d

i looked at your extension and the 3d stuff is definitely way better than mine

@derpygamer2142
Copy link
Contributor

derpygamer2142 commented Jan 8, 2025

1d is just a number variable

@the-can-of-soup
Copy link
Author

yeah ik but you can do it if you want for some reason

@derpygamer2142
Copy link
Contributor

I don't see any method to get the w of a 4d vector or construct one

@the-can-of-soup
Copy link
Author

that will be an upcoming feature but for now you can use the json extension "in array (... your vector) get (3)" for grabbing w and you can use "in array (vector (x), (y), (z)) add (w)" to construct a vector

@the-can-of-soup
Copy link
Author

ok all the 4d stuff is there now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants