simulation: adjust colours
This commit is contained in:
@@ -15,12 +15,12 @@
|
|||||||
static char *VALID_OPS = "<>{}-+.,[]";
|
static char *VALID_OPS = "<>{}-+.,[]";
|
||||||
|
|
||||||
static const Color possible_colors[] = {
|
static const Color possible_colors[] = {
|
||||||
['<'] = {0x2f, 0x4f, 0x4f, 0xff}, ['>'] = {0x22, 0x8b, 0x22, 0xff},
|
['<'] = {230, 25, 75, 255}, ['>'] = {60, 180, 75, 255},
|
||||||
['{'] = {0xb0, 0x30, 0x60, 0xff}, ['}'] = {0xff, 0x00, 0x00, 0xff},
|
['{'] = {255, 225, 25, 255}, ['}'] = {0, 130, 200, 255},
|
||||||
['-'] = {0xff, 0xff, 0x00, 0xff}, ['+'] = {0x00, 0xff, 0x00, 0xff},
|
['-'] = {245, 130, 48, 255}, ['+'] = {145, 30, 180, 255},
|
||||||
['.'] = {0x00, 0xff, 0xff, 0xff}, [','] = {0xa0, 0x20, 0xf0, 0xff},
|
['.'] = {70, 240, 240, 255}, [','] = {240, 50, 230, 255},
|
||||||
['['] = {0x1e, 0x90, 0xff, 0xff}, [']'] = {0xff, 0xde, 0xad, 0xff},
|
['['] = {210, 245, 60, 255}, [']'] = {250, 190, 212, 255},
|
||||||
['\0'] = {0x0, 0x0, 0x0, 0xff},
|
['\0'] = {0, 0, 0, 255},
|
||||||
};
|
};
|
||||||
|
|
||||||
void simulation_mutate(simulation_t *sim)
|
void simulation_mutate(simulation_t *sim)
|
||||||
|
|||||||
@@ -23,14 +23,12 @@ void simulation_draw(simulation_t *sim);
|
|||||||
/* Copyright (C) 2026 Aryadev Chavali
|
/* Copyright (C) 2026 Aryadev Chavali
|
||||||
|
|
||||||
* This program is distributed in the hope that it will be useful, but WITHOUT
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
FITNESS
|
|
||||||
* FOR A PARTICULAR PURPOSE. See the GNU General Public License Version 2 for
|
* FOR A PARTICULAR PURPOSE. See the GNU General Public License Version 2 for
|
||||||
* details.
|
* details.
|
||||||
|
|
||||||
* You may distribute and modify this code under the terms of the GNU General
|
* You may distribute and modify this code under the terms of the GNU General
|
||||||
* Public License Version 2, which you should have received a copy of along
|
* Public License Version 2, which you should have received a copy of along with
|
||||||
with
|
|
||||||
* this program. If not, please go to <https://www.gnu.org/licenses/>.
|
* this program. If not, please go to <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user