Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
День города Минска (2-ая суббота сентября) (9 и 10 сентября 2023)
Концерты, выставки ...
Концерты, выставки ...
Концерт Александр Панайотов|||г. Минск 10 октября 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Аквааэробика
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Запчасти для турбин
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
PixiJS - JavaScript library for fast graphics drawing 2D (is the fastest, most flexible renderer graphic 2D, WebGL)
PixiJS Download
посмотрели
5063
раз
обновлено: 21 March 2020
Option 1
Use
node js
Command Prompt (Win Console)
npm install pixi.js
Option 2
Download files
PixiJS
from the official website
github.com/pixijs/pixi.js/releases
Version
Size
Where to download ?
pixi.min.js
- it is a compressed library PixiJS
(for use on the sites)
350 kb
pixijs.download/v5.1.6/pixi.min.js
pixi.js
- it is a library with source code PixiJS
1.2 mb
pixijs.download/v5.1.6/pixi.js
Connect PixiJS
1) Download
pixi.min.js
to your computer
2) Create a new file
1.html
and inside Connect
pixi.min.js
Just like that:
Html
<script
src=
"./pixi.min.js"
>
</script>
Note!
Put
pixi.min.js
file
and
1.html
file
in the same directory
Example
Example: [kavichka] Drawing a picture [kavichka] using PixiJS ...
← Previous topic
What the PixiJS ?
Next topic →
Example "Drawing a picture" | PixiJS Version 5.1.6
Your feedback ... Comments ...
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Объявления
Объявления
•
What the PixiJS ?
•
PixiJS where to download and how to connect?
•
Example "Drawing a picture" | PixiJS Version 5.1.6
•
Example "Drawing a picture with an offset (this is the movement of the background in the game)" | PixiJS Version 5.1.6
WWW sites to explore PixiJS
•
Sites to explore PixiJS
Ваши вопросы присылайте по почте:
info@dir.by