Libraryless. Click here for Pure Java version (110L/1K).
static int blendRGBInts(double bish, int a, int b) { ret blendRGBInts(a, b, bish); } static int blendRGBInts(int a, int b, double bish) { bish = normalizeTo0to1(bish); ret rgbInt( blend(rgbRed(a), rgbRed(b), bish), blend(rgbGreen(a), rgbGreen(b), bish), blend(rgbBlue(a), rgbBlue(b), bish)); }
Began life as a copy of #1007920
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035297 |
| Snippet name: | blendRGBInts - no alpha |
| Eternal ID of this version: | #1035297/1 |
| Text MD5: | 82264d12c64f4079bcab9e770a946897 |
| Transpilation MD5: | d0b7603e95c28ced988c4ef5d6cdca99 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-04-29 03:16:47 |
| Source code size: | 322 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 417 / 516 |
| Referenced in: | [show references] |