Skip to contents

Simulates a cloud raster

Usage

simulate_cloud(cloud_size = 70, phi, seed = NULL, form = "smooth")

Arguments

cloud_size

the size of the grid along each axis.

phi

parameter to control the structure of the cloud

seed

a seed to pass to ensure reproducibility

form

type of cloud, either smooth or pixellated

Value

a raster object of simulated clouds

Examples

library(raster)
cloud <- simulate_cloud(cloud_size = 10, phi = 0.1)
#> Not seed passed so set to 2023
plot(cloud)