my.spin.transformation: Spin transformation

Description Usage Arguments Examples

Description

Spin transformation

Usage

1
2
3
my.spin.transformation(n = 5, k = runif(1), n.mesh = 32, n.step = 10,
  scale.shift = 0.1, scale.rotation1 = 0.1, scale.rotation2 = 0.1,
  scale.shear = 0.1, file.name = "hoge")

Arguments

n

depth of sphere harmonic functions

k

simple sphere radius

n.mesh

fineness of mesh

n.step

number of time steps

scale.shift

scale of shift

scale.rotation1

scale of rotation 1

scale.rotation2

scale of rotation 2

scale.shear

scale of shear

file.name

output file name

Examples

1
2
3
4
5
6
library(rgl)
library(RFOC)
library(onion)
out3 <- my.spin.transformation(n.mesh=64,scale.shift=3,scale.shear=0.2)
plot3d(out3$new.xyz,xlim=range(out3$new.xyz),ylim=range(out3$new.xyz),zlim=range(out3$new.xyz))
segments3d(out3$new.xyz[c(t(out3$mesh$edge)),])

ryamada22/Ronlyryamada documentation built on May 28, 2019, 10:43 a.m.