shamansir / elm-aframe / AFrame

A-Frame is an open-source framework for creating 3D and virtual reality experiences on the web.

Scene

scene : List (Html.Attribute msg) -> List (Html msg) -> Html msg

A scene is represented by the element. The scene is the global root object, and all entities are contained within the scene.

main =
    scene [] [ box [] [] ]

Entity

entity : List (Html.Attribute msg) -> List (Html msg) -> Html msg

An entity is represented by the element. As defined in the entity-component-system pattern, entities are placeholder objects to which we plug in components to in order to provide them apperance, behavior, and functionality.

entity [ rotation 90 0 0 ] []