Dec 192015
 

Daniel C was  inspired by some artwork, so he programmed this in LOGO:  http://www.j2e.com/stmarks/bwilliams/Daniel+Cs+ultimate+pattern/

download

It’s an example of a mathematical never-ending picture called a fractal.

A fractal is a never-ending pattern. Fractals are infinitely complex patterns that are self-similar across different scales. They are created by repeating a simple process over and over in an ongoing feedback loop.

I remixed it using variables here  http://www.j2e.com/stmarks/bwilliams/Remix+Daniel+Cs+ultimate+pattern/

and made it into an animated GIF

Daniels LOGO fractal

Dec 012015
 
  1. Finish your border by following the instructions
  2. Now have a go at making some changes:
  3. Easy changes
    1. Make the c smaller
    2. Mare more c’s on each line
    3. change the colour by typing: colour “red
  4. Medium changes
    1. Add a square border on the outside and/or inside
    2. change the c shape to a spiral
  5. Hard changes
    1. Design your own shape
    2. Design a corner shape
    3. Alternate shapes in a patter, eg cscscscs
    4. Make two layers of pattern
  6. Copy and paste your picture into j2e5 (right hand click and copy, then ctrl-v in j2e5 to paste) then use your border for a piece of topic work, eg a poster about the Romans.
Nov 262015
 
  • Start your program with “reset”
  • Break you picture up into small pieces that you can program.  (DECOMPOSE it)
  • Pick one piece and write the code for it
    • write a bit, test it, DEBUG it – keep going
  • Write “TO procedure_name” at the beginning and “END” at the end of your code for that piece – this makes it into a PROCEDURE.
  • You have now taught your computer how to do it and in your code, you just need to type “procedure_name” (choose a name that tells you or anyone else reading your code what it is)

 

Simplify – Try this activity to put LOGO code in the right order to make a procedure:  procedure reorder

VARIABLES

If you want to repeat your piece in different ways, eg different sized circles, you can use a variable in your procedure.  It’s a bit like “fd” needs a number with it to tell it how far to go.

  • to dot :size
  • circle :size
  • end

Then when you write “dot” in your program, you need to give it a number, which will be its size, eg dot 40

 

Nov 232015
 

Basic moves and turns:
Forwards fd 40
Backwards bk 30
Turn right rt 90
Turn left lt 90 (letter l and letter t, not 1t)

reset = clears the screen and starts you in the middle (good for the start of the program)

setpensize 5 = change the pen width (all one word with no gaps)

colour “blue = change the pen colour (must use speech marks at the beginning of the colour)  A full list of colours can be found here

To fill an area = fills the area that the arrow is in.  If you want to fill inside a shape, you will have to move inside it then use fill.

  • colour “red
  • fill 

** You could set up a little fillit procedure that moves inside the shape, fills and moves back again…

  • TO fillit
  • pu
  • rt 45
  • fd 2
  • fill
  • bk 2
  • lt 45
  • pd
  • END

Notice this procedure moves up and right a little bit so you need to make sure you are in the right place when you call the Fill procedure.

setxy 100 -200 = moves the arrow to a place on the screen.  If you don’t want it to draw a line there, use pu first!  0   0   is the middle of the screen – the first number is left and right; the second number is up and down.  You can experiment to find out the rest!

Nov 042015
 

This term we are going to learn a technique called “touch typing” where we learn to use particular fingers for letters.  It may be slow at first, but the more time you spend practising, the quicker you will get.

  • Log onto j2e
  • Find the “Typing” folder and click on “BBC Typing tutor”
  • You will need to use headphones
  • Follow the instructions

There are also some typing games under resources on the menu bar above.

** If you finish all of the levels of BBC typing, you could sign up for typing.com here.  (You will need to use your Google login details – ask me for help if you need to.)

Nov 022015
 

 

ScreenHunter_118 Nov. 02 10.03

 

  • Beginning:
    • Get a BeeBot around a maze
    • draw a shape on the computer
    • Complete BeeBot activities on iPad
  • Discovering:
  • Exploring:
    • Use repeat [ ] – remember to put a number after the repeat and the instructions to repeat inside the square brackets,                       eg “repeat 3 [ fd 30 rt 80 ]
    • Example – flower
  • Extending:
    • Create a project using some of your own ideas
    • Use procedures to draw different parts of the picture
    • Computing border
  • Refining:
    • Use variables eg to control the size of objects
    • Use repeats inside repeats, eg
    • Example 6 squares
  • Mastering:
    • Develop a project from the beginning using procedures and variables
    • Use examples to find out more command words and how to use them
    • Example – growing squares
  • Champion: