Paul Sutton

Coding

Scratch Spiral Project

So in this activity, we are going to try and produce a spiral using Scratch code. This is similar to what Spirograph [TM] produces.

It should look something like this when complete.

spiral1

Open up Scratch 3 in a browser and create a new project.

  1. Start off with the when Green Flag is clicked block

Green Flag

  1. Set the Sprite to the centre of the stage

Set To Centre

  1. Add a block to erase anything drawn on the stage from previous projects, then put Pen Down.

Erase and Pen Down

  1. Now add the Main Loop blocks as follows

Main Loop

  1. Your final code should look like this

Final Code

When run, you should see it draw circles on the screen, move and re-draw, eventually building up a layer on layer spiral pattern with circles.

The method here for drawing circles could be used in other projects too.

#scratch,#coding,#codeclub,#lookingforwork

New Repl.it course 3/8/2020

New course – How to teach yourself coding with Quizlet Founder Andrew Sutherland.

This may complement Paignton Code Club nicely. You can find more details here

I still need to complete the FreeCodeCamp course I am undertaking, I am also undertaking Teaching Primary Science : Chemistry With futurelearn.

Hopefully however, this is useful. I have shared on with Paignton Library on Twitter and with the Local Children and Young People partnership.

#course,#repl.it,#programming,#coding

Free Virtual Summer camps – from Microsoft

Just sharing this, in case anyone is interested

#coding,#camp,#learning,#programming,#microsoft,#virtual

At Paignton virtual Code Club, we are now approaching the end of the Scratch modules. Well done to everyone. The next step is probably to progress to Python [2][3].

If you don't feel ready to do lots of typing, you may want to look at Trinket and blocks. Then perhaps move to the Code Club modules [3].

Blocks, as the name suggests, is a block based system. The difference here is, that the blocks are all Python statements and code. So combining these allow you to easily start coding in Python.

To get started you need to sign up for an account on the Trinket website [1]

trinket

Click you user name and select new trinket and then select blocks

select blocks

You are now presented with your development area.

dev area

You may want to change your project title to something meaningful.

change title

You can select the category of block, then simply use click / drag in similar way as you would with Scratch.

So in this example I am just going to draw a square.

draw square

As we are using turtle, you will need to change the pen up, block so that it says pen down.

change command

Adding comments to your code is important, as it helps you keep track of what the code is doing and helps with debugging also helps others understand your code.

add comment

You can also view the Python code that is produced, this can be copy / pasted to IDE so you can just run the Python code on its own.

![View Python]

https://raw.githubusercontent.com/zleap/blogmedia/master/trinket/square-python-code.png

Finally you can share your project with others.

share

Hopefully this is helpful.

Resources

1 Trinket 2 Python 3 Code Club python Modules

#codeclub,#paignton,#trinket,#python,#coding,#skills,#technology

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

cc-by logo

Applications for students to join this years Google Summer of code open next week.

This period runs as follows

March 16 – 31, 2020 Students can register and submit their applications to mentor organizations. All proposals must be submitted by March 31, 2020 19:00 (British Summer Time).

#gsoc, #google, #summer, #code, #student, #coding, #projects, #GoogleSummerOfCode


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

South Devon Tech Jam – March 2020

sdtjlogo

The next Tech jam will be on Saturday 14th March 2020. Following on from the previous jam in February

Paignton Library and information Centre.

Time : 11am to 15:00 Cost : £2

Website : http://www.sdtj.org.uk.

What have :-

It may be good to have a discussion on the Tech Pledge which I posted about a while back.

#southdevon,#technology,#meetup,#event,#paignton,#coding,#hardware,#retropie

You can find me on Friendica at [email protected]

cc-by logo

The list of organizations supporting this years Google Summer of code are announced today.

As per timeline

Please use the contact details here to find out more information.

#gsoc, #google, #summer, #code, #student, #coding, #projects, #GoogleSummerOfCode


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

Free Code Camp and Repl.it

As we are working through the FreeCodeCamp (FCC) Responsive Web Design course at Code Club. I decided to investigate, if the code developed in FCC could be pasted directly into a project on the Repl,it website.

It appears the answer is yes, as the screen below demonstrates.

fcc-repl

This is really useful, especially as the image also displays. This allows learners to develop projects directly from what they are learning with FCC.

One of the final exercises for this HTML component sets up a very basic webpage with the various tags in the right place.


<!DOCTYPE html>
<html>
<head>
  <title>The best page ever</title>
</head>
<body>
  <h1>The best page ever</h1>
  <p>Cat ipsum dolor sit amet, jump launch to pounce upon little yarn mouse, bare fangs at toy run hide in litter box until </p>
</body>
</html>

References

#coding, #html, #freecodecamp, #replit


cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)

South Devon Tech Jam reminder – Feb 2020

sdtjlogo

The February 2020 tech jam will be on Saturday 8th February at Paignton Library and information Centre.

Time : 11am to 15:00 Cost : £2

Website : http://www.sdtj.org.uk.

What are we hoping to have :-

cc-by logo

#southdevon,#technology,#meetup,#event,#paignton,#coding,#hardware,#retropie

You can find me on Friendica at [email protected]


cc-by logo

Code Club 1/2/2020 reminder

Code Club 01/02/2020

The next Code Club will be Tomorrow: Saturday 1st February at Paignton Library and information Centre.

Carrying on from what we were doing on 18/1/2020, If anyone is interested in the Hour Of Code activity, we can have a go at that too.

More Scratch 3.0 coding, which is great and a good starting point before moving on to other programming languages.

cc-by logo

Rocksndiamonds. which I hope we can eventually use to learn level layout.

We can also take a look at the Tech Pledge. See what people think about this as an idea to make the internet a nicer place. I will have copies printed out.

Also hope to get some feedback and input on my e-safety for coding website project that I am working on in repl.it .

References and further information

#coding, #codeclub, #programming, #scratch, #python, #html, #css, #javascript,#coding

You can find me on Friendica at [email protected]


cc-by logo