module Shale::TestDrawing
Extended Modules
Defined in:
shale/test_drawing.crInstance Method Summary
-
#test_seizure(target : Shale::Surface)
Test single colour changes.
-
#test_static_colour(target : Shale::Surface)
Test random static on colour channels.
-
#test_true_colour(target : Shale::Surface)
Test mapping pixels to the frame.
Instance Method Detail
def test_seizure(target : Shale::Surface)
#
Test single colour changes.
Description
WARNING Using this will flicker the screen very rapidly with different colours.
def 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.
def 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.