Commit Graph

  • 9970070a18 Bug in dithering on linux systems Ryan Timpe 2019-08-02 14:00:29 -04:00
  • 79c3eb95d0 Initial work on vignettes and bricks_from_rayshader() Ryan Timpe 2019-08-02 13:25:42 -04:00
  • 60d81fa4b9 Dithering! Calculation be a little off... looks funky for cartoon-y images. Probably should use somethign other than independent RGB deltas. Ryan Timpe 2019-07-31 18:54:12 -04:00
  • da2e5365ab Dithering, but only looks good for big, photo-realistic mosaics Ryan Timpe 2019-07-30 14:46:06 -04:00
  • accdcc7abf More README and function name updates! Ryan Timpe 2019-07-26 19:32:49 -04:00
  • f3b22a3e13 Initial work on new README. Ryan Timpe 2019-07-26 15:00:23 -04:00
  • 1ee8f56629 3D Mosaics are now buildable sets with plates. Ryan Timpe 2019-07-26 09:20:36 -04:00
  • 710415d559 Add plates to 3D models. Right now, cant automatically be used at the same time as bricks. Need to render 2 different models. Ryan Timpe 2019-07-25 15:38:01 -04:00
  • 9a13720297 Color_palette options for more realistic mosaics. Ryan Timpe 2019-07-24 19:58:22 -04:00
  • 0e4d49f718 New color matching! Ryan Timpe 2019-07-24 14:53:15 -04:00
  • 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. Ryan Timpe 2019-07-23 22:23:16 -04:00
  • a5a3191e1b Solved that annoying pipe warning issue. Ryan Timpe 2019-07-22 13:49:53 -04:00
  • bdeeede068 OKay this probably fixes the build issue. Ryan Timpe 2019-07-22 13:40:49 -04:00
  • 46aa75358f Better docs for the collate issue. Ryan Timpe 2019-07-22 13:36:08 -04:00
  • 6e4d7fc620 Additional fixes but not sure why collate issues on build. Ryan Timpe 2019-07-22 13:29:30 -04:00
  • 8e3cdbb5ca Add collect_brick's use_bricks input to geom_brick_rect Ryan Timpe 2019-07-21 13:18:03 -04:00
  • 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 Ryan Timpe 2019-07-20 13:53:57 -04:00
  • f93756f0e2 Big updates to documentation. Longggg way to go. Ryan Timpe 2019-07-19 11:32:09 -04:00
  • d20c3f8720 Default to no grid lines. Might be too busy. Ryan Timpe 2019-07-18 11:24:41 -04:00
  • d84889e1d5 Bug fixes with color and the stupid Levels Ryan Timpe 2019-07-17 18:50:25 -04:00
  • 63c3abd9c8 See last commit. Ryan Timpe 2019-07-16 15:43:37 -04:00
  • 5c7be4019b ANy bricks with brightness <=300 (dark stone grey) have white stud outlines. Might want to change this so red doesn't have white. Ryan Timpe 2019-07-16 15:42:37 -04:00
  • 632c68e4b7 Major progress on geom_brick and color updates. TODO: Update the themes excel file. Ryan Timpe 2019-07-15 22:09:41 -04:00
  • 9e1e38cc13 Updated color data. Includes two new colors, but also new brickrID numbers. Ryan Timpe 2019-07-15 22:08:29 -04:00
  • cf2de4973f LEGO color themes with scale_brick and theme_brick. BUT need to go back and update official colors Ryan Timpe 2019-07-15 17:57:14 -04:00
  • 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. Ryan Timpe 2019-07-13 15:29:22 -04:00
  • 595fbb070c Negative bars! Ryan Timpe 2019-07-12 14:27:21 -04:00
  • f698bbe0b6 ToDo list in NEWS.md coord_brick_flip() Ryan Timpe 2019-07-09 15:34:03 -04:00
  • 7dc0360434 Improved knob rendering! No more shaded knobs. Ryan Timpe 2019-07-09 14:14:10 -04:00
  • ef7e24b2c1 Brick_size changed to brick_res Ryan Timpe 2019-07-08 15:06:18 -04:00
  • f0213a9102 offset_edge feature for HD bricks. Increases pixels between bricks, but still only 1 dark pixel, so bricks are brighter. Ryan Timpe 2019-07-07 13:21:10 -04:00
  • 73b475dd03 Edits to text size calculation and the threshold for appearing. Since bar charts arent square mosaics, the n() threshold didn't work. Ryan Timpe 2019-07-06 13:40:48 -04:00
  • a5b3b9b00e Various color edits. Removed double-knob rendering with two_knob = F. Ryan Timpe 2019-07-06 13:02:44 -04:00
  • 3159fb3c40 draw_key_brick() Still needs a lot of documentation Ryan Timpe 2019-07-06 09:48:43 -04:00
  • 516a4ec399 Fixed bug when entire column is just fractional brick. Added the 1-knob option for skinny bricks. Ryan Timpe 2019-07-04 11:18:49 -04:00
  • 1fb9a83c70 coord_brick()! Ryan Timpe 2019-07-03 16:50:01 -04:00
  • a0daf3a7bb Fixed bug with bad rendering with stacked/dodged. but its ugly and probably wrong Ryan Timpe 2019-07-03 16:23:32 -04:00
  • a9cb47c061 More bug fixes! Ryan Timpe 2019-07-01 14:03:46 -04:00
  • 31c28c1156 A few bug fixes before pushing. Ryan Timpe 2019-07-01 12:59:50 -04:00
  • 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 Ryan Timpe 2019-06-30 18:32:41 -04:00
  • dd3cca2e50 Complete rewrite of collect_bricks(). Functional collection rather than manual. can be any brick sizes. Ryan Timpe 2019-06-29 15:54:06 -04:00
  • 0e56889652 Cleaned up the viewport calculations Ryan Timpe 2019-06-23 17:02:51 -04:00
  • 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 Ryan Timpe 2019-06-22 13:48:28 -04:00
  • e1ce8d4201 Lighten knob outline and embossed text for dark bricks. Ryan Timpe 2019-06-21 13:26:03 -04:00
  • b6010d668e Woot I think I found the correct sizing the embossed knob text Ryan Timpe 2019-06-20 14:54:52 -04:00
  • 16422a4b0c Solved the missing resizingTextGrob() problem. No clue how. Text still needs formatting. Ryan Timpe 2019-06-20 14:23:57 -04:00
  • afebdef963 Added two more 2x2 nudges... This needs to be more elegant eventually. Ryan Timpe 2019-06-19 15:18:38 -04:00
  • 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 Ryan Timpe 2019-06-18 16:04:40 -04:00
  • 60e1db0adb brickr HD - The darkness of the space between 3D bricks is dependent on the resolution, since the gap gets smaller. Ryan Timpe 2019-06-18 16:02:50 -04:00
  • ce948ebcc6 User-specified 3D brick resolution. Defaults to 15px per side (default from before). 30 looks good. Ryan Timpe 2019-06-13 15:39:17 -04:00
  • 0ef3fbc5df Bug fix: Knob diameter dependent on x, y sorting. Ryan Timpe 2019-06-10 14:12:40 -04:00
  • 24069163e1 Bug fix in the brick collection updates. Ryan Timpe 2019-06-10 10:05:15 -04:00
  • 95f533c1b2 display_set() now uses geom_brick_rect(). This uncovered a bug with expand = FALSE, so had to rewrite the diameter calc in geom_brick() Ryan Timpe 2019-06-07 16:28:42 -04:00
  • 3e4f27e8dc Beginning of work for geom_brick_points() Ryan Timpe 2019-06-07 16:27:39 -04:00
  • fbd69f58f8 BUG: Knobs not changing with scale_fill_manual and no aes(fill). Ryan Timpe 2019-06-07 13:41:19 -04:00
  • 6f43f336e3 ggproto documentation Ryan Timpe 2019-06-07 11:56:12 -04:00
  • 95ca17ec3c Change geom name to geom_brick_*() to allow for different brick geoms Ryan Timpe 2019-06-07 11:53:05 -04:00
  • 9ac0458f9e Reduce the simplified threshold value, but only apply it to the text. CircleGrob doesn't slow down the rendering. Ryan Timpe 2019-06-06 19:20:41 -04:00
  • 95ec92ebe0 Nudge all brick collection calculations to the right and up. This reduces the # of smaller bricks. A 24x24 is now only comprised of 2x4 bricks. As it should be. Ryan Timpe 2019-06-06 18:49:40 -04:00
  • 7aaa07293f Collect bricks. This is done by a hack runnign the collect_bricks() function inside of the geom. Addresses the issue that the brick grob and the knob grob need the same data. Ryan Timpe 2019-06-06 18:29:05 -04:00
  • 04eb27bc6d Drawing is slow for big mosaics. Added simplified_threshold input to suppress shadow and embossed text on mosaics over 48*48 Ryan Timpe 2019-06-06 16:44:26 -04:00
  • 985af2abd5 Fixed awkward knob sizes at larger scales using resolution(). Drawing is slow at the standard 48x48 scale -_- Ryan Timpe 2019-06-06 16:17:51 -04:00
  • 0c235ea669 Woot! Figured out scaleable text. Use cex!!! Ryan Timpe 2019-06-05 22:28:13 -04:00
  • dce3deb50a Restarting geom_brick functions. Beginning with a rect copy. Ryan Timpe 2019-06-05 15:51:30 -04:00
  • 22620659c1 Initial commit... Definitely need to recalculate stud placement. Stacked charts don't work right now. Ryan Timpe 2019-05-12 14:38:04 -04:00
  • 9d9a35af18 Clean up description issues. Ryan Timpe 2019-05-12 10:29:38 -04:00
  • b6cac44c3d Major build issues. Checking if Master is okay... i assume no. Ryan Timpe 2019-05-11 17:30:35 -04:00
  • 424d429ee0 Beginning work for bricks_from_data() Ryan Timpe 2019-05-04 11:47:45 -04:00
  • 494dacfe46 bricks_from_excel() to allow for model creation using an Excel template. v0.0.0 Ryan Timpe 2019-04-10 14:12:13 -04:00
  • f2db2ea126 Updated ReadMe Ryan Timpe 2019-03-29 11:28:26 -04:00
  • a2dfa368f5 Added a NEWS.md file! Ryan Timpe 2019-03-22 19:53:18 -04:00
  • bb08271bd9 Next release for bricks_from_coords() and updated README. Ryan Timpe 2019-03-22 09:31:17 -04:00
  • a4f758e9d4 Lightened the brick sides from 75% of color to 90% Ryan Timpe 2019-03-18 12:09:59 -04:00
  • 2ff0b037a8 First pass at bricks_from_coords(). Need to create a bricks_from_() function for duplicate procedures. Ryan Timpe 2019-03-17 17:42:39 -04:00
  • ffdc114c08 Fixed missing logo Ryan Timpe 2019-03-15 11:16:41 -04:00
  • 988187058e Hide additional development scripts Ryan Timpe 2019-03-15 10:56:44 -04:00
  • 229ec9ada8 Small updates for initial release Ryan Timpe 2019-03-15 10:56:04 -04:00
  • 97a5f9c118 The color update! display_colors() shows allowed color names and ID. Uses {brickr} color ID #s instead of LEGO. Error messag for wrong colors. Ryan Timpe 2019-03-14 17:39:25 -04:00
  • 2b28803d91 Additional animation parameters for shifting xyz Ryan Timpe 2019-03-14 16:44:16 -04:00
  • c134fa0ac4 Animation options for incrementing and cutting off x, y, z Ryan Timpe 2019-03-14 16:42:56 -04:00
  • 37f7f5430c Initial ReadMe work. Ryan Timpe 2019-03-13 18:07:35 -04:00
  • 10c607a669 Initial work to make animations more accessible Ryan Timpe 2019-03-13 17:30:14 -04:00
  • 149138d6d9 Added more brick groups with offsets. Slightly slower collect_bricks() but reduces the final brick count. Probably a more elegant way to do this. Ryan Timpe 2019-03-10 12:22:51 -04:00
  • bd4cc5df40 Moved collect_bricks() to a new script as it's used in both Mosaics and 3D Models Ryan Timpe 2019-03-10 11:30:18 -04:00
  • 488d231d22 Initial functions for 3D brick models. Super basic right now. Ryan Timpe 2019-03-09 21:10:39 -05:00
  • 655eba94e4 Changed package name to {brickr} Ryan Timpe 2019-03-08 16:39:11 -05:00
  • 5fef7617f4 Final set of original 2D and 3D mosaic functions added to pkg. Ryan Timpe 2019-03-08 16:26:22 -05:00
  • 80351b418a Pkg functions to view 2D mosaics and instructions Ryan Timpe 2019-03-07 17:48:32 -05:00
  • da66a17cac Updates to the core functions to allow for 3D rendering of non-images later. Specifically, the "level" or z metric Ryan Timpe 2019-03-05 22:49:50 -05:00
  • ba3686a9c3 Additional pkg development work... through collect_bricks() Ryan Timpe 2019-03-04 15:30:26 -05:00
  • 8ceac8eab7 Initial pkg development Ryan Timpe 2019-03-03 14:06:33 -05:00
  • 603289bf77 Updated ReadMe for better 3D preview image Ryan Timpe 2019-03-03 12:42:38 -05:00
  • 6efb74e847 The outer edges of the mosaic are now brick-colored! Default base color is "medium stone grey" but can be altered. Ryan Timpe 2019-03-01 22:59:03 -05:00
  • b2236e8487 Closes Issue #2 Change how I calculate which x-y stud belongs to which brick. This removes the bug where some studs were getting multiple bricks. Ryan Timpe 2019-03-01 16:13:07 -05:00
  • d40e83bba6 Use LEGO color csv on github if not local. Reduce package dependencies. Ryan Timpe 2019-02-25 09:09:22 -05:00
  • 6a37fccc27 Easter egg to swap color channels Ryan Timpe 2019-02-21 15:17:01 -05:00
  • 37cc75945f Added a 'brightness' option to scale_image(). Ryan Timpe 2019-02-21 14:52:04 -05:00
  • 448ae5ba72 3D and BW themed mosiacs (+ typos) Ryan Timpe 2019-02-17 14:30:21 -05:00
  • 251d08cd1a Updated demo options Ryan Timpe 2019-02-17 13:54:20 -05:00
  • 61af1463e3 Fixed bug in instructions generation Ryan Timpe 2019-02-17 13:54:08 -05:00