From bd0bb81ee5d1856f3b3e86b43ac7ff7312472dfe Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 28 Jan 2019 00:12:14 +0100 Subject: moar constants etc --- client/splash/constants.js | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 client/splash/constants.js (limited to 'client/splash/constants.js') diff --git a/client/splash/constants.js b/client/splash/constants.js new file mode 100644 index 00000000..c250ea4a --- /dev/null +++ b/client/splash/constants.js @@ -0,0 +1,40 @@ +/* global constants */ + +export const FOG_COLOR = 0x191919 + +/* tag cloud */ + +export const CLOUD_COLORS = [ + 0xffffff, + 0xffffff, + 0xffffff, + 0xdddde6, + 0x888896, +] + +export const CLOUD_ROTATION_SPEED = 0.001 +export const CLOUD_MAX_COUNT = 80 +export const CLOUD_TEXT_MIN_SIZE = 0.01 +export const CLOUD_TEXT_MAX_SIZE = 0.04 + +/* face */ + +export const FACE_SCALE = 0.0008 + +/* face markers */ + +export const MARKER_COLORS = [ + 0xff3333, + 0xff8833, + 0xffff33, + 0x338833, + 0x3388ff, + 0x3333ff, + 0x8833ff, + 0xff3388, + 0xffffff, +] + +export const POINT_SCALE = 0.009 +export const LINE_THICKNESS = 0.009 +export const FACE_POINT_COUNT = 68 -- cgit v1.2.3-70-g09d2