From 44ce50b6d5ef34856bdbbeed41c315ca1d391f8e Mon Sep 17 00:00:00 2001 From: Rezmason Date: Tue, 27 Sep 2022 12:18:32 -0700 Subject: [PATCH] Updating pride and trans pride stripe colors to match what's on Wikipedia --- js/regl/stripePass.js | 44 ++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/js/regl/stripePass.js b/js/regl/stripePass.js index d82e032..100db04 100644 --- a/js/regl/stripePass.js +++ b/js/regl/stripePass.js @@ -6,26 +6,36 @@ import { loadText, make1DTexture, makePassFBO, makePass } from "./utils.js"; // This shader introduces noise into the renders, to avoid banding const transPrideStripeColors = [ - [0.3, 1.0, 1.0], - [0.3, 1.0, 1.0], - [1.0, 0.5, 0.8], - [1.0, 0.5, 0.8], - [1.0, 1.0, 1.0], - [1.0, 1.0, 1.0], - [1.0, 1.0, 1.0], - [1.0, 0.5, 0.8], - [1.0, 0.5, 0.8], - [0.3, 1.0, 1.0], - [0.3, 1.0, 1.0], + [0.36, 0.81, 0.98], + [0.36, 0.81, 0.98], + [0.36, 0.81, 0.98], + [0.96, 0.66, 0.72], + [0.96, 0.66, 0.72], + [0.96, 0.66, 0.72], + [1.00, 1.00, 1.00], + [1.00, 1.00, 1.00], + [1.00, 1.00, 1.00], + [0.96, 0.66, 0.72], + [0.96, 0.66, 0.72], + [0.96, 0.66, 0.72], + [0.36, 0.81, 0.98], + [0.36, 0.81, 0.98], + [0.36, 0.81, 0.98], ].flat(); const prideStripeColors = [ - [1, 0, 0], - [1, 0.5, 0], - [1, 1, 0], - [0, 1, 0], - [0, 0, 1], - [0.8, 0, 1], + [0.89, 0.01, 0.01], + [0.89, 0.01, 0.01], + [1.00, 0.55, 0.00], + [1.00, 0.55, 0.00], + [1.00, 0.93, 0.00], + [1.00, 0.93, 0.00], + [0.00, 0.50, 0.15], + [0.00, 0.50, 0.15], + [0.00, 0.30, 1.00], + [0.00, 0.30, 1.00], + [0.46, 0.03, 0.53], + [0.46, 0.03, 0.53], ].flat(); export default ({ regl, config }, inputs) => {