Move rx out of cloudhead.io

8b1c2fa50bb1d144e2237f88720fb38240a81256
Alexis Sellier committed ago 1 parent 38c8e02a
index.html +7 -6
9 9
    <header>
10 10
      <nav>
11 11
        <h1>cloudhead</h1>
12 12
        <ul>
13 13
          <li><a href="/code">code</a></li>
14 -
          <li><a href="http://twitter.com/cloudhead">tweets</a></li>
15 -
          <li><a href="http://mylifeofmusic.com">music</a></li>
16 -
          <li><a href="http://ello.co/cloudhead">drawings</a></li>
17 -
          <li><a href="http://letterboxd.com/cloudhead/">film</a></li>
18 -
          <li><a href="http://goodreads.com/cloudhead/">books</a></li>
19 -
          <li><a href="http://github.com/cloudhead">gits</a></li>
14 +
          <li><a href="https://twitter.com/cloudhead">tweets</a></li>
15 +
          <li><a href="https://mylifeofmusic.com">music</a></li>
16 +
          <li><a href="https://ello.co/cloudhead">drawings</a></li>
17 +
          <li><a href="https://letterboxd.com/cloudhead/">film</a></li>
18 +
          <li><a href="https://goodreads.com/cloudhead/">books</a></li>
19 +
          <li><a href="https://github.com/cloudhead">gits</a></li>
20 +
          <li><a href="https://rx.cloudhead.io">rx</a></li>
20 21
        </ul>
21 22
      </nav>
22 23
    </header>
23 24
    <footer>
24 25
      <a href="mailto:hello@cloudhead.io">hello@cloudhead.io</a>
rx/index.html +12 -319
4 4
    <title>rx &mdash; a minimalist and extensible pixel editor</title>
5 5
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
6 6
    <meta name="viewport" content="width=device-width, initial-scale=1">
7 7
8 8
    <style>
9 -
      * {
10 -
        box-sizing: border-box;
11 -
      }
12 -
13 9
      body {
14 10
        background-color: black;
15 11
        color: #ddd;
16 12
        padding: 90px 0 90px 0;
17 13
        font-size: 18px;
18 14
        line-height: 1.4em;
19 15
        margin: 0 auto;
20 -
        padding: 0 15px;
21 -
      }
22 -
23 -
      body, code {
24 -
        font-family: Inconsolata, Consolas, monospace;
25 -
      }
26 -
27 -
      h2 {
28 -
        font-size: 1em;
29 -
        text-align: center;
30 -
      }
31 -
32 -
      h3 {
33 -
        font-size: 0.8em;
34 -
        text-align: center;
35 -
      }
36 -
37 -
      .cli {
38 -
        text-align: center;
39 -
      }
40 -
41 -
      strong {
42 -
        font-weight: bold;
43 -
      }
44 -
45 -
      code.block {
46 -
        line-height: 1em;
47 -
        padding: 6px 12px;
48 -
        font-size: 0.8em;
49 -
        font-style: normal;
50 -
        border: 1px solid #ddd;
51 -
        background-color: #000;
52 -
        color: white;
53 -
        display: inline-block;
54 -
      }
55 -
56 -
      code {
57 -
        color: #aaa;
58 -
      }
59 -
60 -
      pre {
61 -
        font-size: 0.8em;
62 -
      }
63 -
64 -
      section > header {
65 -
        margin-bottom: 10px;
66 -
      }
67 -
68 -
      section > header > h2 {
69 -
        font-size: 20px;
70 -
      }
71 -
72 -
      body > section {
73 -
        margin: 60px auto;
74 -
        max-width: 640px;
75 -
      }
76 -
77 -
      img {
78 -
        display: block;
79 -
        margin: 0 auto;
80 -
        border: 1px solid #ddd;
81 -
        image-rendering: optimizeSpeed;
82 -
        image-rendering: -moz-crisp-edges;
83 -
        image-rendering: -o-crisp-edges;
84 -
        image-rendering: -webkit-optimize-contrast;
85 -
        image-rendering: pixelated;
86 -
        image-rendering: optimize-contrast;
87 -
        -ms-interpolation-mode: nearest-neighbor;
88 -
      }
89 -
90 -
      h1 {
91 -
        font-size: 2em;
92 -
        font-family: "Fira Mono", "Fira Code", monospace;
93 -
        text-align: center;
94 -
        font-weight: normal;
95 -
      }
96 -
97 -
      li {
98 -
        list-style-position: outside;
99 -
      }
