-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94b89d9
commit 93d13f9
Showing
24 changed files
with
187 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"Arithmetic" | ||
"Binary" | ||
"Collections" | ||
"Color" | ||
"Colors" | ||
"Comparison" | ||
"Converters" | ||
"Core" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,5 +42,5 @@ related: [ | |
"Binary/and" | ||
"Collections/extend" | ||
"Collections/remove" | ||
"Databases/open" | ||
"Colors/blend" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ arguments: #[ | |
] | ||
related: [ | ||
"Collections/append" | ||
"Colors/blend" | ||
"Numbers/even?" | ||
"Binary/and" | ||
"Binary/nand" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: "blend" | ||
type: :function | ||
module: "Colors" | ||
returns: [ | ||
:color | ||
] | ||
description: "blend given colors and get result" | ||
example: "" | ||
attributes: #[ | ||
balance: #[ | ||
types: [ | ||
:floating | ||
] | ||
description: "use different mix of color (0.0-1.0, default:0.5)" | ||
] | ||
] | ||
arguments: #[ | ||
colorA: [ | ||
:color | ||
] | ||
colorB: [ | ||
:color | ||
] | ||
] | ||
related: [ | ||
"Binary/and" | ||
"Binary/nand" | ||
"Collections/append" | ||
"Collections/extend" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
docs/website/pages/documentation/library/colors/desaturate.art
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: "desaturate" | ||
type: :function | ||
module: "Colors" | ||
returns: [ | ||
:color | ||
] | ||
description: "desaturate color by given percentage (0.0-1.0)" | ||
example: "" | ||
attributes: #[ | ||
] | ||
arguments: #[ | ||
color: [ | ||
:color | ||
] | ||
percent: [ | ||
:floating | ||
] | ||
] | ||
related: [ | ||
"Colors/saturate" | ||
"Colors/darken" | ||
"Colors/lighten" | ||
"Collections/permutate" | ||
] |
21 changes: 21 additions & 0 deletions
21
docs/website/pages/documentation/library/colors/invert.art
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "invert" | ||
type: :function | ||
module: "Colors" | ||
returns: [ | ||
:color | ||
] | ||
description: "get complement for given color" | ||
example: "" | ||
attributes: #[ | ||
] | ||
arguments: #[ | ||
color: [ | ||
:color | ||
] | ||
] | ||
related: [ | ||
"Collections/insert" | ||
"Strings/indent" | ||
"Collections/index" | ||
"Io/input" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
docs/website/pages/documentation/library/colors/saturate.art
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: "saturate" | ||
type: :function | ||
module: "Colors" | ||
returns: [ | ||
:color | ||
] | ||
description: "saturate color by given percentage (0.0-1.0)" | ||
example: "" | ||
attributes: #[ | ||
] | ||
arguments: #[ | ||
color: [ | ||
:color | ||
] | ||
percent: [ | ||
:floating | ||
] | ||
] | ||
related: [ | ||
"Colors/desaturate" | ||
"Colors/darken" | ||
"Colors/lighten" | ||
"Statistics/average" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ arguments: #[ | |
] | ||
related: [ | ||
"Files/read" | ||
"Colors/blend" | ||
"Converters/array" | ||
"Io/clear" | ||
"Arithmetic/dec" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,5 @@ related: [ | |
"Numbers/even?" | ||
"Collections/in?" | ||
"Collections/key?" | ||
"Core/while" | ||
"Colors/blend" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,5 +32,5 @@ related: [ | |
"Arithmetic/mod" | ||
"Binary/and" | ||
"Binary/nand" | ||
"Files/read" | ||
"Colors/blend" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ arguments: #[ | |
] | ||
related: [ | ||
"Collections/insert" | ||
"Colors/invert" | ||
"Io/input" | ||
"Strings/indent" | ||
"Arithmetic/inc" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.