module

Shale::TestDrawing

Instance methods

test_seizure(target : Shale::Surface)

Test single colour changes.

Description

WARNING Using this will flicker the screen very rapidly with different colours.

Source
test_static_colour(target : Shale::Surface)

Test random static on colour channels.

Description

Each colour channel is randomized and drawn to the frame. With the --debug enabled, it will be rather slow, but building with --release tends to show significant speedup.

Source
test_true_colour(target : Shale::Surface)

Test mapping pixels to the frame.

Description

4 quadrants are created with different colour patterns. Top left will be randomized colours for each pixel, and the other 3 areas will have gradients based on the xy coordinates.

Source