The goal of DnDalignment is to easily build D&D alignment charts using
the magick
R package.
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("williamorim/DnDalignment")
This is a basic example which shows you how to build a chart:
library(DnDalignment)
create_alignment(
chaotic_good = "https://www.cheatsheet.com/wp-content/uploads/2021/04/The-Office.jpg",
neutral_good = "https://uploads.jovemnerd.com.br/wp-content/uploads/2021/02/the-office-jim-canta-musica-abertura.jpg",
chaotic_neutral = "https://img.ibxk.com.br/2021/01/20/20133848690155.png",
chaotic_evil = "https://www.looper.com/img/gallery/the-todd-packer-scene-in-the-office-that-went-too-far/l-intro-1620750071.jpg",
lawful_good = "https://static3.srcdn.com/wordpress/wp-content/uploads/2019/11/Phyllis-The-Office.jpg?q=50&fit=crop&w=740&h=370&dpr=1.5",
lawful_evil = "https://i.ytimg.com/vi/BWNhTOd9uXI/maxresdefault.jpg",
neutral_evil = "https://cdn.jwplayer.com/v2/media/46qsexlL/poster.jpg?width=720",
lawful_neutral = "https://uploads.jovemnerd.com.br/wp-content/uploads/2021/01/the-office-dwight-gerenta.jpg",
true_neutral = "https://pbs.twimg.com/media/EXlUzHzXQAEgIZt.png"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.