Amazing-Python-Scripts

Форк
0

..
/
Floating text effect 
README.md

Floating Text Effects

This Python script demonstrates how to create floating text effects. It prints each character of the text with a slight delay, giving the appearance of floating text.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/repository-name.git
  2. Navigate to the project directory:

    cd repository-name

Usage

  1. Open the Python script in your preferred editor.

  2. Customize the text by modifying the print_floating_text function calls.

    print_floating_text("Hi, I am Shivansh Jain.")
    time.sleep(1) # Simulating a delay
    print_floating_text("I am a Computer Science student.")
    time.sleep(1) # Simulating a delay
    print_floating_text("I have added this python script which creates floating text effects.")
    time.sleep(1) # Simulating a delay
    print_floating_text("I know full stack web development using HTML, CSS, Javascript, Django.")
    time.sleep(1) # Simulating a delay
    print_floating_text("I like cricket, music and mythology.")
  3. Adjust the sleep duration in the print_floating_text function to control the speed of the floating text.

  4. Run the script:

    python script.py

License

This project is licensed under the MIT License.

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.