mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2025-04-19 17:36:25 +02:00
33 lines
1.1 KiB
JavaScript
33 lines
1.1 KiB
JavaScript
import * as contextTools from './contextTools.js';
|
|
|
|
export const VERSION = '0.17.2';
|
|
export const SHAPE_CACHE_LIMIT = 50;
|
|
export const PIXEL_RATIO = 1.0;
|
|
|
|
export const COLOR_STRING_TO_HEX = {
|
|
[contextTools.LIGHT_BLUE_A]: 0xbcffff,
|
|
[contextTools.LIGHT_BLUE_B]: 0x69e1fd,
|
|
[contextTools.LIGHT_BLUE_C]: 0x00b8ff,
|
|
[contextTools.DARK_BLUE_A]: 0xc8e2ff,
|
|
[contextTools.DARK_BLUE_B]: 0x7dacfc,
|
|
[contextTools.DARK_BLUE_C]: 0x0357ff,
|
|
[contextTools.PURPLE_A]: 0xefc9ff,
|
|
[contextTools.PURPLE_B]: 0xc57efc,
|
|
[contextTools.PURPLE_C]: 0x820ef9,
|
|
[contextTools.PINK_A]: 0xffc7ee,
|
|
[contextTools.PINK_B]: 0xfd7cc1,
|
|
[contextTools.PINK_C]: 0xfa047b,
|
|
[contextTools.RED_A]: 0xffcdce,
|
|
[contextTools.RED_B]: 0xfd898a,
|
|
[contextTools.RED_C]: 0xfd898a,
|
|
[contextTools.YELLOW_A]: 0xfffea0,
|
|
[contextTools.YELLOW_B]: 0xfffb39,
|
|
[contextTools.YELLOW_C]: 0xfdac05,
|
|
[contextTools.GREEN_A]: 0xdaffd4,
|
|
[contextTools.GREEN_B]: 0x97f194,
|
|
[contextTools.GREEN_C]: 0x31d22d,
|
|
[contextTools.BLACK_A]: 0xf4f4f4,
|
|
[contextTools.BLACK_B]: 0x7f7f7f,
|
|
[contextTools.BLACK_C]: 0x1f1f1f
|
|
};
|