How To Make A Rainbow In Minecraft Earth:Rainbow Sheep, Rainbow Beacon, Minecraft : 8 Steps

This project shows how you can create a rainbow in wtbblue.com using code and the mathematical equation for a circle.

Đang xem: How to make a rainbow in minecraft

“>”>” class=”cls-1″ d=”M24,24H0V15a2,2,0,0,1,4,0v5H20V15a2,2,0,0,1,4,0Z” transform=”translate(0 0)”/>”>” class=”cls-1″ x=”10.61″ width=”3″ height=”14.61″/>” class=”cls-1″ d=”M8,9a1.5,1.5,0,0,1,1.06.44l3,3,3-3a1.5,1.5,0,0,1,2.12,2.12l-5.14,5.13L7,11.6A1.5,1.5,0,0,1,8,9Z” transform=”translate(0 0)”/>
“> “> ” class=”cls-1″ x=”10.5″ y=”2.09″ width=”3″ height=”15.79″/> ” class=”cls-1″ d=”M16.08,7.58A1.51,1.51,0,0,1,15,7.15l-3-3-3,3a1.52,1.52,0,0,1-2.12,0,1.46,1.46,0,0,1,0-2.09L12,0l5.14,5.06a1.46,1.46,0,0,1,0,2.09A1.51,1.51,0,0,1,16.08,7.58Z”/> “>

“>” d=”M17.86,8.33h4.26a1,1,0,0,0,1-.95V3.16a1,1,0,0,0-1.64-.67L17.18,6.72A1,1,0,0,0,17.86,8.33Z”/>” d=”M1.55,13.39A1.54,1.54,0,0,1,0,11.85,11.7,11.7,0,0,1,3.51,3.47a12.1,12.1,0,0,1,17,0,1.52,1.52,0,0,1,0,2.17,1.56,1.56,0,0,1-2.19,0,9,9,0,0,0-12.58,0A8.68,8.68,0,0,0,3.1,11.85,1.54,1.54,0,0,1,1.55,13.39Z”/>” d=”M6.14,16H1.88a1,1,0,0,0-1,.95v4.23a1,1,0,0,0,1.64.67l4.26-4.23A1,1,0,0,0,6.14,16Z”/>” d=”M12,24a12,12,0,0,1-8.49-3.47,1.52,1.52,0,0,1,0-2.17,1.56,1.56,0,0,1,2.19,0,9,9,0,0,0,12.58,0,8.68,8.68,0,0,0,2.61-6.22,1.55,1.55,0,0,1,3.1,0,11.7,11.7,0,0,1-3.51,8.38A12,12,0,0,1,12,24Z”/>

*

Submitted By: wtbblue.com wtbblue.comMay 2, 2017

“>”>

” class=”cls-1″ d=”M24,24H0V15a2,2,0,0,1,4,0v5H20V15a2,2,0,0,1,4,0Z” transform=”translate(0 0)”/>”>” class=”cls-1″ x=”10.61″ width=”3″ height=”14.61″/>” class=”cls-1″ d=”M8,9a1.5,1.5,0,0,1,1.06.44l3,3,3-3a1.5,1.5,0,0,1,2.12,2.12l-5.14,5.13L7,11.6A1.5,1.5,0,0,1,8,9Z” transform=”translate(0 0)”/> Download Assets
“> “> ” class=”cls-1″ x=”10.5″ y=”2.09″ width=”3″ height=”15.79″/> ” class=”cls-1″ d=”M16.08,7.58A1.51,1.51,0,0,1,15,7.15l-3-3-3,3a1.52,1.52,0,0,1-2.12,0,1.46,1.46,0,0,1,0-2.09L12,0l5.14,5.06a1.46,1.46,0,0,1,0,2.09A1.51,1.51,0,0,1,16.08,7.58Z”/> “> Share or Assign

