fable-import-three

0.0.4 • Public • Published

fable-import-three

Fable bindings for three.js

Installation

$ npm install --save fable-core three
$ npm install --save-dev fable-import-three

Usage

Note: To prevent naming conflicts, THREE as a module is upper case, while three as a value containing global methods is lower case.

In a F# project (.fsproj)

  <ItemGroup>
    <Reference Include="node_modules/fable-core/Fable.Core.dll" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="node_modules/fable-import-three/Fable.Import.Three.fs" />
  </ItemGroup>

In a F# script (.fsx)

#r "node_modules/fable-core/Fable.Core.dll"
#load "node_modules/fable-import-three/Fable.Import.Three.fs"
 
open Fable.Core
open Fable.Import

Package Sidebar

Install

npm i fable-import-three

Weekly Downloads

4

Version

0.0.4

License

Apache-2.0

Last publish

Collaborators

  • alfonsogarciacaro