GithubHelp home page GithubHelp logo

playdough-js's Introduction

PlaydoughJS

npm npm bundle size NPM

Simple SVG library for interactive projects

See examples folder.

Importing

URL

<script src="https://cdn.jsdelivr.net/npm/[email protected]/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.

playdough-js's People

Contributors

felixbade avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.