Pencil.js Versions Save

✏️ Nice modular interactive 2D drawing library

v3.0.0

8 months ago
  • Switch to fully ESM syntax
  • Add ConicGradient module thanks to @curedbylethe (better late than never)
  • More modern documentation theme

v2.4.0

2 years ago
  • Add Pie component
  • Add the dashed option for all components borders
  • Improve documentation

v2.3.1

2 years ago

Fix issue with Path's splineThrough function

v2.3.0

2 years ago
  • 🎉Fix the build for ESM
  • Add Pattern background filling
  • Add absolute option to Spline
  • Use better color converter

v2.2.1

2 years ago

Fix missing dependency

v2.2.0

2 years ago
  • Add events modifiers (ex: scene.on("keydown.Enter", () => console.log("Modifiers !!"));
  • Particles have 3 new options frequency, emit and ttl (time to live). With these, you can create Particles generators.
  • Fix Image support for origin option
  • You can now create Image from other Image
  • Double-click listener

v2.1.0

3 years ago
  • TypeScript types for all modules (thanks to @Marr11317)
  • RegularPolygon's radius, Star's nbBranches, radius and bevelRatio are reactive (changing these values moves the points)
  • Add options for Line points coordinates to be absolute
  • Add function to Vector to detect intersection
  • Reduced publish size
  • Online documentation at https://docs.pencil-js.vercel.app/

v2.0.0

3 years ago

After being added in the 14th commits of Pencil.js, Lerna has been retired in the 672nd one (that's 658 commits or 2 years and 5 months of service).

Modularity is, and has always been, one of the core principle at the heart of Pencil.js development. Lerna was a big helping hand for that purpose. But things changes. With now 44 individual modules, it became cumbersome to maintain and very slow to execute any actions. That's why I made the decision to remove the use of Lerna and merge all module under the Pencil.js package. All old modules are now unmaintained. However, they should stay compatible with the new package in the foreseeable future.

Also:

  • Draggable and rotatable now return a stop function
  • All Input now support shadow and origin options
  • Add a stop function to all events
  • Minor performance improvements

v1.6.5

3 years ago
  • Add Position dotProduct
  • Add Vector getClosestToPoint
  • Line can be hovered

v1.9.1

3 years ago
  • Rename Particles callback to updater