
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
π available at your convenience for use within glslify.
PI = require('glsl-pi')This package exports the value of Pi
as supplied by google: 3.14159265359. You can use it like so:
#pragma glslify: PI = require('glsl-pi')
uniform float time;
void main() {
gl_FragColor = vec4(vec3(PI * 2.0 * time), 1);
}
This is a really simple package but it saves me having to
lookup/copy/paste the value every time. Also a useful
alternative to using #define PI that's less leaky :)
See stackgl/contributing for details.
MIT. See LICENSE.md for details.
FAQs
π available at your convenience for use within glslify
We found that glsl-pi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.