5b How to wrap objects around canvas using matter-wrap in matter.js
Автор: flanniganable
Загружено: 2021-11-29
Просмотров: 414
Описание:
Learn how to wrap objects so that when they move off the canvas on one side, they reappear on the opposite side of the canvas.
Learn how to use matter-wrap plugin for matter.js.
Learn how to load matter-wrap plugin into matter.js.
Timestamps:
00:00 Intro/demo
00:13 How to download matter-wrap.js plugin
00:52 How to add matter-wrap.js to p5 web editor
01:29 How to install matter-wrap.js in matter.js
02:27 How to add plugin to options for object to wrap around canvas
03:37 How to add options to object/shape
04:00 How to add object/shape to the world
Resources:
Matter.js: https://brm.io/matter-js/
Matter-wrap plugin: https://github.com/liabru/matter-wrap
Cloudfare matter.js library: https://cdnjs.com/libraries/matter-js
p5 web editor: https://editor.p5js.org/
The Coding Train: https://thecodingtrain.com/
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: