# Path: neuropsydia/screen.py



from .screen import screen, screen_width, screen_height, monitor_diagonal
import os
import pygame
import time as builtin_time
import numpy as np
import datetime
        fade_speed : int, optional
            frequency (speed) of the fading.
        fade_type : str, optional
            "out" or "in", fade out or fade in.


    Example
    ----------
    >>> import neuropsydia as n
    >>> n.start()
    >>> n.newpage("blue")
    >>> n.refresh()
    >>> n.time.wait(500)
    >>> n.close()

    Notes
    ----------
    *Authors*

    - Dominique Makowski (https://github.com/DominiqueMakowski)

    *Dependencies*

    - pygame
    - time
    """
    if color_name is not None:
        if fade is False:
            if opacity == 100:
                try:

# Path: neuropsydia/screen.py



# Path: neuropsydia/core.py
from .screen import screen, screen_width, screen_height, monitor_diagonal
import os
import pygame
import time as builtin_time
import numpy as np
import datetime

        fade_speed : int, optional
            frequency (speed) of the fading.
        fade_type : str, optional
            "out" or "in", fade out or fade in.


    Example
    ----------
    >>> import neuropsydia as n
    >>> n.start()
    >>> n.newpage("blue")
    >>> n.refresh()
    >>> n.time.wait(500)
    >>> n.close()

    Notes
    ----------
    *Authors*

    - Dominique Makowski (https://github.com/DominiqueMakowski)

    *Dependencies*

    - pygame
    - time
    """
    if color_name is not None:
        if fade is False:
            if opacity == 100:
                try:

                    screen.fill(color(color_name))