Skip to content

Commit

Permalink
update README badges
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Jun 26, 2023
1 parent 647a7ca commit debe5a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ reticulate::use_python("C:/Users/Zen Juen/Downloads/WPy64-3850/python-3.8.5.amd6
![](https://github.com/RealityBending/Pyllusion/blob/master/docs/img/logo.png)
![](https://img.shields.io/pypi/pyversions/pyllusion.svg?logo=python&logoColor=FFE873)
![](https://img.shields.io/pypi/v/pyllusion.svg?logo=pypi&logoColor=FFE873)
![Tests](https://github.com/RealityBending/Pyllusion/workflows/%F0%9F%93%8A%20Tests/badge.svg)
![](https://codecov.io/gh/RealityBending/Pyllusion/branch/master/graph/badge.svg)
[![Tests](https://github.com/RealityBending/Pyllusion/actions/workflows/tests.yml/badge.svg)](https://github.com/RealityBending/Pyllusion/actions/workflows/tests.yml)
[![](https://img.shields.io/badge/paper-Pyllusion-9C27B0)](https://journals.sagepub.com/doi/10.1177/03010066211057347)

**A Parametric Framework to Generate Visual Illusions using Python**

Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

![](https://github.com/RealityBending/Pyllusion/blob/master/docs/img/logo.png)
![](https://img.shields.io/pypi/pyversions/pyllusion.svg?logo=python&logoColor=FFE873)
![](https://img.shields.io/pypi/v/pyllusion.svg?logo=pypi&logoColor=FFE873)
![Tests](https://github.com/RealityBending/Pyllusion/workflows/%F0%9F%93%8A%20Tests/badge.svg)
![](https://codecov.io/gh/RealityBending/Pyllusion/branch/master/graph/badge.svg)
[![Tests](https://github.com/RealityBending/Pyllusion/actions/workflows/tests.yml/badge.svg)](https://github.com/RealityBending/Pyllusion/actions/workflows/tests.yml)
[![](https://img.shields.io/badge/paper-Pyllusion-9C27B0)](https://journals.sagepub.com/doi/10.1177/03010066211057347)

**A Parametric Framework to Generate Visual Illusions using Python**

Expand Down Expand Up @@ -358,9 +357,9 @@ by blending images of faces with noise-like images.
Blending of images can be achieved: as followed

``` python
pareidolia = pyllusion.Pareidolia(pattern="docs/img/snake.png",
n=[20, 300, 4000],
sd=[4, 2, 1],
pareidolia = pyllusion.Pareidolia(pattern="docs/img/snake.png",
n=[20, 300, 4000],
sd=[4, 2, 1],
weight=[3, 2, 1],
alpha=80,
blur=0.5)
Expand Down Expand Up @@ -437,17 +436,17 @@ Pyllusion can be easily integrated into
# Load packages
import pyllusion
from psychopy import visual, event

# Create parameters
delboeuf = pyllusion.Delboeuf(illusion_strength=1, difference=2)

# Initiate Window
window = visual.Window(size=[1920, 1080], winType='pygame',
color='white', fullscr=False)

# Display illusion
delboeuf.to_psychopy(window)

# Refresh and close window
window.flip()
event.waitKeys() # Press any key to close
Expand Down

0 comments on commit debe5a0

Please sign in to comment.