![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
This project is an experimental ES6 WebGL engine built on stack.gl. It tries to combine the small-repo / big-repo philosophies together providing an easy to use environment. The API is built to be composable with the magnificent tools on NPM, while opinionated and centralized in a way to get things done quickly.
Check this github issue out: https://github.com/glamjs/glam/issues/1
import Mesh from "glam/lib/mesh"
import Camera from "glam/lib/camera/perspective"
import Material from "glam/lib/material/flat"
import Scene from "glam/lib/scene"
import Geometry from "glam/lib/geometry"
import Bunny from 'bunny'
var scene = Scene()
var camera = Camera()
var material = Material()
var geometry = Geometry( Bunny )
var mesh = Mesh( material, geometry )
scene.add( mesh )
material.shading.color = [0.1,0.3,0.4]
mesh.transform.position[1] = -5
mesh.transform.position[2] = 0
camera.transform.position[2] = 20
scene.loop.on('update', function(e) {
mesh.transform.euler[1] = e.elapsed * 0.001
mesh.transform.euler[0] = e.elapsed * 0.0001
scene.render( camera )
})
status | feature |
---|---|
done | Basic working example with a flat material |
done | Basic documentation in place |
todo | Live examples |
todo | Testing |
todo | Normal shading material |
todo | Phong shading material |
todo | Directional lighting |
todo | And more |
FAQs
inline css for your jsx
The npm package glam receives a total of 20,199 weekly downloads. As such, glam popularity was classified as popular.
We found that glam demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.