Graphics Resizing to Fit All Screen Sizes


I’ve been chasing this problem for a year now.
I’ve made many solutions (2D only), but there is an easier one!

I’ve been studying about the render pipeline and OpenGL itself, and apparently this is all cured by a simple line in the vertex shader:
gl_Position /= gl_Position.w;

… … … … … … … … … … … … …

I am wrong. I need to provide a “world diagonal”…?
…or this doesn’t really work in Processing…?

The question at it’s core is,
How can I write a shader to convert from World Coordinates to Clip Coordinates for them to be resized by the Viewport Transform?!

I tried to “cheat” from the Processing default shaders, but…

I-It seems I don’t know what I’m doing, but I hope you understand!

…maybe use this to explain?

Just like last time, I answer myself.
Reference /!

Useless fact (Why do I do these acts of embarrassment on the internet?!):

I was listening to some music when I discovered this and it’s new year’s eve and this ““discovery”” totally scared me!

All Processing functions under ‘Coordinates’!