This commit is contained in:
SquareScreamYT 2024-03-30 19:16:14 +08:00 committed by GitHub
parent 19d79f149a
commit 8318a7b8a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -385,6 +385,8 @@ elements.test = {
}
*/
console.log("Thanks fro using aChefsDream.js! -sqec")
function interpolateRgb(rgb1, rgb2, ratio) {
const interpolatedRgb = {
r: Math.round(rgb1.r + (rgb2.r - rgb1.r) * ratio),