Skip to main content

A Python package for Digital Halftoning with Space Filling Curves

Project description

Digital halftoning with space filling curves

Repository for Digital halftoning with space filling curves code.

⚙️ Setting Up and Running Digital Halftoning with Space Filling Curves

📦 Prerequisites

Before starting, make sure that:

  • You have git installed on your machine.
  • You have Python installed on your machine.

🏗️ Installing the Application

To install the application using git, follow these steps:

  1. Clone the project to a directory of your choice (HTTPS):
    git clone https://github.com/Halftoning-with-SFC/halftone-sfc.git
    
    or (SSH)
    git clone git@github.com:Halftoning-with-SFC/halftone-sfc.git
    
  2. After cloning the project, navigate to it:
    cd halftone-sfc
    
  3. Create a virtual environment .venv in Python:
    python -m venv .venv
    
  4. Activate your virtual environment:
    source .venv/bin/activate
    
  5. Then, install the dependencies in your new Python virtual environment:
    pip install -r requirements.txt
    

🚀 Running the Application

  1. Run it using Python:
    python main.py
    

🎉 Making Changes to the Project

After installing the application on your machine, make sure you are in the project directory ("halftone-sfc").

🔖 Making Updates

  1. After selecting your task, use branch "develop" (or create a new branch if you want)

    git pull origin develop
    git switch develop
    
  2. After making your changes, add them:

    git add [file]
    

    or add all files:

    git add .
    
  3. Commit your changes with a BRIEF description of the modifications made:

    git commit -m "[emoji] type(directory): [brief description]"
    

    Example:

    git commit -m "✨ feat(code): add method for generating curves"
    

    Note: You can get emojis from Gitmoji

  4. Push your local changes to GitHub:

    git push -u origin develop
    

    Note: the branch name of the example above is "develop".

  5. (After completing all changes in this branch, i.e., finishing the feature), create a Pull Request (PR) here. Describe your changes (attach screenshots if necessary) and request a merge. Done! Now just wait for someone to review your code and merge it into the main branch.

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

halftonesfc-0.1.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

halftonesfc-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file halftonesfc-0.1.0.tar.gz.

File metadata

  • Download URL: halftonesfc-0.1.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for halftonesfc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8856729034cb5ee883d1052de57a900f0e295ac0bbdbb02960e3d9758da37737
MD5 a74a37ab591a675ffed4c8c517680442
BLAKE2b-256 6acd7f9badc9d4ac59497abca949017fe82f67870125aa7d9843f200b315ea7d

See more details on using hashes here.

File details

Details for the file halftonesfc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: halftonesfc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for halftonesfc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec11b896681a4f2f850752612738195d553b6b99d93990424c34a7e524b984ad
MD5 8d423a6a742aec05397ae8c4464743c4
BLAKE2b-256 b32498edcf6b99c1689c59bab3a82f3ae35bc8c2033e17f9d16828de261abac8

See more details on using hashes here.

Supported by

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