Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RedFT/HexyExamples
An example of using the Hexy library.
https://github.com/RedFT/HexyExamples
Last synced: 5 days ago
JSON representation
An example of using the Hexy library.
- Host: GitHub
- URL: https://github.com/RedFT/HexyExamples
- Owner: RedFT
- Created: 2019-04-06T21:36:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-23T00:05:26.000Z (over 1 year ago)
- Last Synced: 2024-08-02T12:46:38.224Z (3 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - RedFT/HexyExamples - An example of using the Hexy library. (others)
README
# Hexy Example
This repo contains a graphical example of how someone might use [`hexy`](https://github.com/redft/hexy).
#### Running the example
```bash
git clone http://github.com/redft/hexyexamples
cd hexyexamples
pip install -r requirements.txt # If you're not using a virtual environment, you might need to use sudo.
python example.py
```The example app just shows off some features of the library. To play around you can:
```
- right click to change the hex selection type.
- scroll up and down to change the radius of selection when selection type is ring or disk.
- left click to change the starting point of the line when selection type is a line.
- When selection type is spiral, the center is the origin. Where you clik will be the start
point for the spiral, and your mouse position is the end point.
```