Skip to content

📦 Path component for aframer

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

JohnCoene/apath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apath

Path component for aframer

Installation

# install.packages("devtools")
devtools::install_github("JohnCoene/apath")

Example

library(aframer)
library(acurve)
library(apath)

embed_aframe(
  a_scene(
    a_dependency(),
    acurve_dependency(),
    apath_dependency(),
    a_curve(
      id = "track1",
      a_curve_point(position = "-2 2 -3"),
      a_curve_point(position = "0 1 -3"),
      a_curve_point(position = "2 2 -3")
    ),
    a_box(
      alongpath = opts_aframe(
        curve = "#track1",
        dur = 5000,
        loop = TRUE
      ), 
      color = "blue"
    )
  )
)

About

📦 Path component for aframer

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published