وضاحت
The Throwable block creates an interactive physics simulation where inner blocks “fall” and bounce around the container.
Features:
– Physics simulation using Matter.js
– Support for innerBlocks (paragraphs, headings, buttons, etc.)
– Customizable physics settings (gravity, bounce)
Physics Settings:
– Gravity: Control the strength of gravity (0.1 – 2.0)
– Bounce (Restitution): Control how much blocks bounce (0 – 1)
Usage
- Add the “Throwable” block to your page/post
- Add any supported blocks inside (paragraphs, headings, buttons, etc.)
- Configure physics settings in the block sidebar:
- Adjust gravity strength
- Set bounce level
- Enable scroll gravity for dynamic effects
- Publish and view your page to see the physics simulation in action
Resources
This plugin uses Matter.js for physics simulation, which is licensed under the MIT License.
- Matter.js: https://github.com/liabru/matter-js/blob/master/LICENSE
- License: MIT License
بلاڪس
واحد: هي پلگ ان 1 بلاڪ مهيا ڪري ٿو.
- Throwable A physics-based throwable block container with innerBlocks support.
انسٽاليشن
- Upload the plugin files to the
/wp-content/plugins/throwabledirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the block editor to add the Throwable block
- Add any content blocks inside the Throwable container
- Customize physics settings in the block sidebar
FAQ
-
What blocks can I use inside the Throwable container?
-
You can use most common blocks including paragraphs, headings, buttons, and images.
-
Does the physics simulation work on mobile devices?
-
Yes, the block is fully responsive and the physics simulation works on all devices. The block automatically adjusts its size and behavior for mobile screens.
جائزا
ھن پلگ ان لاءِ ڪي به رايا ناھن.
تعاون ڪندڙ & ڊولپرز
“Throwable” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.
تعاون ڪندڙترجمو ڪريو “Throwable” توهان جي ٻولي ۾.
ڊولپمينٽ ۾ دلچسپي؟
ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.
لاگ تبدیل ڪريو
0.1.2
- Fixed: Prevented direct file access.
0.1.0
- Initial release


