Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added de-DE/images/badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added de-DE/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added de-DE/images/extension_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added de-DE/images/showcase_moving.mov
Binary file not shown.
Binary file added de-DE/images/showcase_static.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions de-DE/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: Olympic rings
hero_image: images/banner.png
description: Create a program that will accurately draw the Olympic rings.
version: 4
listed: true
copyedit: true
last_tested: "2024-07-24"
steps:
- title: Das wirst du machen
- title: Set up the rings
completion:
- engaged
- title: Draw the rings
completion:
- internal
- title: Wie geht es weiter?
completion:
- external
Binary file added de-DE/resources/Olympic Rings starter.sb3
Binary file not shown.
1 change: 1 addition & 0 deletions de-DE/scratch-translatable.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rings
43 changes: 43 additions & 0 deletions de-DE/step_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
### Was du machen wirst

You will use the pen extension blocks to draw the Olympic Rings, making sure that they overlap correctly.

\--- no-print ---

<div class="scratch-preview">
<iframe allowtransparency="true" width="485" height="402" src="https://scratch.mit.edu/projects/embed/1048245134/?autostart=false" frameborder="0"></iframe>
</div>

\--- /no-print ---

\--- print-only ---

![Complete project](images/showcase_static.png)

\--- /print-only ---

## --- collapse ---

## title: Was du brauchen wirst

### Software

- Scratch 3 (either [online](http://rpf.io/scratchon){:target="_blank"} or [offline](http://rpf.io/scratchoff){:target="_blank"})

### Downloads

- If you are working offline, download the [starter project](https://rpf.io/p/en/olympic-rings-go){:target="_blank"}

\--- /collapse ---

## --- collapse ---

## title: Zusätzliche Informationen für Pädagogen

You can download the completed project [here](https://scratch.mit.edu/projects/1048245134){:target="_blank"}.

If you need to print this project, please use the [printer-friendly version](https://projects.raspberrypi.org/en/projects/olympic-rings/print){:target="_blank"}.

\--- /collapse ---

With thanks to Kaye North from Code Club Australia for the [original project](https://www.codeclubau.org/projects/olympic-rings)!
134 changes: 134 additions & 0 deletions de-DE/step_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
## Set up the rings

You will use the pen tool to draw the Olympic rings accurately.

Pay close attention to where the rings cross each other and which ring sits on top at each overlap.

\--- task ---

If you are working **online**, open the [starter project](https://scratch.mit.edu/projects/1048263697/){:target="_blank"} in Scratch.

If you are working **offline**, open the project [starter file](https://rpf.io/p/en/olympic-rings-go){:target="_blank"} in the Scratch offline editor. If you need to download and install Scratch, you can find it [here](https://scratch.mit.edu/download){:target="_blank"}.

\--- /task ---

\--- task ---

Click 'see inside'.

\--- /task ---

Add the pen extension blocks.

\--- task ---

Click on the extension menu in the bottom left corner.

![The extension menu](images/extension_menu.png)

Choose the pen extension blocks.

\--- /task ---

\--- task ---

Select the dot sprite.

\--- /task ---

\--- task ---

Drag out a `when green flag clicked`{:class="block3events"} block from the `Events`{:class="block3events"} blocks menu.

```blocks3
when flag clicked
```

\--- /task ---

A variable will be used to control the five rings.

\--- task ---

Create a `rings`{:class="block3variables"} variable and add a `set rings`{:class="block3variables"} block.

```blocks3
when flag clicked
+set [rings v] to (0)
```

\--- /task ---

Erase any previous drawing.

\--- task ---

From the pen blocks, add an erase all block.

Add a block to set the pen size to 10.

```blocks3
when flag clicked
set [rings v] to (0)
+erase all
+set pen size to (10)
```

\--- /task ---

The next section of code will repeat five times, one for each coloured ring.

\--- task ---

Add a repeat block.

```blocks3
when flag clicked
set [rings v] to (0)
erase all
set pen size to (10)
+repeat (5)
```

\--- /task ---

Each ring will be identified by a number from 1 to 5.

\--- task ---

Add a block to change the `rings`{:class="block3variables"} variable by 1.

```blocks3
when flag clicked
set [rings v] to (0)
erase all
set pen size to (10)
repeat (5)
+change [rings v] by (1)
```

\--- /task ---

You need five clones (copies), because there are five rings.

\--- task ---

Add a block to create a clone of itself and a wait block.

```blocks3
when flag clicked
set [rings v] to (0)
erase all
set pen size to (10)
repeat (5)
change [rings v] by (1)
+create clone of (myself v)
+wait (0.1) seconds
```

\--- /task ---

**Tip**: You can hide the variable on your screen.
Right-click on the variable box on your screen and select hide.

\--- save ---
171 changes: 171 additions & 0 deletions de-DE/step_3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
## Draw the rings

In this step, you will set up the starting point and starting direction for each of the rings.

\--- task ---

Drag out a `when I start as a clone`{:class="block3events"} block from the `Events`{:class="block3events"} blocks menu.

```blocks3
when I start as a clone
```

\--- /task ---

Make sure the sprite is facing the correct direction to start drawing.

\--- task ---

Add a `point in direction 90`{:class="block3motion"} block from the `Motion`{:class="block3motion"} blocks menu.

```blocks3
when I start as a clone
+point in direction (90)
```

\--- /task ---

The clone that is created with the variable of 1 will follow this program first.

\--- task ---

Add an `if then`{:class="block3control"} block from the `Control`{:class="block3control"} blocks menu.

Add an `=`{:class="block3operators"} block from the `Operators`{:class="block3operators"} menu.

Add the `rings`{:class="block3variables"} reporter from the `Variables`{:class="block3variables"} menu.

Change the `50` to `1`.

```blocks3
when I start as a clone
point in direction (90)
+if <(rings) = (1)> then
```

\--- /task ---

\--- task ---

Add blocks to set the starting position of the first clone.

Set the angle to start with.

Set the pen colour to blue (use hex code #0078D0).

Add a block to put the pen down.

```blocks3
when I start as a clone
point in direction (90)
if <(rings) = (1)> then
+go to x: (-116) y: (-20)
+turn cw (156) degrees
+set pen color to (#0078D0)
+pen down
```

\--- /task ---

The ring with the variable of 2 is drawn with different characteristics.

\--- task ---

Duplicate the if-then block you just created (or drag in the same blocks again).

Change the starting location.

Change the angle that it starts with.

Also change the colour to yellow (use hex code #FFB114).

```blocks3
+if <(rings) = (2)> then
go to x: (-13) y: (-13)
turn cw (78) degrees
set pen color to (#FFB114)
pen down
```

\--- /task ---

Now do the same for the ring with the variable of 3.
**Tip**: The hex code to use for black is #000000.

\--- task ---

Duplicate the if-then block again.

Change the starting location.

Change the angle that it starts with.

Also change the colour to black (hex code #000000).

```blocks3
+if <(rings) = (3)> then
go to x: (-56) y: (19)
turn cw (-102) degrees
set pen color to (#000000)
pen down
```

\--- /task ---

Now do the same for the ring with the variable of 4.
**Tip**: The hex code to use for green is #00A651.

\--- task ---

```blocks3
+if <(rings) = (4)> then
go to x: (46) y: (28)
turn cw (-24) degrees
set pen color to (#00A651)
pen down
```

\--- /task ---

Now do the same for the ring with the variable of 5.
**Tip**: The hex code to use for red is #F0282D.

\--- task ---

```blocks3
+if <(rings) = (5)> then
go to x: (85) y: (20)
turn cw (-102) degrees
set pen color to (#F0282D)
pen down
```

\--- /task ---

Now that you have set the starting location and direction for each clone, it is time to make it draw!

\--- task ---

Add a repeat block at the bottom.

Add a move 1 step block and a turn right block.

This will make it draw a circle.

Finally, outside of the repeat at the bottom, add a pen up block.

```blocks3
repeat (360)
move (1) steps
turn cw (1) degrees
end
pen up
```

\--- /task ---

Teste deinen Code.

You should see the Olympic rings being drawn!

\--- save ---
3 changes: 3 additions & 0 deletions de-DE/step_4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Wie geht es weiter?

If you want to have more fun exploring Scratch, then you could try out any of [these projects](https://projects.raspberrypi.org/en/projects?software%5B%5D=scratch&curriculum%5B%5D=%201).
Binary file added es-419/images/badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added es-419/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added es-419/images/extension_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added es-419/images/showcase_moving.mov
Binary file not shown.
Binary file added es-419/images/showcase_static.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions es-419/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
title: Olympic rings
hero_image: images/banner.png
description: Create a program that will accurately draw the Olympic rings.
version: 4
listed: true
copyedit: true
last_tested: "2024-07-24"
steps:
- title: Lo que harás
- title: Set up the rings
completion:
- engaged
- title: Draw the rings
completion:
- internal
- title: '¿Qué sigue?'
completion:
- external
Binary file added es-419/resources/Olympic Rings starter.sb3
Binary file not shown.
1 change: 1 addition & 0 deletions es-419/scratch-translatable.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rings
Loading