put RAT back in RBT

gh is once again disabling the goddamn commit button for some fucking reason
This commit is contained in:
Lily-129 2022-02-03 07:28:36 -05:00 committed by GitHub
parent 672a2abd6c
commit f671f9766f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -1036,6 +1036,20 @@ elements.op_hottester_bomb = {
temp: 7065,
density: 1300,
excludeRandom: true,
},
elements.rainbow_alt_test = {
color: ["#ffaacc","#ffaacc","#aaccff","#aaccff","#ffffbb","#ffffbb"],
tick: function(pixel) {
var t = pixelTicks*3+pixel.x+pixel.y;
var r = Math.floor(255*(1-Math.cos(t*Math.PI/180)));
var g = Math.floor(255*(1-Math.cos(t*Math.PI/180+2*Math.PI/3)));
var b = Math.floor(255*(1-Math.cos(t*Math.PI/180+4*Math.PI/3)));
pixel.color = "rgb("+Math.ceil((r/2)+127)+","+Math.ceil((g/2)+127)+","+Math.ceil((b/2)+127)+")";
doHeat(pixel);
},
category: "special",
}
runAfterLoad(function() {