Ryan Timpe
b0d97108ce
bricks_from_rayshader() and various admin fixes
2019-08-04 10:05:16 -04:00
Ryan Timpe
119bef0f36
Bug fix where NAs were coming up in 3D piece count... let's hope it wasn't serious.
2019-08-02 17:27:15 -04:00
Ryan Timpe
9970070a18
Bug in dithering on linux systems
2019-08-02 14:00:29 -04:00
Ryan Timpe
79c3eb95d0
Initial work on vignettes and bricks_from_rayshader()
2019-08-02 13:25:42 -04:00
Ryan Timpe
60d81fa4b9
Dithering!
...
Calculation be a little off... looks funky for cartoon-y images. Probably should use somethign other than independent RGB deltas.
2019-07-31 18:54:12 -04:00
Ryan Timpe
da2e5365ab
Dithering, but only looks good for big, photo-realistic mosaics
2019-07-30 14:46:06 -04:00
Ryan Timpe
accdcc7abf
More README and function name updates!
2019-07-26 19:32:49 -04:00
Ryan Timpe
f3b22a3e13
Initial work on new README.
...
Improved a few more function names.
2019-07-26 15:00:23 -04:00
Ryan Timpe
1ee8f56629
3D Mosaics are now buildable sets with plates.
2019-07-26 09:20:36 -04:00
Ryan Timpe
710415d559
Add plates to 3D models. Right now, cant automatically be used at the same time as bricks. Need to render 2 different models.
...
THis is to help simplify the 3D mosaic rendering.
2019-07-25 15:38:01 -04:00
Ryan Timpe
9a13720297
Color_palette options for more realistic mosaics.
2019-07-24 19:58:22 -04:00
Ryan Timpe
0e4d49f718
New color matching!
2019-07-24 14:53:15 -04:00
Ryan Timpe
906c0faf46
Major steps cleaning up function names and re-examining the order of functions and events. STILL MORE WORK TO DO.
...
Especially with double collect_brick() calls.
2019-07-23 22:23:16 -04:00
Ryan Timpe
a5a3191e1b
Solved that annoying pipe warning issue.
...
https://github.com/r-lib/usethis/issues/478
2019-07-22 13:49:53 -04:00
Ryan Timpe
bdeeede068
OKay this probably fixes the build issue.
2019-07-22 13:40:49 -04:00
Ryan Timpe
46aa75358f
Better docs for the collate issue.
2019-07-22 13:36:08 -04:00
Ryan Timpe
6e4d7fc620
Additional fixes but not sure why collate issues on build.
2019-07-22 13:29:30 -04:00
Ryan Timpe
8e3cdbb5ca
Add collect_brick's use_bricks input to geom_brick_rect
2019-07-21 13:18:03 -04:00
Ryan Timpe
70b159de1e
Bunch of minor fixes:
...
* Again, better detection for flipped coords
* Luminance calculation to determine if brick should have white or grey details.
* More documentation
2019-07-20 13:53:57 -04:00
Ryan Timpe
f93756f0e2
Big updates to documentation. Longggg way to go.
2019-07-19 11:32:09 -04:00
Ryan Timpe
d20c3f8720
Default to no grid lines. Might be too busy.
2019-07-18 11:24:41 -04:00
Ryan Timpe
d84889e1d5
Bug fixes with color and the stupid Levels
2019-07-17 18:50:25 -04:00
Ryan Timpe
63c3abd9c8
See last commit.
2019-07-16 15:43:37 -04:00
Ryan Timpe
5c7be4019b
ANy bricks with brightness <=300 (dark stone grey) have white stud outlines. Might want to change this so red doesn't have white.
2019-07-16 15:42:37 -04:00
Ryan Timpe
632c68e4b7
Major progress on geom_brick and color updates.
...
TODO: Update the themes excel file.
2019-07-15 22:09:41 -04:00
Ryan Timpe
9e1e38cc13
Updated color data. Includes two new colors, but also new brickrID numbers.
2019-07-15 22:08:29 -04:00
Ryan Timpe
cf2de4973f
LEGO color themes with scale_brick and theme_brick.
...
BUT need to go back and update official colors
2019-07-15 17:57:14 -04:00
Ryan Timpe
eada240501
No more coord$is_flipped. Instead, for flipped, is_linear() returns "flipped" instead of T/F. Definitely a hack, but now you can opt not to use coord_brick... not that you should.
2019-07-13 15:29:22 -04:00
Ryan Timpe
595fbb070c
Negative bars!
2019-07-12 14:27:21 -04:00
Ryan Timpe
f698bbe0b6
ToDo list in NEWS.md
...
coord_brick_flip()
2019-07-09 15:34:03 -04:00
Ryan Timpe
7dc0360434
Improved knob rendering! No more shaded knobs.
2019-07-09 14:14:10 -04:00
Ryan Timpe
ef7e24b2c1
Brick_size changed to brick_res
2019-07-08 15:06:18 -04:00
Ryan Timpe
f0213a9102
offset_edge feature for HD bricks. Increases pixels between bricks, but still only 1 dark pixel, so bricks are brighter.
2019-07-07 13:21:10 -04:00
Ryan Timpe
73b475dd03
Edits to text size calculation and the threshold for appearing. Since bar charts arent square mosaics, the n() threshold didn't work.
2019-07-06 13:40:48 -04:00
Ryan Timpe
a5b3b9b00e
Various color edits. Removed double-knob rendering with two_knob = F.
2019-07-06 13:02:44 -04:00
Ryan Timpe
3159fb3c40
draw_key_brick()
...
Still needs a lot of documentation
2019-07-06 09:48:43 -04:00
Ryan Timpe
516a4ec399
Fixed bug when entire column is just fractional brick.
...
Added the 1-knob option for skinny bricks.
2019-07-04 11:18:49 -04:00
Ryan Timpe
1fb9a83c70
coord_brick()!
2019-07-03 16:50:01 -04:00
Ryan Timpe
a0daf3a7bb
Fixed bug with bad rendering with stacked/dodged. but its ugly and probably wrong
2019-07-03 16:23:32 -04:00
Ryan Timpe
a9cb47c061
More bug fixes!
2019-07-01 14:03:46 -04:00
Ryan Timpe
31c28c1156
A few bug fixes before pushing.
2019-07-01 12:59:50 -04:00
Ryan Timpe
c295ab29e6
geom_brick_col()!
...
Needs a lot of work:
- Split columns in 2x4s
- option for 1-brick wide if skinny
- Coord_lego because coordinates are wonky
2019-06-30 18:32:41 -04:00
Ryan Timpe
dd3cca2e50
Complete rewrite of collect_bricks(). Functional collection rather than manual. can be any brick sizes.
2019-06-29 15:54:06 -04:00
Ryan Timpe
0e56889652
Cleaned up the viewport calculations
2019-06-23 17:02:51 -04:00
Ryan Timpe
3b9f4e1973
Embossed text sizes based on INITIAL drawing, so this looks good in the original preview window and ggsave. But not when you open a rendered plot in a new window
2019-06-22 13:48:28 -04:00
Ryan Timpe
e1ce8d4201
Lighten knob outline and embossed text for dark bricks.
2019-06-21 13:26:03 -04:00
Ryan Timpe
b6010d668e
Woot I think I found the correct sizing the embossed knob text
2019-06-20 14:54:52 -04:00
Ryan Timpe
16422a4b0c
Solved the missing resizingTextGrob() problem. No clue how.
...
Text still needs formatting.
2019-06-20 14:23:57 -04:00
Ryan Timpe
afebdef963
Added two more 2x2 nudges...
...
This needs to be more elegant eventually.
2019-06-19 15:18:38 -04:00
Ryan Timpe
e18bd6ddf2
About a million bug fixes:
...
* Reduced geom to just one proto with grob tree.
* Another iteration for diameter calculations...
* better shadow nudging
* Knobs show up with negative diffs
* Ignore 0 diffs for diameter calc
* STILL TEXT IS MISSING
2019-06-18 16:04:40 -04:00