CODING RAMADAN WISHES – SCOPES-DF

Lesson Details

Age Ranges *
Fab Tools *
Author
Additional Contributors

Author

Studio 5
Studio 5
Other
In line with the Ministry of Communications and Information Technology’s Digital Youth Strategy, STUDIO 5 is mainly aimed at nurturing youth as digital learners by sharpening their 21st century learning skills, as they develop in an all-pervasive digital environment. In… Read More

Summary

This workshop aims to teach participants into being confident creating a visual design on a basic level using python coding, loops and matrix. In addition participants will have an “Open-Eye” on many different aspects of coding, other than apps and software, to create a fun design and activity using python 

What You'll Need

Projector/Screen, Laptop, Internet Access

Lesson Materials:

Presentation

Lesson Plan English

Lesson Plan Arabic

 

Learning Objectives

After attending this session, participants will be able to:

  • What is Python Coding.
  • what is a Matrix.
  • how to manage loops to colorize cells inside a matrix.
  • how to create a design from python code using imagi.
  • Build shape or design that can be deployed on devices (can be bought separately).

 

Reflection

This session depends a lot on discussion and student input and work.

The Instructions

Presentation

A quick introduction about us and a way to break the Ice with the participant in order to engage with them in indirect way just to make a conversation and then a question to start the session.

Introduction & Icebreaking 

1- Introduce yourself and Studio5. 

2- ask about Ramadan Lantern history (Ice breaking). 

A collage of images of lanterns and moon

AI-generated content may be incorrect.

 

Presentation :

1- What is imagi?

2- How to signup/login to imagi?

A screenshot of a computer

AI-generated content may be incorrect.

3- how to use imagi?

A screenshot of a computer

AI-generated content may be incorrect.

4- What are the extra features on imagi. 

5- Who to create a design using python code.

A screen shot of a computer screen

AI-generated content may be incorrect.

6- Let’s create Ramadan Lantern. 

 

Hands On

Hands-on starts after going over a brief discussion and Imagi components.

We will start by showing how to access imagi.

A screenshot of a computer

AI-generated content may be incorrect.

 

w to create project. 

A screenshot of a computer

AI-generated content may be incorrect.

 

How to use component.

A screenshot of a computer

AI-generated content may be incorrect.

 

How to create python loops.

A screenshot of a computer program

AI-generated content may be incorrect.

 

How to manage the matrix.

A screenshot of a computer

AI-generated content may be incorrect.

 

How to handle different RGB colors.How to handle each row and column using python code

A black and yellow squares with red and black text

AI-generated content may be incorrect.

A screenshot of a computer game

AI-generated content may be incorrect.

 

How to create the final outcome, Ramadan Lantern

A screenshot of a computer program

AI-generated content may be incorrect.

Full Python Code

Full Code can be tested in Imagi 1- Full Ramadan Lantern Code 2- Scrolling Text Code

1- Full Ramadan Lantern Code

  background(off)

  m[0][3] = R

  m[0][4] = R

 

  m[1][1] = R

  m[1][2] = R

  m[1][3] = Y

  m[1][4] = Y

  m[1][5] = R

  m[1][6] = R

 

  m[2][0] = R

  m[2][1] = R

  for i in range(2, 6):

    m[2][i] = Y

  m[2][6] = R

  m[2][7] = R

 

  m[3][1] = R

  for i in range(2, 6):

    m[3][i] = Y

  m[3][6] = R

 

  for i in range(1, 7):

    m[4][i] = R

 

  m[5][1] = R

  for i in range(2, 6):

    m[5][i] = Y

  m[5][6] = R

 

  m[6][1] = R

  for i in range(2, 6):

    m[6][i] = Y

  m[6][6] = R

 

  for i in range(0, 8):

    m[7][i] = R

 

 

 

2- Scrolling Text Code

scrolling_text(“Ramadan Kareem Mohammed ! “, R, W)

 

Lesson Feedback

Contact us

Having trouble? Let us know by completing the form below. We'll do our best to get your issues resolved quickly.

"*" indicates required fields

Name*
Email*
This field is for validation purposes and should be left unchanged.
?