Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudifa/pixijs-getting-started-2
Explore PIXI polygons
https://github.com/rudifa/pixijs-getting-started-2
Last synced: 24 days ago
JSON representation
Explore PIXI polygons
- Host: GitHub
- URL: https://github.com/rudifa/pixijs-getting-started-2
- Owner: rudifa
- Created: 2020-12-13T22:09:15.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-29T16:48:21.000Z (almost 4 years ago)
- Last Synced: 2024-10-06T01:41:25.969Z (about 1 month ago)
- Language: JavaScript
- Size: 639 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Explore PIXI v5
## Objectives
1. draw a hexagonal grid OK
2. add interactions and animations OK
3. find code patterns for using and/or extending PIXI## View
1. launch a server, e.g. python -m http.server 9000
2. or, in VSCode, install and launch extension LivePreview## Features
`export class TextButton extends PIXI.Text`
Useable as a pushbutton, potentially also draggable.
`export class AppCircles extends PIXI.Application`
Animation morphed from [ES6 + PIXI.JS TEST by Yutaka Moriya](https://codepen.io/yutakam80/pen/EVodQJ),
added class AppCircles.`menuApplication = new PIXI.Application`
Lets the user swap between two (potentially more) PIXI Applications.
Draggable hexagons and Hexagrids inspired by [Dragable hexagon by pixi.js by zeakd](https://codepen.io/zeakd/pen/NdMBgB).