Skip to main content

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==1.7
#importing
import sorceress
#another way to import 
from sorceress import sorceress

Features

  • Illusions written in Python Illusions written in JavaScript
    • chromatic - footsteps
    • dotill - thelilac
    • realtimegrid - EyeMovements
    • addlines
    • eyecolour
    • dakinPex
    • bruno
    • dolboeuf
    • kanizsa
    • tAki2001
    • cafewall
    • ccob
    • ebbinghaus
    • whiteill
    • enigma
    • blackhole

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sorceress-1.7.0.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

sorceress-1.7.0-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page