Skip to content

Latest commit

 

History

History
82 lines (74 loc) · 2.39 KB

todos.md

File metadata and controls

82 lines (74 loc) · 2.39 KB

TODOs

Project

Features

  • createThreeApp

    • scene
    • [x]camera
      • aspect ratio
      • OrthographicCamera
      • PerspectiveCamera
    • renderer
    • render loop
      • render()
      • start()
      • stop()
    • onResize hook
    • onRender hook
      • clock
    • ColorManagement
    • shadows
    • fullScreenMode
  • applyProps

    • accept - separated props like position-y: 2 | rotation-x: -Math.PI / 2
    • Can extends ThreeProps like ThreeProps<T, { color: string }>
    • accept functions like camera.lookAt()
      • map function types to receive params and call func
    • handle prop types
      • Vector 2,3,4 like props [position]
      • Scale
      • color
      • rotation
  • createWithProps fn

  • map ColorLikeProps

  • Basic Three components

    • Lights
    • Camera Controls
  • onHover

  • onClick

  • useThreeApp

  • tweakpane

  • multiple threeApp instances

    • getThreeAppInstance | resolveDispatcher
  • onDestroy hook

    • remove element from toRender if needed
    • remove element from toIntersect if needed
  • Accept .gltf files

    https://github.com/edwinwebb/three-seed https://whsjs.readme.io/docs

  • tests -[x] applyProps

  • Publish beta version

  • #threeJsJourney en twitter