Socket
Socket
Sign inDemoInstall

infamous

Package Overview
Dependencies
139
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    infamous

A CSS3D/WebGL UI library.


Version published
Weekly downloads
389
increased by116.11%
Maintainers
1
Install size
21.4 MB
Created
Weekly downloads
 

Readme

Source

infamous All Contributors

Create 3D CSS+WebGL apps declaratively with HTML.

SiteForumsExamplesDocs

About

Infamous gives you general-purpose Custom HTML Elements that the browser understands, for defining 2D or 3D scenes rendered with CSS3D, WebGL, or both mixed together.

If you prefer imperative JavaScript, you can also use the imperative JavaScript API.

Infamous' "mixed mode" let's us combine traditional HTML elements with new ones that render to WebGL (powered by Three.js), which means we can render traditional elements and 3D objects like spheres and cubes (and soon any 3D model) together in the same 3D space (with lighting and shadow not just on the WebGL objects, but on the DOM elements too!).

Unlike traditional CSS box-shadow which is flat and boring, with Infamous we can give UIs real shadows! See for yourself!

Infamous is built on the Web Component standards, making it possible to write 3D scenes declaratively using custom HTML elements, regardless of which view layer you prefer. This makes it possible for you write 3D scenes using popular HTML frameworks like (but not limited to) React, Vue.js, Meteor, Angular, Ember.js, or even the great jQuery.

Supported browsers are Google Chrome, Mozilla Firefox, Opera, and Microsoft Edge. You're luck may vary with anything lower than Edge, though in theory this should at least work in IE11 but it might require some additional transpile steps and WebGL feature detection guards. CSS3D rendering may even work in IE10 with scenes that only have one level of nesting. PRs welcome!

Contributors

Thanks goes to these wonderful people (emoji key):


corruptedzulu

💻 📖

Joseph Orbegoso Pea

💻 🐛 📖 💡

This project follows the all-contributors specification. Contributions of any kind welcome!

BrowserStack

Keywords

FAQs

Last updated on 29 Jul 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc