Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,20 @@
"min_version": "4.8.0",
"variant": "both"
},
"easing_peasy": {
"title": "Easing Peasy",
"author": "Titus Evans (SnaveSutit)",
"description": "Adds easing curves to animation keyframes, simplifying the process of creating smooth animations.",
"version": "1.0.1",
"await_loading": true,
"icon": "icon.svg",
"variant": "both",
"tags": ["Animation", "Easing", "Tools"],
"min_version": "5.1.4",
"repository": "https://github.com/SnaveSutit/easing-peasy-blockbench-plugin",
"bug_tracker": "https://github.com/SnaveSutit/easing-peasy-blockbench-plugin/issues",
"has_changelog": true
},
"bedrock_block_transforms": {
"title": "Bedrock Block Transformation Preview",
"author": "JannisX11",
Expand Down
6 changes: 6 additions & 0 deletions plugins/easing_peasy/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<div><p>Easing Peasy adds easing curves to keyframes to simplify the process of creating smooth
animations.</p> <img src="https://raw.githubusercontent.com/SnaveSutit/easing-peasy-blockbench-plugin/refs/heads/main/src/assets/preview.webp" alt="Easing Peasy preview" style="width: 100%; max-width: 400px;"/> <h3>Features</h3> <ul><li>11 easing curves: Linear, Sine, Quad, Cubic, Quart, Quint, Expo, Circ, Elastic, Back,
and Bounce.</li> <li>Each curve supports In, Out, and In-Out modes.</li> <li>Adjustable arguments for curves that support them (elasticity, overshoot, bounciness).</li> <li>A dedicated "Keyframe Easing" panel in Animate mode for editing the selected keyframe.</li> <li>Reversing keyframes correctly reverses their easing direction.</li></ul> <h3>Usage</h3> <p>Switch to Animate mode, select a keyframe with <strong>linear</strong> interpolation, and use
the Keyframe Easing panel to choose a curve and mode.</p></div>
<style>
</style>
13 changes: 13 additions & 0 deletions plugins/easing_peasy/changelog.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"1.0.0": {
"title": "v1.0.0",
"author": "SnaveSutit",
"date": "2025-09-10",
"categories": [
{
"title": "Changes",
"list": ["Released the first version of the plugin."]
}
]
}
}
177 changes: 177 additions & 0 deletions plugins/easing_peasy/easing_peasy.js

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions plugins/easing_peasy/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions plugins/easing_peasy/members.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
maintainers:
- SnaveSutit
4 changes: 3 additions & 1 deletion scripts/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ const BASE_PATH = path.join(import.meta.dirname, '..', NEW_FORMAT ? 'plugins/'+P

let content_js = '';
try {
content_js = fs.readFileSync(path.resolve(BASE_PATH, PLUGIN_ID + '.js'));
content_js = fs.readFileSync(path.resolve(BASE_PATH, PLUGIN_ID + '.js'), {encoding: 'utf8'});
content_js = content_js.replace(/throw /g, '')
} catch (err) {
logError("Could not find plugin source file at " + path.resolve(BASE_PATH, PLUGIN_ID + '.js'));
process.exit();
Expand Down Expand Up @@ -98,6 +99,7 @@ const wildcard = new Proxy(function () {}, {
// Sandbox that pretends every global exists
const sandbox = new Proxy({
Plugin,
Object,
BBPlugin: Plugin,
}, {
has() {
Expand Down
Loading