Comment out the base-art jitter, pending a call on whether it's working

Disabled the _glitch_base_jitter call added last commit (shifting the
underlying art in sync with the RGB-split bands) -- left the function
and the base_shift calculation in place, just commented out of the
Stack, rather than deleting them, in case it's worth revisiting.
This commit is contained in:
poprhythm committed 2026-10-08 19:11:15 -04:00
1 parent e51c2bd422
commit f45cdb6250
1 file changed
+7 -6
+7 -6
View File
@@ -480,13 +480,14 @@ def _glitch_jitter(zoom):
sequence = [] sequence = []
for cycle_index in range(GLITCH_REPEATS): for cycle_index in range(GLITCH_REPEATS):
for top1, h1, shift1, hue1, top2, h2, shift2, hue2 in _glitch_states_for_cycle(cycle_index): for top1, h1, shift1, hue1, top2, h2, shift2, hue2 in _glitch_states_for_cycle(cycle_index):
# The art itself nudges along with the bands, not just the # The art itself nudging along with the bands (not just the
# bands moving over a static image -- splitting the difference # bands moving over a static image) was tried here via
# between the two bands' own shifts rather than adding a # _glitch_base_jitter, splitting the difference between the
# separate value to tune per state. # two bands' own shift values -- commented out, not deleted,
base_shift = int((shift1 + shift2) / 2.0) # pending a call on whether it's actually working well.
# base_shift = int((shift1 + shift2) / 2.0)
state = render.Stack(children = [ state = render.Stack(children = [
_glitch_base_jitter(zoom, base_shift), # _glitch_base_jitter(zoom, base_shift),
_glitch_band(zoom, top1, h1, shift1, hue1), _glitch_band(zoom, top1, h1, shift1, hue1),
_glitch_band(zoom, top2, h2, shift2, hue2), _glitch_band(zoom, top2, h2, shift2, hue2),
]) ])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.