JSPM

wordsphere

1.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q20817F
  • License ISC

a 3D rolling sphere of words following mouse movements

Package Exports

  • wordsphere
  • wordsphere/dist/word-sphere.esm.js
  • wordsphere/dist/word-sphere.ssr.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wordsphere) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

wordsphere

NPM package: a 3D rolling sphere of words following your mouse movements.

Compatible with Vue JS.

PREVIEW

Preview GIF

FEATURES

Words of your chosing are spread around a fully customizable sphere.
The sphere is activated when the user's mouse enters its bounding square, and will rotate towards the direction given by the mouse.
When the mouse leaves the component's bounding square, movement will gradually slow down.
You can also make the sphere move on its own with just a few tweaks (detailled below)

INSTALLATION

npm i wordsphere

(TODO: instructions for Nuxt JS)

HOW TO USE

BASICS

Add this code to the