19 Commits

Author SHA1 Message Date
jomo
168457dfd9 update to node 12 2020-03-21 01:50:50 +01:00
jomo
96b277b806 add missing documentation 2016-02-19 19:24:27 +01:00
jomo
7d02138c1e solve merge conflicts 2015-12-14 01:51:49 +01:00
jomo
3c21a59c94 add support for slim renders, fixes #125, adjust tests 2015-12-13 14:08:59 +01:00
jomo
7eed1fa09b clean up renders again
- improved readability a lot
- now applies overlays directly to underlying skin part *before* transforming
2015-11-23 21:58:47 +01:00
jomo
67f317aeac add overlay 'logic', deciding which overlays to render; tweak position & size +/- to get around anti-aliasing 'cracks'; remove transparency from base model
fixes #32
fixes #112
fixes #117
fixes #153
2015-11-23 03:21:58 +01:00
jomo
4627aecd17 clean up
uses 'parts' object instead of tons of variables
2015-11-22 05:33:48 +01:00
jomo
25c4912db9 add back new (1.8) skin support 2015-11-22 05:05:47 +01:00
jomo
abdacdc713 fix rendering of slim arms 2015-11-22 04:18:32 +01:00
jomo
82727cb24d add back head support 2015-11-22 03:28:09 +01:00
jomo
cb25872498 rewrite renders
- renders are now fully isometric
- used position -0.5 and size +1 at some places to fix #32
- does not support overlay yet
- does not support left/right arms/legs
- does not support slim renders yet
- currently only renders full body, not head
2015-11-22 03:15:41 +01:00
jomo
d307aec221 rename helm to overlay, fixes #127 2015-10-18 15:11:17 +02:00
jomo
26f6b089ef log errors only once, fixes #140
also made sure some (network) errors have level 'WARN'
these are printed without stacktrace
2015-09-20 21:17:13 +02:00
jomo
6d12ed685b enhance renders by using binary transparency
this is a temporary fix for #32.
it doesn't solve the problem, but it makes the renders much less worse.

in combination with #134 this will hopefully lead to fixing the problem entirely
2015-09-06 00:22:57 +02:00
jomo
6213344090 lots of rendering improvements
- we don't need to resize images. canvas can do that for us
- we don't need to use `scale(-1, 1)` to draw flipped
- most of the old/new skin format shares the same code
- we can draw the skin image directly on the canvas
2015-07-23 11:13:24 +02:00
jomo
af03fb63f8 ❤️ eslint 2015-03-27 23:12:44 +01:00
jomo
13360430d9 join logs using , instead of + " " + 2015-03-15 01:57:19 +01:00
jomo
abaf3f77aa add & clean up documentation
also a small improvement for URL error logging, variable naming, and argument joining
2015-03-01 18:58:21 +01:00
jomo
f984b20344 mv modules/ lib/
that's what all the cool kids do
2015-02-27 18:49:39 +01:00