Skip to content

add support for view3d #23

@sritchie

Description

@sritchie

This is going to require letting view3d have children.

;; https://jsxgraph.org/docs/symbols/Functiongraph3D.html

(let [box [-5 5]
      F  (fn [x y] (Math/sin (* x (/ y 4))))]
  [jsx/JSXGraph {:boundingbox [-8 8 8 -8] :showCopyright false :axis false :showNavigation false}
   [:view3d
    {:parents [[-6, -3] [8 8]
               [box box box]]
     :xPlaneRear {:visible false}
     :yPlaneRear {:visible false}}
    [jsx/FunctionGraph3D
     {:parents [F box box]
      :strokeWidth 0.5
      :stepsU 70
      :stepsV 70}]]])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions