Free 3d dice roller app

Free 3d dice roller app

Students in Computer Science and iMedia have been asking for a lunchtime club where they can learn how to make 3d games. This term I’m launching an Indie Game Dev Club for students who want to design and make high quality 3d content using free tools.

Indie Game Dev Club
Indie Game Dev Club

The club will teach students how to use:

  • Blender to create 3d objects
  • GIMP to create and edit textures and graphics
  • Audacity to create and edit sounds and music
  • Unity to put the game assets all together
  • MonoDevelop to write the C# scripts to control the game

The idea is for students to work in groups to design, create, test and market their own apps and games to raise money for good causes.

The first complete project to come out of the game dev club is Roll-a-dice-3D which lets you roll as many dice as you like, with lots of different types of dice featured.

There are hundreds of apps already out there that let you simulate rolling a die or multiple dice but I wanted to have an example project that students could adapt that builds on the best features of each of them.

The end result is Roll-a-dice-3D which you can download from the Android Play store or play online.

Free 3d dice roller app
Free 3d dice roller app

The app lets you roll as many dice as you like by tapping or shaking your mobile device. It currently supports the following dice:

  • 6 sided dice (D6)
  • 4 sided dice (D4)
  • 8 sided dice (D8)
  • 10 sided dice (D10)
  • 12 sided dice (D12)
  • 20 sided dice (D20)

The interface is pretty simplistic – most people will just want one or two 6-sided dice so you can tap on the blue buttons at the bottom left of the screen to add or remove 6-sided dice.

You can also add as many custom dice as you like by entering in something like 6D6 + 10D12 to get six 6-sided dice and ten 12-sided dice.

The number shown on each die rolled is added up with the total shown in the bottom right of the screen.

Roll-A-Dice 3D screenshot
Roll-A-Dice 3D screenshot

You can use the app as a replacement when dice go missing from a board game or you can use it for simulating lots of rolls of dice for maths statistic projects.

 

Download Roll-A-Dice 3D from Google Play
Download Roll-A-Dice 3D from Google Play

You can download the app for your android tablet or phone or use/play it online.

For further information click here.

Musical micro:bit sings Happy Easter

singing micro:bit
python code to make a micro:bit sing

This term in Computing Y8s have been looking at the ways that computers can store, manipulate and display images. Amongst other things, we’ve been using BBC micro:bits to create images, animations and games.

One thing we didn’t get time to look at this term was the data representation of sound.

Maplin (the people who sell all sorts of electronic gadgets and maker kit) have launched a competition where you have to use a BBC micro:bit to create a musical instrument so if anyone’s keen on experimenting over the Easter holidays you can have a lot of fun and possibly win £1,000 worth of gadgets.

This is my entry to the competition, to try to win the maker bundle to share out as prizes at the STEM club I run on Monday lunchtimes at Fulford School, York.

The idea is pretty simple: the latest version of micropython for a micro:bit allows you to write code that will get your micro:bit speaking. You can change the pitch of the speech to make it sound like it’s singing and you can change the speed of the speech to make each word last more or less time.

The code below hooks up the built-in accelerometer to the pitch and speed so that you can tilt your micro:bit to get it singing.

I’ve coded in a series of random Easter messages but you can change the text on line 10 if you want to get it singing your own lyrics.

The singing works in the simulator on create.withcode.uk as long as you’re using chrome, firefox or edge. Sadly, I haven’t made it work in Internet Explorer yet – you can download the audio it generates but it wont let you play it automatically.

Have fun, and see what you can create! But if you use my code and win the £1,000 prize I’ll expect my share of the goodies!

What can you make your micro:bit sing?

Happy Easter.

Free tools for teaching data representation of images with python

Free tools for teaching data representation of images with python

In Computing at KS3 in England, students have to learn how images can be stored and manipulated using binary data.

Pupils should be taught to:

…understand how instructions are stored and executed within a computer system; understand how data of various types (including text, sounds and pictures) can be represented and manipulated digitally, in the form of binary digits

This can be a tough part of the curriculum to cover in the limited time available to most schools but it can also be a really exciting way of bridging the gap between the Computer Science and iMedia / IT facets of the course.

In order to follow up from a series of lessons using Photoshop to create and manipulate high quality graphics, I wanted students to be able to understand how the images that they’d just created were stored on a computer.

There are some excellent ‘unplugged’ resources out there where students can see how simple images can be represented by binary data but I wanted Y8 students to be able to write, edit and debug some simple python code that showed them how computers store and process images.

There are two main ways that computers use binary data to represent images. This blog post details how you can use free web based tools to get students to explore how computers can represent and manipulate both bitmap and vector images.

Data representation of images: Bitmap images
Data representation of images: Bitmap images
Data representation of images: Vector images
Data representation of images: Vector images using

The next page gives some activity ideas for getting students to understand how vector images work.