BASE

Paper Shaders

Paper Shaders

Library / tool · Free

Ready-made canvas shaders for gradients, point orbits, textures, and animated backgrounds. They make it easier to add an atmospheric background to a React or vanilla website than writing a GLSL effect from scratch.

Resource illustration: Paper Shaders

Open resource ↗

What you can use for free

The library is free; the separate Paper visual product is not required to use the npm code.

Paid features and costs

External materials and services are billed under their own terms.

Access and limitations

The library is free; the separate Paper visual product is not required to use the npm code. External materials and services are billed under their own terms.

Use cases

  • An animated shader background
  • Textured text and shapes
  • An expressive hero
  • Graphics for videos and promotions

Example workflow

A possible workflow; this is not a report of hands-on testing.

Example workflow with Paper Shaders: An animated shader background.

Before you start

  • One area of a page or scene, a palette, and the desired style of movement.
  • Text or controls over the effect, and a static background alternative.
  • From the tech stack mentioned on this page, choose an option that suits your project: React, JavaScript, GLSL, Canvas; check version compatibility in the documentation.

Steps

  1. For the task “An animated shader background”: choose one effect and adjust its color, scale, and speed on a separate test screen.
  2. Place your own content over the graphics; limit the effect to the area where it helps the composition.
  3. Compare appearance and resource use on target devices; prepare a static alternative if the effect is unavailable.

Check your result

  • Text and buttons remain readable throughout the motion; graphics do not interfere with controls.
  • The page remains usable without the GPU effect and with reduced motion.

Choosing Paper Shaders

An animated shader background

Choose this when

  • An animated shader background
  • Textured text and shapes
  • An expressive hero

Consider alternatives when

  • When choosing for this topic, compare Paper Shaders with Shader Gradient. A candidate to compare under the topic: Backgrounds and textures, Shaders and GPU effects. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Requirements

  • Choose the vanilla or React package and pin the dependency version.

Things to consider

  • Costs and limits of free use: External materials and services are billed under their own terms.
  • Terms of use: Apache-2.0. The README explicitly permits commercial websites/apps/games/videos and other end products without visible attribution. Retain LICENSE and NOTICE when redistributing the code.
  • An official Vue wrapper must not be promised based on wording about future community PRs.

Frequently asked questions

What can you use for free in Paper Shaders?

The library is free; the separate Paper visual product is not required to use the npm code.

What additional costs might arise with Paper Shaders?

External materials and services are billed under their own terms.

What terms of use matter for Paper Shaders?

Apache-2.0. The README explicitly permits commercial websites/apps/games/videos and other end products without visible attribution. Retain LICENSE and NOTICE when redistributing the code.

Which environment can you use Paper Shaders in?

Tech stack: React, JavaScript, Canvas.

How do you get started with Paper Shaders?

For the task “An animated shader background”: choose one effect and adjust its color, scale, and speed on a separate test screen. Place your own content over the graphics; limit the effect to the area where it helps the composition. Compare appearance and resource use on target devices; prepare a static alternative if the effect is unavailable.

What should you consider when choosing Paper Shaders?

Use @paper-design/shaders in JavaScript and @paper-design/shaders-react in React. For the 0.0.x branch, the authors warn about breaking changes and recommend pinning the version.

Do Paper Shaders require React or the Paper editor?

No: separate vanilla JS and React npm packages are available. Canvas shaders are configured in code, may be static or animated, and can serve as backgrounds or be masked by text/shapes. The README asks you to pin the dependency version because breaking changes are possible within 0.0.x. Vue and other wrappers are described as future community contributions.

Related tasks and approaches

  • Shader Gradient

    A candidate to compare under the topic: Backgrounds and textures, Shaders and GPU effects. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.

Tech stack

  • React
  • JavaScript
  • Canvas

License

Apache-2.0. The README explicitly permits commercial websites/apps/games/videos and other end products without visible attribution. Retain LICENSE and NOTICE when redistributing the code.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Usage details

Use @paper-design/shaders in JavaScript and @paper-design/shaders-react in React. For the 0.0.x branch, the authors warn about breaking changes and recommend pinning the version. GPU load depends on the size and number of effects.

Technologies and topics

  • React
  • GLSL
  • Canvas

Sources

Other resources