
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
3d-elements
Advanced tools
A library for rendering geometric solids comprised of html and svg elements 3d rotated using the transform CSS property, providing interfaces for controlling the rotation and position of rendered shapes.
A library for rendering geometric solids comprised of html and svg elements 3d rotated using the transform CSS property, providing interfaces for controlling the rotation and position of rendered shapes.
<script src='https://unpkg.com/3d-elements'></script>
npm install --save 3d-elements
In the following HTML fragment, the library is loaded from the script tag, so:
<script src='https://unpkg.com/3d-elements'></script>
<figure e3d-shape="Decagon"
size="50 100 50"
spin="30 60 10"
face-class="preset-e3d-green preset-e3d-centered">
<div>first face</div>
<div>
<p>second face</p>
<p>it has <b>more</b> content</p>
</div>
</figure>
The 'make' object exposes the functions for creating new shapes. Each function returns the e3d-shape element (with the e3d-face element children) which can be appended to the document.
var dodecahedron = e3d.make.Dodecahedron({
faceClass:'preset-e3d-black',
size: [200],
spin: [0,0,0],
move: [0,100,0],
faceContent: '<p>This mark-up will be added to each face</p>'
})
document.querySelector('div').appendChild(dodecahedron)
FAQs
A library for rendering geometric solids comprised of html and svg elements 3d rotated using the transform CSS property, providing interfaces for controlling the rotation and position of rendered shapes.
The npm package 3d-elements receives a total of 4 weekly downloads. As such, 3d-elements popularity was classified as not popular.
We found that 3d-elements demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.