Skip to content

📦 Curve 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/acurve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acurve

Curve component for aframer

Installation

devtools::install_github("JohnCoene/acurve")

Example

This is a basic example which shows you how to solve a common problem:

library(aframer)
library(acurve)

browse_aframe(
  a_scene(
    a_dependency(), 
    acurve_dependency(),
    a_curve(
      id = "track",
      a_curve_point(position = xyz_aframe(-2, 1, -3)),
      a_curve_point(position = xyz_aframe(0, 0, -3)),
      a_curve_point(position = xyz_aframe(2, 1, -5))
    ),
    a_draw_curve(
      curveref = "#track",
      material = opts_aframe(
        shader = "line",
        color = "blue"
      )
    )
  )
)

About

📦 Curve 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