Made this for the "Let the Galaxy Burn" event (though I did not finish my wip in time). Warm tones for distant galactic gas clouds, flames and stars, and the cool tones for skies, spaceships, and other science-fictional constructs. Semi-saturated darks in red, blue, and green to keep some life in the deep places.
#![no_std]
#![no_main]
use firefly_rust::*;
#[unsafe(no_mangle)]
extern "C" fn boot() {
set_colors();
}
fn set_colors() {
// https://lospec.com/palette-list/galaxy-flame
set_color(Color::from(1), RGB::new(0x69, 0x9f, 0xad));
set_color(Color::from(2), RGB::new(0x3a, 0x70, 0x8e));
set_color(Color::from(3), RGB::new(0x2b, 0x45, 0x4f));
set_color(Color::from(4), RGB::new(0x11, 0x12, 0x15));
set_color(Color::from(5), RGB::new(0x15, 0x1d, 0x1a));
set_color(Color::from(6), RGB::new(0x1d, 0x32, 0x30));
set_color(Color::from(7), RGB::new(0x31, 0x4e, 0x3f));
set_color(Color::from(8), RGB::new(0x4f, 0x5d, 0x42));
set_color(Color::from(9), RGB::new(0x9a, 0x9f, 0x87));
set_color(Color::from(10), RGB::new(0xed, 0xe6, 0xcb));
set_color(Color::from(11), RGB::new(0xf5, 0xd8, 0x93));
set_color(Color::from(12), RGB::new(0xe8, 0xb2, 0x6f));
set_color(Color::from(13), RGB::new(0xb6, 0x83, 0x4c));
set_color(Color::from(14), RGB::new(0x70, 0x4d, 0x2b));
set_color(Color::from(15), RGB::new(0x40, 0x23, 0x1e));
set_color(Color::from(16), RGB::new(0x15, 0x10, 0x15));
}
package main
import "github.com/firefly-zero/firefly-go/firefly"
func init() {
firefly.Boot = boot
}
func boot() {
setColors()
}
func setColors() {
// https://lospec.com/palette-list/galaxy-flame
firefly.SetColor(1, firefly.RGB{R: 0x69, G: 0x9f, B: 0xad})
firefly.SetColor(2, firefly.RGB{R: 0x3a, G: 0x70, B: 0x8e})
firefly.SetColor(3, firefly.RGB{R: 0x2b, G: 0x45, B: 0x4f})
firefly.SetColor(4, firefly.RGB{R: 0x11, G: 0x12, B: 0x15})
firefly.SetColor(5, firefly.RGB{R: 0x15, G: 0x1d, B: 0x1a})
firefly.SetColor(6, firefly.RGB{R: 0x1d, G: 0x32, B: 0x30})
firefly.SetColor(7, firefly.RGB{R: 0x31, G: 0x4e, B: 0x3f})
firefly.SetColor(8, firefly.RGB{R: 0x4f, G: 0x5d, B: 0x42})
firefly.SetColor(9, firefly.RGB{R: 0x9a, G: 0x9f, B: 0x87})
firefly.SetColor(10, firefly.RGB{R: 0xed, G: 0xe6, B: 0xcb})
firefly.SetColor(11, firefly.RGB{R: 0xf5, G: 0xd8, B: 0x93})
firefly.SetColor(12, firefly.RGB{R: 0xe8, G: 0xb2, B: 0x6f})
firefly.SetColor(13, firefly.RGB{R: 0xb6, G: 0x83, B: 0x4c})
firefly.SetColor(14, firefly.RGB{R: 0x70, G: 0x4d, B: 0x2b})
firefly.SetColor(15, firefly.RGB{R: 0x40, G: 0x23, B: 0x1e})
firefly.SetColor(16, firefly.RGB{R: 0x15, G: 0x10, B: 0x15})
}
const ff = @import("firefly");
pub export fn update() void {
setColors()
}
fn setColors() void {
// https://lospec.com/palette-list/galaxy-flame
ff.setColor(@enumFromInt(1), ff.RGB{.r = 0x69, .g = 0x9f, .b = 0xad});
ff.setColor(@enumFromInt(2), ff.RGB{.r = 0x3a, .g = 0x70, .b = 0x8e});
ff.setColor(@enumFromInt(3), ff.RGB{.r = 0x2b, .g = 0x45, .b = 0x4f});
ff.setColor(@enumFromInt(4), ff.RGB{.r = 0x11, .g = 0x12, .b = 0x15});
ff.setColor(@enumFromInt(5), ff.RGB{.r = 0x15, .g = 0x1d, .b = 0x1a});
ff.setColor(@enumFromInt(6), ff.RGB{.r = 0x1d, .g = 0x32, .b = 0x30});
ff.setColor(@enumFromInt(7), ff.RGB{.r = 0x31, .g = 0x4e, .b = 0x3f});
ff.setColor(@enumFromInt(8), ff.RGB{.r = 0x4f, .g = 0x5d, .b = 0x42});
ff.setColor(@enumFromInt(9), ff.RGB{.r = 0x9a, .g = 0x9f, .b = 0x87});
ff.setColor(@enumFromInt(10), ff.RGB{.r = 0xed, .g = 0xe6, .b = 0xcb});
ff.setColor(@enumFromInt(11), ff.RGB{.r = 0xf5, .g = 0xd8, .b = 0x93});
ff.setColor(@enumFromInt(12), ff.RGB{.r = 0xe8, .g = 0xb2, .b = 0x6f});
ff.setColor(@enumFromInt(13), ff.RGB{.r = 0xb6, .g = 0x83, .b = 0x4c});
ff.setColor(@enumFromInt(14), ff.RGB{.r = 0x70, .g = 0x4d, .b = 0x2b});
ff.setColor(@enumFromInt(15), ff.RGB{.r = 0x40, .g = 0x23, .b = 0x1e});
ff.setColor(@enumFromInt(16), ff.RGB{.r = 0x15, .g = 0x10, .b = 0x15});
}
#include "./vendor/firefly/firefly.c"
BOOT void boot()
{
set_colors();
}
void set_colors()
{
// https://lospec.com/palette-list/galaxy-flame
RGB color1 = {0x69, 0x9f, 0xad};
set_color(1, color1);
RGB color2 = {0x3a, 0x70, 0x8e};
set_color(2, color2);
RGB color3 = {0x2b, 0x45, 0x4f};
set_color(3, color3);
RGB color4 = {0x11, 0x12, 0x15};
set_color(4, color4);
RGB color5 = {0x15, 0x1d, 0x1a};
set_color(5, color5);
RGB color6 = {0x1d, 0x32, 0x30};
set_color(6, color6);
RGB color7 = {0x31, 0x4e, 0x3f};
set_color(7, color7);
RGB color8 = {0x4f, 0x5d, 0x42};
set_color(8, color8);
RGB color9 = {0x9a, 0x9f, 0x87};
set_color(9, color9);
RGB color10 = {0xed, 0xe6, 0xcb};
set_color(10, color10);
RGB color11 = {0xf5, 0xd8, 0x93};
set_color(11, color11);
RGB color12 = {0xe8, 0xb2, 0x6f};
set_color(12, color12);
RGB color13 = {0xb6, 0x83, 0x4c};
set_color(13, color13);
RGB color14 = {0x70, 0x4d, 0x2b};
set_color(14, color14);
RGB color15 = {0x40, 0x23, 0x1e};
set_color(15, color15);
RGB color16 = {0x15, 0x10, 0x15};
set_color(16, color16);
}
#include "./vendor/firefly/firefly.c"
BOOT void boot()
{
set_colors();
}
void set_colors()
{
// https://lospec.com/palette-list/galaxy-flame
set_color(1, {0x69, 0x9f, 0xad});
set_color(2, {0x3a, 0x70, 0x8e});
set_color(3, {0x2b, 0x45, 0x4f});
set_color(4, {0x11, 0x12, 0x15});
set_color(5, {0x15, 0x1d, 0x1a});
set_color(6, {0x1d, 0x32, 0x30});
set_color(7, {0x31, 0x4e, 0x3f});
set_color(8, {0x4f, 0x5d, 0x42});
set_color(9, {0x9a, 0x9f, 0x87});
set_color(10, {0xed, 0xe6, 0xcb});
set_color(11, {0xf5, 0xd8, 0x93});
set_color(12, {0xe8, 0xb2, 0x6f});
set_color(13, {0xb6, 0x83, 0x4c});
set_color(14, {0x70, 0x4d, 0x2b});
set_color(15, {0x40, 0x23, 0x1e});
set_color(16, {0x15, 0x10, 0x15});
}
///|
using @firefly {type Color, type RGB}
///|
pub fn boot() -> Unit {
set_colors()
}
///|
fn set_colors() -> Unit {
// https://lospec.com/palette-list/galaxy-flame
@firefly.set_color(Color::from_int(1), RGB::new(0x69, 0x9f, 0xad));
@firefly.set_color(Color::from_int(2), RGB::new(0x3a, 0x70, 0x8e));
@firefly.set_color(Color::from_int(3), RGB::new(0x2b, 0x45, 0x4f));
@firefly.set_color(Color::from_int(4), RGB::new(0x11, 0x12, 0x15));
@firefly.set_color(Color::from_int(5), RGB::new(0x15, 0x1d, 0x1a));
@firefly.set_color(Color::from_int(6), RGB::new(0x1d, 0x32, 0x30));
@firefly.set_color(Color::from_int(7), RGB::new(0x31, 0x4e, 0x3f));
@firefly.set_color(Color::from_int(8), RGB::new(0x4f, 0x5d, 0x42));
@firefly.set_color(Color::from_int(9), RGB::new(0x9a, 0x9f, 0x87));
@firefly.set_color(Color::from_int(10), RGB::new(0xed, 0xe6, 0xcb));
@firefly.set_color(Color::from_int(11), RGB::new(0xf5, 0xd8, 0x93));
@firefly.set_color(Color::from_int(12), RGB::new(0xe8, 0xb2, 0x6f));
@firefly.set_color(Color::from_int(13), RGB::new(0xb6, 0x83, 0x4c));
@firefly.set_color(Color::from_int(14), RGB::new(0x70, 0x4d, 0x2b));
@firefly.set_color(Color::from_int(15), RGB::new(0x40, 0x23, 0x1e));
@firefly.set_color(Color::from_int(16), RGB::new(0x15, 0x10, 0x15));
}
function boot()
set_colors()
end
function set_colors()
-- https://lospec.com/palette-list/galaxy-flame
firefly.set_color(1, {r=0x69, g=0x9f, b=0xad});
firefly.set_color(2, {r=0x3a, g=0x70, b=0x8e});
firefly.set_color(3, {r=0x2b, g=0x45, b=0x4f});
firefly.set_color(4, {r=0x11, g=0x12, b=0x15});
firefly.set_color(5, {r=0x15, g=0x1d, b=0x1a});
firefly.set_color(6, {r=0x1d, g=0x32, b=0x30});
firefly.set_color(7, {r=0x31, g=0x4e, b=0x3f});
firefly.set_color(8, {r=0x4f, g=0x5d, b=0x42});
firefly.set_color(9, {r=0x9a, g=0x9f, b=0x87});
firefly.set_color(10, {r=0xed, g=0xe6, b=0xcb});
firefly.set_color(11, {r=0xf5, g=0xd8, b=0x93});
firefly.set_color(12, {r=0xe8, g=0xb2, b=0x6f});
firefly.set_color(13, {r=0xb6, g=0x83, b=0x4c});
firefly.set_color(14, {r=0x70, g=0x4d, b=0x2b});
firefly.set_color(15, {r=0x40, g=0x23, b=0x1e});
firefly.set_color(16, {r=0x15, g=0x10, b=0x15});
end