Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (2024)

Posted on - Last updated:

This heart tree directed drawing teaches kids to follow an algorithm to make tech art! This screen-free activity is a great Mother’s Day or Valentine’s Day unplugged coding activity!

After completing the activity, kids can work together to communicate their written program to their peers (or siblings in our case) to test out and debug their Love Tree code.

Similar coding activities are also available on coding websites and applications for kids including Scratch, Kodable, and Code.org.

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (1)

This algorithm art love tree activity is a great unplugged coding activity for kids K-8 to learn how actions can be turned into algorithms.

This post contains affiliate links. As an Amazon Associate, Our Family Code earns from qualifying purchases. Please see our Disclosure Policy for more details.

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (2)

Algorithm Art Heart Tree

An algorithm is a defined list of steps for performing a task. This type of instruction is also found in directed drawing activities. We decided to take our directed drawing a step further and create an opportunity to work on computational thinking skills as well.

I have four kids that range in age from 11 years old to 1 year old. They heart tree algorithm doodling because you never really know what you are going to get sometimes since they interpret verbal instructions differently because of their ages.

Pseudocode is a mix of everyday language and code that describes an algorithm. Pseudocode is a great way to illustrate how everyday actions can be translated into code.

Love Tree Pseudocode

Draw your own tree trunk on a sheet of paper. We started with just the two sides of the tree trunk and no limbs branching out.

Without looking at any pictures of the completed Love tree algorithm art in this post, follow the pseudocode below to draw your Love Tree.

  1. Draw a long line that extends out from the tree trunk.
  2. Draw three small diagonal lines branching off the left side of your long line.
  3. Draw a heart at the end of every small line.
  4. Draw three small diagonal lines branching off the right side and symmetrical to the small lines on the left side.
  5. Draw a heart at the end of every small line.
  6. Repeat until there is no longer any more space

By following the pseudocode, you should end up creating a Love Tree like the ones below. Don’t worry if your Love Tree is slightly different though!

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (3)

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (4)

You’ll also enjoy:

Patchwork Heart Resist Art Logical Thinking Activity

Create resist art with this logical thinking patchwork heart art activity!

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (5)

Code a Heart Tree – Write Your Program

This heart tree directed drawing activity can be adapted to more advanced kid coders by having them translate the Love Tree pseudocode into commands, functions, and loops.

Use the following commands to code your Love Tree:

  • Draw a long line that extends out from the tree trunk = draw line ( )
  • Draw three small diagonal lines branching off the left side of your long line = draw left ( )
  • Draw a heart at the end of every small line = draw heart ( )
  • Draw three small diagonal lines branching off the right side and symmetrical to the small lines on the left side = draw right ( )

Write a Function for your Love Tree

A function is a group of commands that can be run with one line of code rather than using multiple lines.

To define a function, enter a set of commands between the { and } curly brackets to define the repeated behavior.

I’m going to call my function “branch” because the entire function should complete a single branch with six twigs that end in hearts. You can name your function whatever you’d like.

Function – branch

func branch ( ) {

draw line ( )

draw left ( )

draw heart ( )

draw right ( )

draw heart ( )

}

Write a Loop for your Love Tree

To call a function multiple times, we’ll need to write a loop and enter the number of times to repeat it.

For this algorithm art love tree activity, you should be able to loop at least 10 times. You can determine the number of times you’d like your code to repeat using the code below.

For Loop

for i in 1 … __{

______________ ( )

}

To write the loop, plug in your function and the number of times that your function needs to repeat.

Heart Tree Code

for i in 1 … 10 {

branch ( )

}

Practice with Friends – Take Turns Being the Computer

Another fun way to do this activity is to work in a large group to identify your commands.

After you have established the commands and function, you can practice by writing your own code for a friend and see how they act as the machine and run your program.

Change up the number of loops and see what happens. Did their love tree turn out the way you thought it would?

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (6)

WHY ARE UNPLUGGED CODING ACTIVITIES IMPORTANT?

Unplugged coding activities are designed to build the foundation of coding. These activities allow kids to participate in kinesthetic opportunities that help them relate the concepts they are learning to their own lives.

