Manipulators that you use in game engines and other software to control stuff like the transform position, rotation and scale (search game engine gizmos for examples)
I would have sent an image but this subreddit doesn't allow images in comments for some reason
Yeah, and others too. A gizmo is anything you can frob. Arrows for translation, circles for rotation, arrow-like things with boxes on the ends for scaling. Sometimes others too...
TBH 3D gizmos are much more common (you even identified three colours when understanding what a gizmo is), so I'm not surprised that 2D gizmo libraries are rarer, but they should still exist.
There is reasons why there is only one. Firstly there is not that mich need for one as the game engines majority uses already has 2d gizmo built in. Also the 2d gizmo usually needs to be more specialized than 3d gizmo, there are many industry standards in 3d that you can trust to be true whereas in 2d it can be either way (like in 3d it's standard that positive y-axis is up but in 2d it's either up or down depending on you're rendering framework). That's why if someone writes their own 2d gizmo library it's not usually standalone project but part of a bigger project
The 3d gizmo is not that standardized. Z vs Y, and left versus right handed differ between four of the major engines out there (unity, unreal, godot and cryengine). I wouldnt say that there is one universal standard for 3d gizmos in the gaming industry.
I have never seen xy horizontal plane, but yeah there is still differences in 3d gizmo. But in 3d it's more easy to solve these differences by pure math, only thing needed for 3d gizmo is view matrix and projection matrix, and then it can output standardized outputs no mater which way the coordinate system is oriented. And also as the output is standardized vertex buffer it doesn't matter nearly as much which graphics API is used. 2D doesn't have these few variables (those two matrisies) to work with and instead needs multible different variables (where is origo, which coordinate hierarchy is used etc.), so it's much harder to make universal one. And if you're making specialized one, you're better of integrating it with renderer straight away instead of being standalone.
Just didn't expect something that useful to only have 1 library for it (which was last updated on May as of writing this) when something like neofetch gets multiple versions of it
Well, I did make a port of it (the original is in C++, i use Odin), just didn't make a repo cuz it doesn't work 100% well for me (I can't figure out the issue and I am taking a break from programming)
114
u/TheWidrolo Sep 14 '26
ImGuizmo my beloved❤️
82
u/StarboardChaos Sep 14 '26
Wtf is a gizmo?
16
u/Lazy-Person01 Sep 14 '26
Raylib ?
68
u/the-grand-finale Sep 14 '26
great use of the meme template
10
u/miheb1 Sep 14 '26
"alright, time to create another one"
6
u/Arctos_FI Sep 15 '26
There is reasons why there is only one. Firstly there is not that mich need for one as the game engines majority uses already has 2d gizmo built in. Also the 2d gizmo usually needs to be more specialized than 3d gizmo, there are many industry standards in 3d that you can trust to be true whereas in 2d it can be either way (like in 3d it's standard that positive y-axis is up but in 2d it's either up or down depending on you're rendering framework). That's why if someone writes their own 2d gizmo library it's not usually standalone project but part of a bigger project
3
u/SkollFenrirson Sep 14 '26
1
u/TheFrenchSavage Sep 14 '26
Is that a Gremlins reference?
-23
u/Brave-Camp-933 Sep 14 '26
So what?