forked from ppfun/pixelplanet
add top10 canvas to historyDownload.py
change size of top10 canvas *2 change README to mention that we do power of 2 now
This commit is contained in:
parent
0ad3762878
commit
1efd40ca4e
|
@ -131,7 +131,7 @@ Meaning of some values:
|
||||||
| Key | Description |
|
| Key | Description |
|
||||||
|--------|:----------------------------------------------------------------|
|
|--------|:----------------------------------------------------------------|
|
||||||
| ident | Unique character used in the url |
|
| ident | Unique character used in the url |
|
||||||
| size | canvas size, power of 4 and between 256 and 65536 |
|
| size | canvas size, power of 2 and between 256 and 65536 |
|
||||||
| bcd | Base cooldown for unset pixels |
|
| bcd | Base cooldown for unset pixels |
|
||||||
| pcd | Cooldown for placing on set pixels (defaults to same as bcd) |
|
| pcd | Cooldown for placing on set pixels (defaults to same as bcd) |
|
||||||
| cds | Stack time of Cooldown |
|
| cds | Stack time of Cooldown |
|
||||||
|
|
|
@ -297,7 +297,13 @@
|
||||||
[ 67, 52, 85 ],
|
[ 67, 52, 85 ],
|
||||||
[ 0, 0, 0 ]
|
[ 0, 0, 0 ]
|
||||||
],
|
],
|
||||||
"size": 1024,
|
"size": 2048,
|
||||||
|
"historicalSizes": [
|
||||||
|
[
|
||||||
|
"20220626",
|
||||||
|
1024
|
||||||
|
]
|
||||||
|
],
|
||||||
"bcd": 15000,
|
"bcd": 15000,
|
||||||
"cds": 900000,
|
"cds": 900000,
|
||||||
"req": "top",
|
"req": "top",
|
||||||
|
|
|
@ -54,6 +54,15 @@ canvases = [
|
||||||
"canvas_id": 7,
|
"canvas_id": 7,
|
||||||
"bkg": (0, 0, 0),
|
"bkg": (0, 0, 0),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"canvas_name": "top10",
|
||||||
|
"canvas_size": 2048,
|
||||||
|
"canvas_id": 8,
|
||||||
|
"bkg": (197, 204, 184),
|
||||||
|
"historical_sizes" : [
|
||||||
|
["20220626", 1024],
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
async def fetch(session, url, offx, offy, image, bkg, needed = False):
|
async def fetch(session, url, offx, offy, image, bkg, needed = False):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user