Unplugged coding activitiesteach children how to think logically about objects, how to break down large tasks into smaller tasks that are easier to complete, and how to identify errors.

Working hands-on makes coding concepts tangible and unplugged coding activities are ideal for young coders.

Unplugged activities are great for classrooms or homes that don’t have access to the internet or a computer and ideal for young students who don’t have experience working with computers. It’s never too early to start teaching the foundation of coding.

Recommended: Bitmap Coding Unplugged Coding Activity for Kids

What is Computational Thinking?

Computational thinking can be used to solve problems in almost all areas of our lives and helps kids develop some pretty great life skills that can apply to a variety of situations. A computational thinker approaches problems by:

  • Experimenting and playing to solve a problem that might have more than one possible solution
  • Working together with others to reach a common goal
  • Persevering when faced with a difficult problem
  • Finding and fixing errors in complex problems
  • Designing and making solutions for open-ended problems
  • Understanding their own strengths and weaknesses

Computer Programming Books for Kids

We love incorporating books into our activities. Here are some great books about coding to read with heart tree directed drawing activity!

Find more Coding Activities for Kids

  • Coding the Way Unplugged STEAM Activity
  • Get Your Kids Coding With Swift Playgrounds
  • Get Your Kids Coding With Osmo

Looking for more hands-on Valentine’s Day STEAM Activities?

This STEAM Kids books features 14 activities that are perfect for Valentine’s Day including:

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (7)

Inside you’ll find entertaining and educational projects like:

–Super Sized Crystal Hearts
– Valentine’s Day Speakers
– Magnetic Attraction
– Rocket Valentines
– LED Roses
– STEAM Challenge Cards

PIN THIS IMAGE TO SAVE THIS ACTIVITY FOR LATER!

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (8)

Directed Drawing Coding Activity for Kids

Learn how algorithms work by following directed drawing instructions to create tech art with these unplugged coding algorithm art activities for kids!

1

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (9)

How to Code a Lion Directed Drawing Algorithm Art

Can you follow the algorithm and draw a lion in this directed drawing unplugged coding + art activity based on the Magic Tree House series!

2

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (10)

Circle Algorithm Art Unplugged Coding Activity

This circle algorithm art activity introduces basic coding skills by giving kids a set of rules and steps to follow to create unique designs in each circle!

3

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (11)

Christmas Algorithm Art Unplugged Coding Activity

This Christmas tree algorithm art activity is an unplugged coding activity for kids K-8 to learn how everyday actions can be turned into a computer program.

4

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (12)

Easter Egg Algorithm Art Unplugged Coding Activity

This Easter egg algorithm art activity introduces basic coding skills by giving kids a set of rules and steps to follow to create unique designs in each Easter egg!

Meet Toni, the Maker Mom behind Our Family Code

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (13)

Hey there, I’m Toni! I’m a software engineer and Maker Mom that finds my joy in unleashing my children’s curiosity by exploring STEAM concepts with my fantastic five!

When I’m not chasing toddlers or raising tweens, you can find me tearing things up and putting them back together over here atOur Family Code.

I am the owner and content creator of multiple educational websites designed to increase access to STEAM & STEM education with a focus on teaching computer science and coding to kids of all ages!

You can also find out more about me by visitingToniGardner.com!

Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (14)
Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (15)
Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (16)
Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (17)
Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (19)
Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (20)
Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (21)
Heart Tree Directed Drawing Valentine's Day Coding - Our Family Code (2024)
Top Articles
Latest Posts
Article information

Author: Kimberely Baumbach CPA

Last Updated:

Views: 6161

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Kimberely Baumbach CPA

Birthday: 1996-01-14

Address: 8381 Boyce Course, Imeldachester, ND 74681

Phone: +3571286597580

Job: Product Banking Analyst

Hobby: Cosplaying, Inline skating, Amateur radio, Baton twirling, Mountaineering, Flying, Archery

Introduction: My name is Kimberely Baumbach CPA, I am a gorgeous, bright, charming, encouraging, zealous, lively, good person who loves writing and wants to share my knowledge and understanding with you.