Releases: pencil-js/pencil.js
Releases · pencil-js/pencil.js
V3.2.0
v3.1.0
V3.0.0
- Switch to fully ESM syntax
- Add ConicGradient module thanks to @curedbylethe (better late than never)
- More modern documentation theme
v2.4.0
v2.3.1
v2.3.0
v2.2.1
v2.2.0
- Add events modifiers (ex:
scene.on("keydown.Enter", () => console.log("Modifiers !!"));
- Particles have 3 new options
frequency
,emit
andttl
(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
- 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/
The great merging
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
andorigin
options - Add a
stop
function to all events - Minor performance improvements