You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2022. It is now read-only.
#HEIGHT = 1920 #now using image.size[1] dynamically
10
13
#WIDTH = 1200 #now using image.size[0] dynamically
11
14
LOOP_INTERVAL=0.05# how often we calculate screen colour (in seconds)
12
-
DURATION=3# how long it takes bulb to switch colours (in seconds)
13
-
DECIMATE=10# skip every DECIMATE number of pixels to speed up calculation
15
+
DURATION=3# how long it takes bulb to switch colours (in seconds)
16
+
DECIMATE=100# sample only 1% of pixels to speed up
17
+
K_MEANS=3# number of clusters to calculate (returns average color if 1 and dominant color if >1)
14
18
15
19
XSCREENCAPTURE=True# Set to true if on X11, else false
16
20
X_RES=2560# Screen pixel in x direction
17
21
Y_RES=1440# screen pixel in y direction
18
22
19
-
20
23
client=OpenRGBClient() #will only work if you use default ip/port for OpenRGB server. This is an easy fix, read the documentation if need be https://openrgb-python.readthedocs.io/en/latest/
0 commit comments