Skip to content

Commit

Permalink
Merge pull request #36 from jpmorganchase/docs_examples_merge
Browse files Browse the repository at this point in the history
Docs examples merge
  • Loading branch information
dsaffo authored Apr 1, 2024
2 parents df5aeb6 + 9aea0bb commit 2ef4872
Show file tree
Hide file tree
Showing 571 changed files with 193,347 additions and 572,412 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: Build with VitePress
run: |
cd docs
export NODE_OPTIONS="--max_old_space_size=4096"
npm ci
npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
# touch docs/.vitepress/dist/.nojekyll
Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/Chromatic/chromatic.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
11 changes: 5 additions & 6 deletions anu-examples/examples/CreateAVis/step1.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
// Copyright : J.P. Morgan Chase & Co.

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import { Scene, HemisphericLight, ArcRotateCamera, Vector3 } from "@babylonjs/core";
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand All @@ -22,10 +21,10 @@ export const scatterPlot3DStep1 = function(engine){
let spheres = cot.bind('sphere', {diameter: 1}, iris);


Inspector.Show(scene, {
embedMode: true,
showInspector: false
});
// Inspector.Show(scene, {
// embedMode: true,
// showInspector: false
// });

return scene;
};
1 change: 0 additions & 1 deletion anu-examples/examples/CreateAVis/step2.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/CreateAVis/step3.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};
import {extent, scaleLinear, map} from "d3";

Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/CreateAVis/step4.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};
import {extent, scaleLinear, map} from "d3";

Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/CreateAVis/step5.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};
import {extent, scaleLinear, map} from "d3";

Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/CreateAVis/step6.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, StandardMaterial, Color3} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};
import {extent, scaleOrdinal, scaleLinear, schemeCategory10, map} from "d3";

Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/Selections/boxes_transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu'//import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/Selections/cot_bind.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu'//import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/Selections/cot_transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/Selections/mod_function.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
9 changes: 4 additions & 5 deletions anu-examples/examples/Selections/mod_value.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand All @@ -25,10 +24,10 @@ export const modValue = function(engine){
.name("iris_sphere"); // type string


Inspector.Show(scene, {
embedMode: true,
showInspector: false
});
// Inspector.Show(scene, {
// embedMode: true,
// showInspector: false
// });

return scene;
};
1 change: 0 additions & 1 deletion anu-examples/examples/Selections/prop.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/Selections/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
1 change: 0 additions & 1 deletion anu-examples/examples/Selections/select_boxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down
9 changes: 4 additions & 5 deletions anu-examples/examples/Selections/spheres_bind.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import * as anu from '@jpmorganchase/anu' //import anu, this project is using a local import of babylon js located at ../babylonjs-anu this may not be the latest version and is used for simplicity.
import { Scene, HemisphericLight, ArcRotateCamera, Vector3, MeshBuilder} from "@babylonjs/core";
import { Inspector } from '@babylonjs/inspector';
import iris from '../../data/iris.json' assert {type: 'json'};

//create and export a function that takes a babylon engine and returns a scene
Expand Down Expand Up @@ -33,10 +32,10 @@ export const spheresBind = function(engine){
//Each sphere under cot will now be the parent of a box mesh.
let boxes = spheres.bind('box')

Inspector.Show(scene, {
embedMode: true,
showInspector: false
});
// Inspector.Show(scene, {
// embedMode: true,
// showInspector: false
// });

return scene;

Expand Down
Loading

0 comments on commit 2ef4872

Please sign in to comment.