Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riccardoscalco/glsl-gcd
Glsl implementation of the Euclid's algorithm for the calculation of the greatest common divisor.
https://github.com/riccardoscalco/glsl-gcd
gcd glsl glslify hcf math webgl
Last synced: about 1 month ago
JSON representation
Glsl implementation of the Euclid's algorithm for the calculation of the greatest common divisor.
- Host: GitHub
- URL: https://github.com/riccardoscalco/glsl-gcd
- Owner: riccardoscalco
- License: mit
- Created: 2019-05-30T16:49:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-23T14:15:52.000Z (over 2 years ago)
- Last Synced: 2024-10-05T09:41:53.254Z (about 2 months ago)
- Topics: gcd, glsl, glslify, hcf, math, webgl
- Language: GLSL
- Size: 88.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# glsl-gcd
Glsl implementation of the Euclid's algorithm for the calculation of the greatest common divisor.
## Install
```sh
npm install glsl-gcd
```## Usage
```glsl
#pragma glslify: gcd = require(glsl-gcd)float d = gcd(9., 6.); // return 3.
```