100 -
101 -
      ::selection {
102 -
        background: #999999;
103 -
      }
104 -
105 -
      .title {
106 -
        text-align: center;
107 -
        width: auto;
108 -
        margin: 0;
109 -
        padding: 0;
110 -
        line-height: 1.1em;
111 -
      }
112 -
113 -
      .logo {
114 -
        border: none;
115 -
      }
116 -
117 -
      .subtitle, .version {
118 16
        text-align: center;
119 -
        margin: 0;
120 17
      }
121 18
122 -
      .version {
123 -
        font-size: 0.8em;
19 +
      body, code {
20 +
        font-family: Consolas, Inconsolata, monospace;
124 21
      }
125 22
126 -
      .screenshot {
127 -
        margin: 0 auto;
128 -
        text-align: center;
23 +
      a {
24 +
        color: #FFEEBB;
129 25
      }
130 26
131 -
      .grey {
132 -
        color: grey;
27 +
      header {
28 +
        font-size: 24px;
133 29
      }
134 30
135 -
      footer {
136 -
        margin-top: 90px;
31 +
      header img {
137 32
        text-align: center;
138 -
        font-size: 0.75em;
139 -
      }
140 -
141 -
      a {
142 -
        color: #ffff66;
143 -
        text-decoration: none;
144 -
      }
145 -
      a:hover {
146 -
        text-decoration: underline;
147 -
      }
148 -
149 -
      @media only screen and (max-device-width: 1280px) {
150 -
        body {
151 -
          font-size: 15px;
152 -
        }
153 -
        body > section {
154 -
          width: 100% !important;
155 -
          margin: 30px auto !important;
156 -
        }
157 -
        ul, ol {
158 -
          padding-left: 15px;
159 -
          margin-left: 15px;
160 -
        }
161 -
        pre.block {
162 -
          font-size: 0.7em;
163 -
        }
164 -
        .screenshot > img {
165 -
          width: 100%;
166 -
          height: auto;
167 -
        }
33 +
        margin-bottom: 45px;
168 34
      }
169 35
    </style>
170 36
  </head>
171 37
  <body>
172 38
    <header>
39 +
      <img src="rx.png"/>
40 +
      <p>
41 +
        <em>rx</em> has moved to <a href="https://rx.cloudhead.io">https://rx.cloudhead.io</a>
42 +
      </p>
173 43
    </header>
174 -
    <section>
175 -
      <img class="logo" src="/rx/rx.png"/>
176 -
      <h1>rx</h1>
177 -
      <p class="version">v0.2.0 <em>alpha</em></p>
178 -
      <br/>
179 -
      <p class="subtitle">a modern and extensible pixel editor implemented in rust</p>
180 -
      <br/>
181 -
      <center>
182 -
        <small>
183 -
          <a href="#download">Download for GNU/Linux</a><br/>
184 -
          <a href="https://github.com/cloudhead/rx">GitHub</a>
185 -
        </small>
186 -
      </center>
187 -
    </section>
188 -
    <section class="screenshot">
189 -
      <img src="rx.gif"/>
190 -
    </section>
191 -
    <section>
192 -
      <p><strong>rx</strong> is an extensible, modern and minimalist <strong>pixel
193 -
        editor</strong> and <strong>animator</strong> implemented in rust[0].
194 -
      It's designed to have as little UI as possible, and instead takes
195 -
      inspiration from vi's[1] modal nature and command mode.</p>
196 -
197 -
      <p>Compared to other pixel editors, rx aims to be smaller yet more configurable
198 -
      and extendable. <code>rx</code> takes a different approach when it comes to animation
199 -
      as well, which is done with *strips*.</p>
200 -
201 -
      <small>[0]: <a href="https://rust-lang.org">https://rust-lang.org</a></small><br/>
202 -
      <small>[1]: <a href="https://en.wikipedia.org/wiki/Vi">https://en.wikipedia.org/wiki/Vi</a></small>
203 -
    </section>
204 -
205 -
    <section>
206 -
      <h2>GOALS</h2>
207 -
      <ul>
208 -
        <li>Minimal UI. Clean aesthetics. No clutter.</li>
209 -
        <li>Everything that should be controlled by the keyboard, is.</li>
210 -
        <li>Extensible and scriptable with a simple command-based language.</li>
211 -
        <li>Familiar to anyone with vi(m) knowledge.</li>
212 -
        <li>Snappy. All commands run in &lt; 16ms.</li>
213 -
        <li>Optimized for advanced users. vi-like philosophy.</li>
214 -
        <li>Small, hackable codebase. At most 10 KLOC.</li>
215 -
        <li>First-class Linux support.</li>
216 -
        <li>CPU &amp; memory efficient.</li>
217 -
      </ul>
218 -
    </section>
219 -
220 -
    <section>
221 -
      <h2>FEATURES</h2>
222 -
      <ul>
223 -
        <li>Built-in sprite animation support, with live preview.</li>
224 -
        <li>Work with multiple files simultaneously.</li>
225 -
        <li>Extensible command system.</li>
226 -
        <li>Text-based configuration.</li>
227 -
        <li>HiDPI display support.</li>
228 -
        <li>Undo/redo support.</li>
229 -
        <li>Color palette support.</li>
230 -
        <li>PNG support.</li>
231 -
        <li>Animated GIF support.</li>
232 -
        <li>Multi-brush / synchronous editing.</li>
233 -
        <li>Symmetry brush mode.</li>
234 -
        <li>Brush filtering a.k.a "pixel-perfect" mode.</li>
235 -
        <li><em class="grey">Coming soon: Layers.</em></li>
236 -
        <li><em class="grey">Coming soon: Visual mode.</em></li>
237 -
        <li><em class="grey">Coming soon: Workspaces.</em></li>
238 -
      </ul>
239 -
    </section>
240 -
241 -
    <section>
242 -
      <h2>REQUIREMENTS</h2>
243 -
      <h3>Linux</h3>
244 -
      On Linux, <em>Vulkan</em> support is required. The drivers can be installed for example with
245 -
      <code>apt install mesa-vulkan-drivers</code> on debian-based systems.
246 -
      <h3>macOS</h3>
247 -
      On macOS, <em>Metal</em> support is required. This usually requires installing <em>Xcode</em>
248 -
      and the <em>Xcode Command Line Tools</em>.
249 -
      <h3>Windows</h3>
250 -
      On Windows, <em>Vulkan</em> support is required.
251 -
    </section>
252 -
253 -
    <a id="download"></a>
254 -
    <section>
255 -
      <h2>DOWNLOAD</h2>
256 -
      <center><p><em><small>Disclaimer: this is alpha software, use at your own risk!</small></em></p></center>
257 -
      <p>On Linux, the simplest way to get <code>rx</code> is to download the <em>AppImage</em>
258 -
      from here:</p>
259 -
      <center><a href="https://github.com/cloudhead/rx/releases/download/v0.2.0/rx-0.2.0-x86_64-unknown-linux-gnu.AppImage">rx-0.2.0-x86_64-unknown-linux-gnu.AppImage</a></center>
260 -
      <p>Then make it executable with eg. <code>chmod +x</code>, rename it to
261 -
      <code>rx</code> and move it somewhere in your <code>PATH</code>.</p>
262 -
      <p>For macOS and Windows, see the following section.</p>
263 -
    </section>
264 -
265 -
    <section>
266 -
      <h2>BUILD FROM SOURCE</h2>
267 -
      <p>You'll need <strong>cargo</strong> and <strong>rust</strong> to build <code>rx</code> from source. For more
268 -
      detailed instructions, see the <a href="https://github.com/cloudhead/rx/blob/master/README">README</a>.</p>
269 -
270 -
      <div class="cli"><code class="block">$ cargo install --git https://github.com/cloudhead/rx --tag v0.2.0 --locked</code></div>
271 -
272 -
      <p>The default installed palette is <a href="palettes/sweetie16.palette">sweetie16.palette</a>.
273 -
      Other palettes are also available <a href="palettes/">here</a>, and you can create your own.</p>
274 -
    </section>
275 -
276 -
    <section>
277 -
      <h2>USAGE</h2>
278 -
279 -
      <p>After installing, simply run <code>rx</code> from a shell or application launcher.
280 -
      You can then use the <code>:help</code> command to show the current set of key mappings
281 -
      and commands.</p>
282 -
283 -
      <p>Common commands:</p>
284 -
285 -
      <pre class="block"><code>
286 -
:help                    Display help
287 -
:e &lt;path..&gt;              Edit path(s)
288 -
:w                       Write/save view
289 -
:q                       Quit view
290 -
:slice &lt;n&gt;               Slice view into &lt;n&gt; frames
291 -
:source &lt;path&gt;           Source an rx script (eg. a palette)
292 -
:f/resize &lt;w&gt; &lt;h&gt;        Resize frames
293 -
      </code></pre>
294 -
    </section>
295 -
296 -
    <section>
297 -
      <h2>CONFIGURATION</h2>
298 -
      <p>Configuring <code>rx</code> involves editing the <code>init.rx</code>
299 -
      script, which is found in a platform-dependent location. On Linux, this
300 -
      is in the XDG config directory, eg. <code>~/.config/rx/init.rx</code>, while on
301 -
      macOS this is in the <code>~/Library/Preferences</code> folder.
302 -
      written.</p>
303 -
304 -
      <p>To get the exact location of the config directory, enter <code>:echo config/dir</code>
305 -
      from inside <code>rx</code>.</p>
306 -
    </section>
307 -
308 -
    <section>
309 -
      <h2>CONTRIBUTE</h2>
310 -
      The source code is available at <a
311 -
        href="https://github.com/cloudhead/rx">github.com/cloudhead/rx</a>.
312 -
      <em>rx</em> is <em>free software</em>.
313 -
    </section>
314 -
315 -
    <section>
316 -
      <h2>SUPPORT</h2>
317 -
      <p>If you find this project useful and want to support its continued maintenance,
318 -
      consider sending ₿ (Bitcoin) to the following address with a memo indicating your
319 -
      name, to be added to the contributors list:</p>
320 -
      <center><p><code class="block">1MpF7p9A8LJabZn7ehHpGbLcN5PCXRdGqm</code></p></center>
321 -
    </section>
322 -
323 -
    <section>
324 -
      <h2>TROUBLESHOOTING</h2>
325 -
326 -
      <p>If something ain't working like it's supposed to, there are various things you can
327 -
      do to debug the problem:</p>
328 -
329 -
      <ol>
330 -
        <li>Run <em>rx</em> with verbose logging, by using the <code>-v</code> command-line flag.
331 -
        This will log errors from the underlying libraries that are usually
332 -
        suppressed.  You can increase the verbosity further by using <code>-vv</code>.</li>
333 -
        <li>Try the <em>winit</em> backend, by building <em>rx</em> with eg. <code>--features winit</code>.</li>
334 -
      </ol>
335 -
336 -
      Otherwise, see the following BUGS section.
337 -
    </section>
338 -
339 -
    <section>
340 -
      <h2>BUGS</h2>
341 -
      <p>If you encounter a bug, please open an issue on the <a href="https://github.com/cloudhead/rx/issues">tracker</a>
342 -
      or send an email to rx@cloudhead.io.</p>
343 -
    </section>
344 -
345 -
    <section>
346 -
      <h2>LICENSE</h2>
347 -
      <p>This software is licensed under the GPL.</p>
348 -
    <footer>
349 -
      &copy; 2019 Alexis Sellier
350 -
    </footer>
351 44
  </body>
352 45
</html>
rx/overview.png deleted +0 -0

Binary file changed.

rx/palettes/db16.palette deleted +0 -21
1 -
--------------------
2 -
-- DAWNBRINGER 16 --
3 -
--------------------
4 -
5 -
p/clear
6 -
#140c1c
7 -
#442434
8 -
#30346d
9 -
#4e4a4e
10 -
#854c30
11 -
#346524
12 -
#d04648
13 -
#757161
14 -
#597dce
15 -
#d27d2c
16 -
#8595a1
17 -
#6daa2c
18 -
#d2aa99
19 -
#6dc2ca
20 -
#dad45e
21 -
#deeed6
rx/palettes/db32.palette deleted +0 -38
1 -
--------------------
2 -
-- DAWNBRINGER 32 --
3 -
--------------------
4 -
5 -
p/clear
6 -
#000000
7 -
#222034
8 -
#45283c
9 -
#663931
10 -
#8f563b
11 -
#df7126
12 -
#d9a066
13 -
#eec39a
14 -
#fbf236
15 -
#99e550
16 -
#6abe30
17 -
#37946e
18 -
#4b692f
19 -
#524b24
20 -
#323c39
21 -
#3f3f74
22 -
23 -
#306082
24 -
#5b6ee1
25 -
#639bff
26 -
#5fcde4
27 -
#cbdbfc
28 -
#ffffff
29 -
#9badb7
30 -
#847e87
31 -
#696a6a
32 -
#595652
33 -
#76428a
34 -
#ac3232
35 -
#d95763
36 -
#d77bba
37 -
#8f974a
38 -
#8a6f30
rx/palettes/edg32.palette deleted +0 -37
1 -
----------------
2 -
-- ENDESGA 32 --
3 -
----------------
4 -
5 -
p/clear
6 -
#be4a2f
7 -
#d77643
8 -
#ead4aa
9 -
#e4a672
10 -
#b86f50
11 -
#733e39
12 -
#3e2731
13 -
#a22633
14 -
#e43b44
15 -
#f77622
16 -
#feae34
17 -
#fee761
18 -
#63c74d
19 -
#3e8948
20 -
#265c42
21 -
#193c3e
22 -
#124e89
23 -
#0099db
24 -
#2ce8f5
25 -
#ffffff
26 -
#c0cbdc
27 -
#8b9bb4
28 -
#5a6988
29 -
#3a4466
30 -
#262b44
31 -
#181425
32 -
#ff0044
33 -
#68386c
34 -
#b55088
35 -
#f6757a
36 -
#e8b796
37 -
#c28569
rx/palettes/index.html deleted +0 -97
1 -
<!doctype html>
2 -
<html lang="en">
3 -
  <head>
4 -
    <title>rx &mdash; a minimalist and extensible pixel editor</title>
5 -
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
6 -
    <meta name=”viewport” content=”width=device-width, initial-scale=1″>
7 -
8 -
    <style>
9 -
      * {
10 -
        box-sizing: border-box;
11 -
      }
12 -
13 -
      body {
14 -
        background-color: black;
15 -
        color: #ddd;
16 -
        padding: 90px 0 90px 0;
17 -
        font-size: 20px;
18 -
        font-family: monospace;
19 -
        line-height: 1.4em;
20 -
        margin: 0 auto;
21 -
      }
22 -
23 -
      h2 {
24 -
        font-size: 1em;
25 -
        text-align: center;
26 -
      }
27 -
28 -
      section > header {
29 -
        margin-bottom: 10px;
30 -
      }
31 -
32 -
      section > header > h2 {
33 -
        font-size: 20px;
34 -
      }
35 -
36 -
      body > section {
37 -
        margin: 60px auto;
38 -
        width: 960px;
39 -
      }
40 -
41 -
      li {
42 -
        list-style-type: none;
43 -
      }
44 -
45 -
      ::selection {
46 -
        background: #999999;
47 -
      }
48 -
49 -
      .title {
50 -
        text-align: center;
51 -
      }
52 -
53 -
      .subtitle, .version {
54 -
        text-align: center;
55 -
        margin: 0;
56 -
      }
57 -
58 -
      a {
59 -
        color: #ffff66;
60 -
      }
61 -
      a:hover {
62 -
        text-decoration: none;
63 -
      }
64 -
65 -
      @media only screen and (max-device-width: 1280px) {
66 -
        body > section {
67 -
          padding-left: 30px !important;
68 -
          padding-right: 30px !important;
69 -
          width: 100% !important;
70 -
        }
71 -
        .screenshot > img {
72 -
          width: 100%;
73 -
        }
74 -
      }
75 -
    </style>
76 -
  </head>
77 -
  <body>
78 -
    <header>
79 -
    </header>
80 -
    <section>
81 -
      <pre class="title">
82 -
██╗████╗██╗██╗
83 -
╚███╔██║╚███╔╝
84 -
 ██╔╝══╝██╔██╗
85 -
 ██║   ██╔╝ ██╗
86 -
 ╚═╝   ╚═╝  ╚═╝
87 -
      </pre>
88 -
      <center>
89 -
        <h2>PALETTES</h2>
90 -
        <p><a href="sweetie16.palette">sweetie16.palette</a></p>
91 -
        <p><a href="edg32.palette">edg16.palette</a></p>
92 -
        <p><a href="db32.palette">db32.palette</a></p>
93 -
        <p><a href="db16.palette">db16.palette</a></p>
94 -
      </center>
95 -
    </section>
96 -
  </body>
97 -
</html>
rx/palettes/sweetie16.palette deleted +0 -22
1 -
-----------------
2 -
-- SWEETIE 16  --
3 -
-- by GrafxKid --
4 -
-----------------
5 -
6 -
p/clear
7 -
#1a1c2c
8 -
#5d275d
9 -
#b13e53
10 -
#ef7d57
11 -
#ffcd75
12 -
#a7f070
13 -
#38b764
14 -
#257179
15 -
#29366f
16 -
#3b5dc9
17 -
#41a6f6
18 -
#73eff7
19 -
#f4f4f4
20 -
#94b0c2
21 -
#566c86
22 -
#333c57
rx/rx.gif deleted +0 -0

Binary file changed.

rx/rx.png +0 -0

Binary file changed.