Gathering detailed insights and metrics for @hillworld/babylonjs-core
Gathering detailed insights and metrics for @hillworld/babylonjs-core
npm install @hillworld/babylonjs-core
Typescript
Module System
Node Version
NPM Version
81.2
Supply Chain
99.6
Quality
75
Maintenance
100
Vulnerability
100
License
TypeScript (86.7%)
HLSL (6.16%)
JavaScript (4.05%)
SCSS (1.48%)
Roff (1.09%)
HTML (0.46%)
FLUX (0.06%)
Total Downloads
204
Last Day
1
Last Week
3
Last Month
5
Last Year
48
23,508 Stars
44,782 Commits
3,460 Forks
539 Watching
13 Branches
535 Contributors
Minified
Minified + Gzipped
Latest Version
6.12.2
Package Id
@hillworld/babylonjs-core@6.12.2
Unpacked Size
33.59 MB
Size
6.11 MB
File Count
3,616
NPM Version
9.5.1
Node Version
18.16.0
Publised On
25 Jul 2023
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
200%
3
Compared to previous week
Last month
66.7%
5
Compared to previous month
Last year
-69.2%
48
Compared to previous year
2
Getting started? Play directly with the Babylon.js API using our playground. It also contains a lot of samples to learn how to use it.
Any questions? Here is our official forum.
To look into our CDN bundled distribution, you can refer to the package babylonjs
BabylonJS and its modules are published on npm as esNext modules with full typing support. To install, use:
1npm install @babylonjs/core --save
This will allow you to import BabylonJS entirely using:
1import * as BABYLON from '@babylonjs/core/Legacy/legacy';
or individual classes to benefit from enhanced tree shaking using :
1import { Scene } from '@babylonjs/core/scene'; 2import { Engine } from '@babylonjs/core/Engines/engine';
To add a module, install the respective package. A list of extra packages and their installation instructions can be found on the babylonjs user on npm scoped on @babylonjs.
See our ES6 dedicated documentation:
1import { Engine } from "@babylonjs/core/Engines/engine"; 2import { Scene } from "@babylonjs/core/scene"; 3import { Vector3 } from "@babylonjs/core/Maths/math"; 4import { FreeCamera } from "@babylonjs/core/Cameras/freeCamera"; 5import { HemisphericLight } from "@babylonjs/core/Lights/hemisphericLight"; 6import { Mesh } from "@babylonjs/core/Meshes/mesh"; 7 8// Side-effects only imports allowing the standard material to be used as default. 9import "@babylonjs/core/Materials/standardMaterial"; 10// Side-effects only imports allowing Mesh to create default shapes (to enhance tree shaking, the construction methods on mesh are not available if the meshbuilder has not been imported). 11import "@babylonjs/core/Meshes/Builders/sphereBuilder"; 12import "@babylonjs/core/Meshes/Builders/boxBuilder"; 13import "@babylonjs/core/Meshes/Builders/groundBuilder"; 14 15const canvas = document.getElementById("renderCanvas") as HTMLCanvasElement; 16const engine = new Engine(canvas); 17var scene = new Scene(engine); 18 19// This creates and positions a free camera (non-mesh) 20var camera = new FreeCamera("camera1", new Vector3(0, 5, -10), scene); 21 22// This targets the camera to scene origin 23camera.setTarget(Vector3.Zero()); 24 25// This attaches the camera to the canvas 26camera.attachControl(canvas, true); 27 28// This creates a light, aiming 0,1,0 - to the sky (non-mesh) 29var light = new HemisphericLight("light1", new Vector3(0, 1, 0), scene); 30 31// Default intensity is 1. Let's dim the light a small amount 32light.intensity = 0.7; 33 34// Our built-in 'sphere' shape. Params: name, subdivs, size, scene 35var sphere = Mesh.CreateSphere("sphere1", 16, 2, scene); 36 37// Move the sphere upward 1/2 its height 38sphere.position.y = 2; 39 40// Our built-in 'ground' shape. Params: name, width, depth, subdivs, scene 41Mesh.CreateGround("ground1", 6, 6, 2, scene); 42 43engine.runRenderLoop(() => { 44 scene.render(); 45});
Please see the contribution guidelines.
To get a complete list of supported features, please visit our website.
No vulnerabilities found.
Reason
30 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
binaries present in source code
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-01-13
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More