Skip to content

Commit

Permalink
inspector update
Browse files Browse the repository at this point in the history
  • Loading branch information
Saffo, David committed Apr 1, 2024
1 parent e31ab8b commit 5bb9155
Show file tree
Hide file tree
Showing 192 changed files with 215,713 additions and 152,904 deletions.
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 5bb9155

Please sign in to comment.