mirror of
https://github.com/scrtwpns/mixbox.git
synced 2026-03-19 14:39:27 +01:00
update readme
This commit is contained in:
@@ -11,7 +11,9 @@ This way, Mixbox achieves that blue and yellow mix to green, the same way real p
|
|||||||
|
|
||||||
* Paper: https://scrtwpns.com/mixbox.pdf<br>
|
* Paper: https://scrtwpns.com/mixbox.pdf<br>
|
||||||
* Video: https://youtu.be/9egCAxhOHg4<br>
|
* Video: https://youtu.be/9egCAxhOHg4<br>
|
||||||
* Talk: https://youtu.be/k91cDhpCOpg<br>
|
* Talk: https://youtu.be/_qa5iWdfNKg<br>
|
||||||
|
|
||||||
|
Mixbox is shipping in the upcoming Rebelle 5 as the [Rebelle Pigments](https://www.escapemotions.com/blog/rebelle-5-meet-color-pigments) feature.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
The simplest way to use Mixbox is with the *lerp* interface:
|
The simplest way to use Mixbox is with the *lerp* interface:
|
||||||
@@ -21,7 +23,6 @@ The simplest way to use Mixbox is with the *lerp* interface:
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
|
||||||
unsigned char r1=252, g1=211, b1=0; // bright yellow
|
unsigned char r1=252, g1=211, b1=0; // bright yellow
|
||||||
unsigned char r2=0, g2=0, b2=96; // deep blue
|
unsigned char r2=0, g2=0, b2=96; // deep blue
|
||||||
float t = 0.5;
|
float t = 0.5;
|
||||||
|
|||||||
Reference in New Issue
Block a user