Print Lesson “>” d=”M17.86,8.33h4.26a1,1,0,0,0,1-.95V3.16a1,1,0,0,0-1.64-.67L17.18,6.72A1,1,0,0,0,17.86,8.33Z”/>” d=”M1.55,13.39A1.54,1.54,0,0,1,0,11.85,11.7,11.7,0,0,1,3.51,3.47a12.1,12.1,0,0,1,17,0,1.52,1.52,0,0,1,0,2.17,1.56,1.56,0,0,1-2.19,0,9,9,0,0,0-12.58,0A8.68,8.68,0,0,0,3.1,11.85,1.54,1.54,0,0,1,1.55,13.39Z”/>” d=”M6.14,16H1.88a1,1,0,0,0-1,.95v4.23a1,1,0,0,0,1.64.67l4.26-4.23A1,1,0,0,0,6.14,16Z”/>” d=”M12,24a12,12,0,0,1-8.49-3.47,1.52,1.52,0,0,1,0-2.17,1.56,1.56,0,0,1,2.19,0,9,9,0,0,0,12.58,0,8.68,8.68,0,0,0,2.61-6.22,1.55,1.55,0,0,1,3.1,0,11.7,11.7,0,0,1-3.51,8.38A12,12,0,0,1,12,24Z”/> Rework Lesson
SkillsCreativityCritical Thinking
Supporting Files
“>”>” class=”cls-1″ d=”M24,24H0V15a2,2,0,0,1,4,0v5H20V15a2,2,0,0,1,4,0Z” transform=”translate(0 0)”/>”>” class=”cls-1″ x=”10.61″ width=”3″ height=”14.61″/>” class=”cls-1″ d=”M8,9a1.5,1.5,0,0,1,1.06.44l3,3,3-3a1.5,1.5,0,0,1,2.12,2.12l-5.14,5.13L7,11.6A1.5,1.5,0,0,1,8,9Z” transform=”translate(0 0)”/>
PDF of this lesson

Includes all images and directions to use this lesson plan. Please see attached PDF file.

Learning Objectives

Apply the Circle equation to create a rainbow.

Guiding Ideas

How can you use the circle equation to create a rainbow?How can you use bot to complete tasks in wtbblue.com?How do functions work in this project?

Student Activities

This project shows how you can create a rainbow in wtbblue.com using code and the mathematical equation for a circle.

Here”s how this project will work:

The “create rainbow” function uses the circle equation.The bot places the colored blocks that make the rainbow.You can modify the “rainbow colors” function to change the colors of the rainbow.

When this project is run (by pressing the “play” button) it creates a rainbow.

Circle Equation

 

You can think of the rainbow as being one half of a circle.

This project uses the equation of a circle to create a rainbow.

This animation demonstrates how to calculate the coordinates for a circle with a radius of 20.

The x-values start at -20 and count up by 1.

When the x-values reach 20, the rainbow will be finished.

The “create rainbow” function calculates these values for you.

What is the Bot?

 

This project also uses a special tool used for building in wtbblue.com called the bot.

These are the code blocks used in this project that affect the bot:

This block moves the bot to the player”s position.

Read more: Bow Wow Free Mp3 Download Latest Hindi, English, Bollywood Songs Online

This block saves the bot”s current location with the provided name.

This block will return the bot to the named checkpoint.

This block will move the drone in the provided direction, the distance provided.

Here”s how the project plots the x-and y-values for the rainbow:

For every x-value:

Return the drone to the center of the circle.Move the drone to the right “x-value” steps.Move the drone up “y-value” steps.

Once the drone is in position, it places the colored wtbblue.com blocks by calling the “rainbow colors” function.

Rainbow Colors

The “rainbow colors” function does the work of placing the colored blocks for the rainbow once the drone is in the correct position.

This function places colors for the rainbow by:

Placing 1 colored block at the bot”s current location, then moving the botPlacing the next colored block at the bot”s current location, and then moving the bot

This process repeats for all the colors in your rainbow.

This project has already added red, orange, and yellow for your rainbow with this code:

Add More Colors

 

Can you modify the “rainbow colors” function to draw all the colors of the rainbow?

These blocks will help you get started:

Change the Rainbow Size

 

It”s actually pretty simple to change the size of the rainbow. All you have to do is change the number in the “create rainbow” block.

The function parameter (currently 20) represents the radius for the rainbow that will be drawn.

Change the number to draw a bigger or smaller rainbow.

Render With a Buffer

 

If you”re an advanced coder you get access to cool power ups; like making code faster!

By default the bot tool places blocks one-at-a-time.

By using something called a buffer you can tell the bot to place all the blocks at once.

To use the bot buffer:

Use the “start bot buffer” block before all of the bot commands.Use the “run bot buffer” when you want to see the result of the bot commands.

Read more: How To Teleport To Random Coordinates In Minecraft Feedback, Just A Moment

Modify the “create rainbow” function to make use of the bot buffer.

Your code might look like this:

*

Performance Expectations

To see the full lesson with images to guide your work, download the attached PDF. Thanks!

Leave a Comment