Socket
Socket
Sign inDemoInstall

playdough

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    playdough

Simple SVG library for interactive projects


Version published
Maintainers
1
Created

Readme

Source

PlaydoughJS

npm npm bundle size NPM

Simple SVG library for interactive projects

See examples folder.

Importing

URL

<script src="https://cdn.jsdelivr.net/npm/playdough@0.8.1/dist/main.js"></script>
const { Playdough } = PlaydoughJS

NPM

npm install playdough
import { Playdough } from 'playdough'

Philosophy

  1. The value of a framework is in the projects that have been made with it, not in the library.
  2. Maximize visual expression power.
  3. Focus on SVG’s unique strengths, not replicating canvas.
  4. Focus on the browser as an SVG presentation medium.
  5. The raw XML of the SVG is irrelevant. What matters is graphic output and performance.
  6. Embrace flatness and depth illusions over precise 3D methods.
  7. Animations are important.
  8. Interactivity is important. However, state management features are complex, therefore they should have a strict focus on visuality.
  9. Opinionated defaults and abstractions help reduce decision-making fatigue from the application developer.
  10. Explicit definitions might look slightly ugly sometimes, but ultimately they give flexibility for advanced use, and feeling of authority for light use.
  11. There is always a balance between modular and integrated approaches. The right answer is what is fun to use.

Keywords

FAQs

Last updated on 21 Jul 2023

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