Learn R Programming

Build scalable vector graphics ('SVG') components using element-based functions. With an 'svg' object, we can modify its graphical elements with a suite of transform functions.

Copy Link

Version

Install

install.packages('omsvg')

Monthly Downloads

156

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Richard Iannone

Last Published

February 10th, 2021

Functions in omsvg (0.1.0)

SVG

Create an svg object
anim_position

Animate the position of an element
SVG_t

Create a text-height svg object
SVG_import

Import an SVG file and create an svg object
anim_opacity

Animate an element through an opacity change
anim_scale

Animate an element through scaling
SVG_

Create a compact svg object
SVG_la

Create an svg object with a Line Awesome glyph
anim_rotation

Animate an element through rotation
anims

Express animations for an element
filter_image

Filter: display an image
filter_offset

Filter: offset an element a specified amount
step_start

Use a 'step-start' animation
filter_drop_shadow

Filter: add a drop shadow to an element
filter_dilate

Filter: add a dilation effect to an element
step_end

Use a 'step-end' animation
info_lineawesome

Get an information table showing all Line Awesome icons
ease_in_out

Use an 'easing in and out' animation
knit_print.svg

Safely print any svg object in R Markdown
ease_out

Use an 'easing out' animation
svg_circle

Addition of a circle element
svg_attrs_pres

Define SVG presentation attributes for an element
filter_erode

Filter: add an erosion effect to an element
filter_gaussian_blur

Filter: add a gaussian blur to an element
cubic_bezier

Create a custom easing function for animation
svg_rect

Addition of a rect element
svg_ellipse

Addition of an ellipse element
linear

Use a linear movement for animation
svg_group

Addition of a group element
ease_in

Use an 'easing in' animation
svg_image

Addition of an image element
%>%

Pipe operator
svg_text

Addition of a text element
svg_line

Addition of an line element
svg_path

Addition of an path element
svg_filter

Build an SVG <filter>
svg_polygon

Addition of an polygon element
svg_polyline

Addition of an polyline element