Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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 7,651 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.