-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.en.htm
58 lines (58 loc) · 1.86 KB
/
index.en.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Random spaceship sprite generator</title>
<link rel="shortcut icon" type="image/png" href="index.png">
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="alternate" hreflang="en" href="index.en.htm">
<link rel="alternate" hreflang="ru" href="index.ru.htm">
<script>
var la = {
'drawing': 'Drawing in progress...'
, 'about': {
'header': 'About'
, 'lines': [
'How it works, in principle, is very simple.'
, 'For each sprite:'
, '1. Prepare a small random palette of N colors.'
, '2. Step over every pixel inside a sprite, picking random colors from palette with a chance to skip (keep background color).'
, '3. Mirror every step (except uneven middle row).'
]
, 'links': 'Links and sources:'
}
, 'links': {
'src': 'Source code of this page (GitHub)'
, 'en': 'Article with Python version, which inspired this (EN)'
, 'ru': 'Article with Python version, translated (RU)'
}
, 'checkboxes': {
'auto_redraw': 'Auto redraw on changes (up to {auto_redraw_max_width}x{auto_redraw_max_height})'
, 'auto_save': 'Auto save images'
, 'draw_frames': 'Also save draw process frames'
, 'transprent_bg': 'Transparent background'
, 'ver_symmetry': 'Vertical symmetry'
}
, 'inputs': {
'pixel_size': 'Pixel size'
, 'black_ratio': 'Black ratio, %'
, 'colors_per_sprite': 'Colors per sprite'
, 'sprite_width': 'Each sprite width'
, 'sprite_height': 'Each sprite height'
, 'sprites_per_row': 'Sprites per row'
, 'sprites_per_col': 'Sprites per column'
, 'canvas_max_width': 'Result image max width'
, 'canvas_max_height': 'Result image max height'
}
, 'buttons': {
'draw': 'Create image'
, 'save': 'Save image'
}
};
</script>
<script src="index.js"></script>
</head>
<body>
Loading page...
</body>
</html>