Skip to content

Commit

Permalink
Updating description, news and figures
Browse files Browse the repository at this point in the history
  • Loading branch information
jonclayden committed Apr 26, 2018
1 parent 5d12c19 commit 75ea246
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: shades
Version: 1.1.0
Date: 2018-02-06
Version: 1.2.0
Date: 2018-04-26
Title: Simple Colour Manipulation
Author: Jon Clayden
Maintainer: Jon Clayden <code@clayden.org>
Expand Down
17 changes: 17 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ Significant changes to the shades package are laid out below for each release.

===============================================================================

VERSION 1.2.0

- There is now support for transparency, which can be queried or modified
through the new opacity() function, which functions just like the other
colour property functions (#4). Opacity (alpha) values are stored as an
attribute with shade objects, and reflected in the RGB hex representation
only when less than 1.
- The scalefac() functional has been added, which multiplies its argument just
as delta() adds it. Both functions now accept, and concatenate, multiple
arguments for convenience.
- The usual behaviour of the colour property manipulation functions, which
vectorise over both arguments, can be suppressed by wrapping replacement
values with the recycle() function, which reverts to a standard R
"recycling" scheme with final dimensions matching the original.

===============================================================================

VERSION 1.1.0

- The dichromat() function now offers a pass-through (normal colour vision)
Expand Down
Binary file modified tools/figures/ggplot-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tools/figures/ggplot-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 75ea246

Please sign in to comment.