circuitpython-noise


Namecircuitpython-noise JSON
Version 1.0.2 PyPI version JSON
download
home_pageNone
SummarySimplex noise (like Perlin) for CircuitPython
upload_time2024-09-18 20:58:33
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseMIT
keywords adafruit blinka circuitpython micropython noise noise simplex perlin gradient
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============




.. image:: https://img.shields.io/discord/327254708534116352.svg
    :target: https://adafru.it/discord
    :alt: Discord


.. image:: https://github.com/todbot/CircuitPython_Noise/workflows/Build%20CI/badge.svg
    :target: https://github.com/todbot/CircuitPython_Noise/actions
    :alt: Build Status


.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

Simplex noise (like Perlin) for CircuitPython

Dependencies
=============
This driver depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_

Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_
or individual libraries can be installed using
`circup <https://github.com/adafruit/circup>`_.

Installing to a Connected CircuitPython Device with Circup
==========================================================

Make sure that you have ``circup`` installed in your Python environment.
Install it with the following command if necessary:

.. code-block:: shell

    pip3 install circup

With ``circup`` installed and your CircuitPython device connected use the
following command to install:

.. code-block:: shell

    circup install noise

Or the following command to update an existing version:

.. code-block:: shell

    circup update


Usage Example
=============

.. code-block:: python

    import time
    from noise import noise

    i=0
    while True:
        n = noise(0.02 * i)
        i += 1
        # print a random terrain with asterisks
        print( " " * int(max(n+1,0) * 40), "*")
        time.sleep(0.01)


Documentation
=============
API documentation for this library can be found on `Read the Docs <https://circuitpython-noise.readthedocs.io/>`_.

For information on building library documentation, please check out
`this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/todbot/CircuitPython_Noise/blob/HEAD/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "circuitpython-noise",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "adafruit, blinka, circuitpython, micropython, noise, noise, simplex, perlin, gradient",
    "author": null,
    "author_email": "Adafruit Industries <circuitpython@adafruit.com>",
    "download_url": "https://files.pythonhosted.org/packages/9f/3c/4ac7bce042770e2e257cdd7f4fb82426dccd14c73d0efd50aa3a1a347228/circuitpython_noise-1.0.2.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n\n\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n\n.. image:: https://github.com/todbot/CircuitPython_Noise/workflows/Build%20CI/badge.svg\n    :target: https://github.com/todbot/CircuitPython_Noise/actions\n    :alt: Build Status\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\nSimplex noise (like Perlin) for CircuitPython\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://circuitpython.org/libraries>`_\nor individual libraries can be installed using\n`circup <https://github.com/adafruit/circup>`_.\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n    pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n    circup install noise\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n    circup update\n\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    import time\n    from noise import noise\n\n    i=0\n    while True:\n        n = noise(0.02 * i)\n        i += 1\n        # print a random terrain with asterisks\n        print( \" \" * int(max(n+1,0) * 40), \"*\")\n        time.sleep(0.01)\n\n\nDocumentation\n=============\nAPI documentation for this library can be found on `Read the Docs <https://circuitpython-noise.readthedocs.io/>`_.\n\nFor information on building library documentation, please check out\n`this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/todbot/CircuitPython_Noise/blob/HEAD/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Simplex noise (like Perlin) for CircuitPython",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/todbot/CircuitPython_Noise"
    },
    "split_keywords": [
        "adafruit",
        " blinka",
        " circuitpython",
        " micropython",
        " noise",
        " noise",
        " simplex",
        " perlin",
        " gradient"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5442a245bdf554e468ae0ebbc57e955dd706622ba3741266afc6c79c22712616",
                "md5": "c56306b2fa40c9b6d687bbba64339e2f",
                "sha256": "b93a5a5f8c7b6e9d862c3ed44c5d81de4177dd766fd5d84fa5de61d0719804f2"
            },
            "downloads": -1,
            "filename": "circuitpython_noise-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c56306b2fa40c9b6d687bbba64339e2f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5035,
            "upload_time": "2024-09-18T20:58:32",
            "upload_time_iso_8601": "2024-09-18T20:58:32.844217Z",
            "url": "https://files.pythonhosted.org/packages/54/42/a245bdf554e468ae0ebbc57e955dd706622ba3741266afc6c79c22712616/circuitpython_noise-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f3c4ac7bce042770e2e257cdd7f4fb82426dccd14c73d0efd50aa3a1a347228",
                "md5": "bccde596a5e69d4ef7a117a5de2d4441",
                "sha256": "3399f87b705c7959313b0b96e49df5c2ce395ea4b04c96ab796d57ce32c6d5cd"
            },
            "downloads": -1,
            "filename": "circuitpython_noise-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "bccde596a5e69d4ef7a117a5de2d4441",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 27325,
            "upload_time": "2024-09-18T20:58:33",
            "upload_time_iso_8601": "2024-09-18T20:58:33.830727Z",
            "url": "https://files.pythonhosted.org/packages/9f/3c/4ac7bce042770e2e257cdd7f4fb82426dccd14c73d0efd50aa3a1a347228/circuitpython_noise-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-18 20:58:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "todbot",
    "github_project": "CircuitPython_Noise",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "circuitpython-noise"
}
        
Elapsed time: 2.48798s