Python package for creating optical illusions
Project description
sorceress 1.7
Purpose of package
The purpose of this package is to provide creating optical illusions with simple way. Package written in Python however repo includes also JavaScript.
Getting started🚀️
Package can be found on pypi hence you can install it with using pip.
pip install sorceress
importing:
from sorceress import sorceress
Features
-
Illusions written in Python
- chromatic
- dotill
- realtimegrid
- addlines
- eyecolour
- dakinPex
- bruno
- dolboeuf
- kanizsa
- tAki2001
- cafewall
- ccob
- ebbinghaus
- whiteill
- enigma
- blackhole
-
Illusions written in JavaScript
- footsteps
- thelilac
- EyeMovements
Examples
For each function, I added example of how to use it. You can find them in the documentation. I will show just few examples.
from sorcerer import sorcerer
sorcerer.chromatic("myimage.jpg","outputname" ,circle=False, method="CMCCAT2000", gif=True, Gifduration=7)
sorcerer.addlines("myimage.png","desiredoutputname",linecolour1=(0,255,0),linecolour2=(0,255,255),linecolour3=(255,0,0))
illusions that written in JavaScript can be found in the repo. You can find them in the folder called "js". You can run them in the browser or in the node.js.
Contribution
Any contribution, bug report, suggestion is always welcome.
##Author
- Main Maintainer: Enes Altun
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sorceress-1.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322f00566180b48300c02d7eabd97f10c1f3548f4c548d8d46706dc6b938d6db |
|
MD5 | a7f118f3baf2f5b223e30484fcb98f66 |
|
BLAKE2b-256 | ef2ce051457fda1342ba18c6475460651162bff54b5096d7aeeeb201f5dd2d2a |