Description Usage Arguments Examples
Simulate cell transformation and write series of obj files
1 2 3 | my.cell.sim(n = 5, k = 5, n.mesh = 32, n.step = 50, scale.shift = 0.1,
scale.rotation1 = 0.1, scale.rotation2 = 0.1, scale.shear = 0.1,
file.name = "hoge")
|
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 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | library(devtools)
install_github("ryamada22/Ronlyryamada")
library(Ronlyryamada)
library(rgl)
library(RFOC)
# parameters
n <- 5 # depth of sphere harmonic functions
k <- 5 # simple sphere radius
n.mesh <- 32 # fineness of mesh
n.step <- 50 # number of time steps
scale.shift <- 0.1 # shift
scale.rotation1 <- 0.1 # rotation 1
scale.rotation2 <- 0.1 # rotation 2
scale.shear <- 0.1 # shear
file.name <- "hoge"
my.cell.sim()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.