Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть micro: bit 4 screen animation

  • James Maitland
  • 2023-05-15
  • 442
micro: bit 4 screen animation
  • ok logo

Скачать micro: bit 4 screen animation бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно micro: bit 4 screen animation или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку micro: bit 4 screen animation бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео micro: bit 4 screen animation

A task for Year 7 students to make a 4-frame stop motion animation using micro:bits.

Objective
Your mission, should you choose to accept it, is to create a 4-frame stop motion animation. You will design 4 different images that will be displayed one after the other, creating an animation effect.

Your Tools

1. The basic.show_leds() function: This function allows you to create custom images by specifying which LEDs on the micro:bit's display should be on (#) and which should be off (.). For example, a heart could be created with # and . symbols like this:

basic.show_leds("""
. . # . .
. # # # .
# # # #
. # # # .
. . # . .
""")

2. The basic.pause() function: This function makes your micro:bit wait for a specified amount of time (in milliseconds) before moving on to the next line of code. This will be used to control the timing of your animation.

Instructions

1. Start by defining your function: Your animation should be placed inside a function named on_forever().

2. Create your first image: Inside this function, start by creating your first image using the basic.show_leds() function. Remember, you need to specify which LEDs are on and which are off.

3. Pause for effect: After your first image, use the basic.pause() function to make your micro:bit wait for a bit before showing the next image. The number you put inside the brackets will determine how long the pause is (1000 milliseconds = 1 second).

4. Create your second image: Next, create your second image using another basic.show_leds() function. This image should be different from your first image to create the illusion of movement in your animation.

5. Another pause: After your second image, use another basic.pause() function to make a pause.

6. Repeat for the third and fourth images: Follow the same steps to create your third and fourth images. Each image should be followed by a pause.

7. The forever loop: Finally, outside of the on_forever() function, tell your micro:bit to run your function over and over again to create a looping animation. You'll use the basic.forever() function for this.

Hints

1. Try to create a simple animation first, such as a dot moving across the screen.

2. Each frame of your animation should be slightly different from the last to create the illusion of movement.

3. The number you put inside the basic.pause() function can be adjusted to make your animation faster or slower.

Remember, coding is all about experimenting and having fun. Don't be afraid to try different things and see what works best for your animation. Good luck!


def on_forever():
basic.show_leds("""
. . # . .
. # # # .
. # . #
. # . # .
. # . # .
""")
basic.pause(100)
basic.show_leds("""
. . # . .
# # # #
. . # . .
. # . # .
. . . #
""")
basic.pause(100)
basic.show_leds("""
. # . #
. # # # .
. . # . .
# # # #
. . . . .
""")
basic.pause(100)
basic.show_leds("""
. . # . .
# # # #
. . # . .
. # . # .
. . . #
""")
basic.pause(100)
basic.forever(on_forever)

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]