knitr::read_demo("clusters", package="cda") knitr::read_chunk("load.R")
A cluster of particles is defined in 3 dimensions by a list with 3 components: positions of the dipoles; Euler angles to orient the polarizability tensor in space; and sizes of the particles (3 semi-axes for ellipsoids). Functions are provided for a few types of common clusters, as well as for their visualisation in 3D using OpenGl or povray.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.