diff --git a/public/loading9.png b/public/loading9.png new file mode 100644 index 00000000..d9b83325 Binary files /dev/null and b/public/loading9.png differ diff --git a/public/preview9.png b/public/preview9.png new file mode 100644 index 00000000..597c92be Binary files /dev/null and b/public/preview9.png differ diff --git a/src/canvases.json b/src/canvases.json index 4c2fffdd..4f2276eb 100644 --- a/src/canvases.json +++ b/src/canvases.json @@ -308,5 +308,50 @@ "cds": 900000, "req": "top", "sd": "2022-01-06" + }, + "9": { + "ident": "r", + "colors": [ + [ 196, 196, 196 ], + [ 109, 0, 26 ], + [ 190, 0, 57 ], + [ 255, 69, 0 ], + [ 255, 168, 0 ], + [ 255, 214, 53 ], + [ 255, 248, 184 ], + [ 0, 163, 104 ], + [ 0, 204, 120 ], + [ 126, 237, 86 ], + [ 0, 117, 111 ], + [ 0, 158, 170 ], + [ 0, 204, 192 ], + [ 36, 80, 164 ], + [ 54, 144, 234 ], + [ 81, 233, 244 ], + [ 73, 58, 193 ], + [ 106, 92, 255 ], + [ 148, 179, 255 ], + [ 129, 30, 159 ], + [ 180, 74, 192 ], + [ 228, 171, 255 ], + [ 222, 16, 127 ], + [ 255, 56 , 129 ], + [ 255, 153, 170 ], + [ 109, 72, 47 ], + [ 156, 105, 38 ], + [ 255, 180, 112 ], + [ 0, 0, 0 ], + [ 81, 82, 82 ], + [ 137, 141, 144 ], + [ 212, 215, 217 ], + [ 255, 255, 255 ] + ], + "cli": 1, + "size": 4096, + "bcd": 300000, + "cds": 300000, + "ranked": false, + "req": 0, + "sd": "2023-08-01" } } diff --git a/src/canvasesDesc.js b/src/canvasesDesc.js index 37397e01..55d314c0 100644 --- a/src/canvasesDesc.js +++ b/src/canvasesDesc.js @@ -24,6 +24,7 @@ function getCanvases(t) { 6: t`PixelCanvas`, 7: t`1bit`, 8: t`Top10`, + 9: t`r/place`, }; const canvasDesc = { 0: t`Our main canvas, a huge map of the world. Place everywhere you like`, @@ -34,6 +35,7 @@ function getCanvases(t) { 6: t`Mirror of PixelCanvas`, 7: t`Black and White canvas`, 8: t`A canvas for the most active players from the the previous day. Daily ranking updates at 00:00 UTC.`, + 9: t`Copy of r/place 2023 canvas. Will be present for a while.`, }; /* * no edit below here needed when adding/removing canvas diff --git a/src/core/constants.js b/src/core/constants.js index 975781e6..de2616d3 100644 --- a/src/core/constants.js +++ b/src/core/constants.js @@ -11,7 +11,7 @@ export const DEFAULT_SCALE = 3; // default canvas that is first assumed, before real canvas data // gets fetched via api/me -export const DEFAULT_CANVAS_ID = '0'; +export const DEFAULT_CANVAS_ID = '9'; export const DEFAULT_CANVASES = { 0: { ident: 'd', @@ -58,6 +58,51 @@ export const DEFAULT_CANVASES = { req: -1, sd: '2020-01-08', }, + 9: { + "ident": "r", + "colors": [ + [ 196, 196, 196 ], + [ 109, 0, 26 ], + [ 190, 0, 57 ], + [ 255, 69, 0 ], + [ 255, 168, 0 ], + [ 255, 214, 53 ], + [ 255, 248, 184 ], + [ 0, 163, 104 ], + [ 0, 204, 120 ], + [ 126, 237, 86 ], + [ 0, 117, 111 ], + [ 0, 158, 170 ], + [ 0, 204, 192 ], + [ 36, 80, 164 ], + [ 54, 144, 234 ], + [ 81, 233, 244 ], + [ 73, 58, 193 ], + [ 106, 92, 255 ], + [ 148, 179, 255 ], + [ 129, 30, 159 ], + [ 180, 74, 192 ], + [ 228, 171, 255 ], + [ 222, 16, 127 ], + [ 255, 56 , 129 ], + [ 255, 153, 170 ], + [ 109, 72, 47 ], + [ 156, 105, 38 ], + [ 255, 180, 112 ], + [ 0, 0, 0 ], + [ 81, 82, 82 ], + [ 137, 141, 144 ], + [ 212, 215, 217 ], + [ 255, 255, 255 ] + ], + "cli": 1, + "size": 4096, + "bcd": 300000, + "cds": 300000, + "ranked": false, + "req": 0, + "sd": "2023-08-01" + } }; export const TILE_LOADING_IMAGE = './loading.png';