Transpiled version (88L) is out of date.
static Color repeatingGradient(double position, double gradientLength, Color color1, Color color2) { ret blendColor(color1, color2, frac(doubleRatio(position, gradientLength))); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034973 |
Snippet name: | repeatingGradient |
Eternal ID of this version: | #1034973/2 |
Text MD5: | b9e006fba9cb46c1facccd9618c3e6cd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-19 19:00:42 |
Source code size: | 183 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 135 / 193 |
Version history: | 1 change(s) |
Referenced in: | [show references] |