inst/test_files/test_sketch.R

#| load_library("p5")
#| load_script("test_sketch_2.R")

setup <- function() {
    createCanvas(300, 300)
}

draw <- function() {
    circle(150, 150, 30)
    noLoop()
}
kcf-jackson/sketch documentation built on Feb. 22, 2024, 1:44 p.m.