Skip to content

Commit

Permalink
Effects refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
doughsay committed Jul 5, 2020
1 parent 44bc199 commit 3b376bb
Show file tree
Hide file tree
Showing 29 changed files with 993 additions and 550 deletions.
4 changes: 3 additions & 1 deletion lib/layout/key.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ defmodule Layout.Key do
Describes a physical key and its location.
"""

@type id :: atom

@type t :: %__MODULE__{
id: atom,
id: id,
x: float,
y: float,
width: float,
Expand Down
4 changes: 3 additions & 1 deletion lib/layout/led.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ defmodule Layout.LED do
Describes a physical LED location.
"""

@type id :: atom

@type t :: %__MODULE__{
id: atom,
id: id,
x: float,
y: float
}
Expand Down
8 changes: 8 additions & 0 deletions lib/rgb_matrix.ex
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
defmodule RGBMatrix do
@type any_color_model ::
Chameleon.Color.RGB.t()
| Chameleon.Color.CMYK.t()
| Chameleon.Color.Hex.t()
| Chameleon.Color.HSL.t()
| Chameleon.Color.HSV.t()
| Chameleon.Color.Keyword.t()
| Chameleon.Color.Pantone.t()
end
109 changes: 0 additions & 109 deletions lib/rgb_matrix/animation.ex

This file was deleted.

28 changes: 0 additions & 28 deletions lib/rgb_matrix/animation/cycle_all.ex

This file was deleted.

30 changes: 0 additions & 30 deletions lib/rgb_matrix/animation/cycle_left_to_right.ex

This file was deleted.

45 changes: 0 additions & 45 deletions lib/rgb_matrix/animation/pinwheel.ex

This file was deleted.

114 changes: 0 additions & 114 deletions lib/rgb_matrix/animation/static.ex

This file was deleted.

Loading

0 comments on commit 3b376bb

Please sign in to comment.