Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
aframe-atlas-uvs-component
Advanced tools
An A-Frame component to set UVs onto a plane geometry given a gridded texture atlas.
An A-Frame component to set UVs onto a plane geometry given a gridded texture atlas.
See examples here: https://supermedium.github.io/superframe/components/atlas-uvs/
Version 3.0 supports buffer geometries for A-Frame 1.2 and greater. (Use version 2.1 of this component for A-Frame 1.1 and earlier)
Property | Description | Default Value |
---|---|---|
column | Column to select from atlas, 1-indexed, where 1 is the left-most column. | 1 |
row | Row to select from atlas, 1-indexed, where 1 is the bottom-most row. | 1 |
totalColumns | Total number of columns to divide the atlas. | 1 |
totalRows | Total number of rows to divide the atlas. | 1 |
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-atlas-uvs-component@3.0.0/dist/aframe-atlas-uvs-component.min.js"></script>
</head>
<body>
<a-scene>
<a-mixin id="myAtlas" atlas-uvs="totalRows: 4; totalColumns: 4" material="src: myAtlas.png" geometry="primitive: plane; buffer: false; skipCache: true"></a-mixin>
<a-entity mixin="myAtlas" atlas-uvs="column: 1; row: 1"></a-entity>
<a-entity mixin="myAtlas" atlas-uvs="column: 3; row: 2"></a-entity>
<a-entity mixin="myAtlas" atlas-uvs="column: 2; row: 4"></a-entity>
</a-scene>
</body>
For A-Frame versions 1.1 and earlier:
<script src="https://unpkg.com/aframe-atlas-uvs-component@2.1.0/dist/aframe-atlas-uvs-component.min.js"></script>
Install via npm:
npm install aframe-atlas-uvs-component
Then require and use.
require('aframe');
require('aframe-atlas-uvs-component');
FAQs
An A-Frame component to set UVs onto a plane geometry given a gridded texture atlas.
The npm package aframe-atlas-uvs-component receives a total of 13 weekly downloads. As such, aframe-atlas-uvs-component popularity was classified as not popular.
We found that aframe-atlas-uvs-component 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.