Archive for November, 2012

Do you want to help for the next video

Wednesday, November 14th, 2012

Hi everyone,

I’ll be doing a time lapse video for the next video. I will need ideas for a complex project, which I will then record making.

Do you have any ideas?

Comment Or Tweet (@Ajnin123) 🙂

This is Probably a good post, mabye 50%, mabye 16.66666667%?

Sunday, November 11th, 2012

Scratch Project

By the way, holding shift and clicking the green flag (in flash player) will make the maths run twice as fast (It should say turbo mode, tested in IE and Firefox)!
Scratch Project

To Go to the projects, click above!


You know how at school you flipped a coin with your class mates, and after 500 repeats or so, the odds of either became 50/50. This does that, but shows the live stats including graphs, percentages and raw data.

The graph/percentage works like this:

  • Say I roll a heads H:100% T:0%
  • Say I now roll a tails H:50% T:50%
  • Now I roll a heads H:75% T:25%

You can customize the amount of time’s you flip to make the 2 percentages insanely close (I’ve done up to 24 million).


Also, if you’re into python, here’s some code to try which gives you some raw data as well!

import random

#allows python to be random

#sets the variables to 0

for x in range (1,100000000):

#100 million can be replaced with any number, 1 million takes about 20 seconds.
    if n==1:

#Make a random number which is 1 or 2. If 1, set heads, if 2, set tails.
print “Themount of tails is”, Tails
print “The amount of heads is”, Heads

#Say “The amount of tails/heads is (number).


Dice Roll:

I’ve also done one for a dice roll. 6 variables, yeah…nevertheless, makes a downward curve graph which is cool.

The result should become 16.66666….7%

I’ve rounded the figures as there is too much data for the screen!


Please feedback belloooooww!



Scratch Tutorial (Don’t worry, it’s easy!!!)

Monday, November 5th, 2012

To do this tutorial:

You must install Scratch of their website:

And be clear(ish) on how to use it’s interface, the picture below may help (done by me).

There are more feature which you can explore, by the features below are the only ones you need.

By the way, all blocks are colour coded.

Also, to connect 2 blocks, drag a block below another one until a white line shows, then let go of the mouse and they should connect.

Making a Binary To Decimal Convertor In Scratch (I might show how to do in Minecraft):

BTEOTLIWBA (By the end of this lesson I will be able to), is what any boring teacher would say.

But as this is a aj lesson, we can forget all that pointless intro stuff 😀 as this isn’t 100% clear

First of all, what is binary.

Well, in terms of numbers, this is how binary works.

You may of seen people say a sequence of 0’s and 1’s. 1 byte is 8 bites.

01000000 is 64. To convert a sequence of 0’s and 1’s into decimal use the table/example below,

Method (As This Is Obviously This Is A Cooking Lesson):

You will need:

1. We want the program to respond to the green flag, and then ask the user to enter the input (binary).

2. If the first digit of the binary is 1, then we add 128…

e.c.t 10000000 = 128 Seriously,

To create a variable go to variable and click make new variable.

3. Then we just copy and paste, and adjust according to digit.

(So for example, the 4th digit of binary “scans” if it is a 1, if it is, then it will add 16 to the decimal output)

Right click a script to copy and paste!

You’re not scanning the letters in the word ‘world’ right? So just replace world with the variable answer.

4. Then we just add a friendly rresponse to the input, which is the output. So something like “00010001 in decimal is 17”

(Remember to add the spaces so it’s readable)

In this case we’re joining (answer/binary input) – in – decimal – is – (decimal output).

5. Now we make it resettable, so each time the output is reset as 0.

(look below the green-flag to see where I’ve added the new script.)


Press the Green-Flag, full screen and start testing!

I Hope you have Enjoyed and hopefully I will make more if you give feedback!


Link to Project: