Skip to content

Commit

Permalink
Refactored images
Browse files Browse the repository at this point in the history
Image names were not standardized.  I standardized all image file names to use snake case with lower case file extensions.  All references in source markdown has been updated.

A couple duplicate images existed, so I removed the duplicates and updated references to the single image.

Also fixed a couple tables as my editor did not recognize tables defined with only two hyphens.
  • Loading branch information
colin-pm committed Apr 21, 2021
1 parent a78ae8f commit 65dbdb0
Show file tree
Hide file tree
Showing 177 changed files with 172 additions and 172 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Download a local copy of Snap! as a backup:
2. Click on the Snap! logo in the upper-left of the app.
3. Choose “Download source” from the menu

![Snap! download](snapdownload.PNG)
![Snap! download](images/snap_download.png)

4. Save snap.zip locally on your computer.
5. Extract snap.zip.
Expand Down
Binary file removed SnapSignUp.png
Binary file not shown.
6 changes: 3 additions & 3 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ We use [mdast-lint](https://github.com/wooorm/mdast-lint) to enforce the above s
Blocks and scripts should always be presented as they would be in *Snap!* as an image.

Good
> Use the ![move 10 steps](move.png) block to move your sprite.
> Use the ![move 10 steps](images/move.png) block to move your sprite.
Bad
> Use the move block to move your sprite.
Expand All @@ -52,10 +52,10 @@ Use the "script pic..." feature to create new images. If you need the result of
If you are adding a block, the file name should follow the text of the block with lower camel case.

Good
> ![move 10 steps](move.png) -> ```move10Steps.png```
> ![move 10 steps](images/move.png) -> ```move10Steps.png```
Bad
> ![move 10 steps](move.png) -> ```move.png```
> ![move 10 steps](images/move.png) -> ```move.png```
#### Reusing existing script images

Expand Down
2 changes: 1 addition & 1 deletion do_now_05.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

In your Notebook, Draw this image to the best of your ability and then answer the questions below the image.

<img width="300px" src="Coordinates.gif" />
<img width="300px" src="images/coordinates.gif" />

1. Can you label the x and y axes?
2. Can you label the tick marks on the axes from -5 to 5?
Expand Down
2 changes: 1 addition & 1 deletion do_now_11.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Review the Coordinate System

![x-y grid](xygrid.png)
![x-y grid](images/x_y_grid.png)

## Answer the following in your Notebook

Expand Down
4 changes: 2 additions & 2 deletions do_now_13.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Open the [starter Snap! project](https://snap.berkeley.edu/snap/snap.html#presen

> Try enabling `Visible steps` near the middle of the top toolbar. Adjust the slider so you can see what happens as *Snap!* steps through your program.
![Visual Steps UI](snap_ui_visual_steps.png)
![Visual Steps UI](images/snap_ui_visual_steps.png)

## Instructions

Using only the blocks already added on screen (not every block is needed), create a *Snap!* program that draws an equilateral triangle, like:

![Angles of a triangle diagram](equilateral_triangle.png)
![Angles of a triangle diagram](images/equilateral_triangle.png)

[starter *Snap!* project]: https://snap.berkeley.edu/snap/snap.html#present:Username=andrewspiece&ProjectName=Do_Now%201.3_Starter
4 changes: 2 additions & 2 deletions do_now_15.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Open Snap and write a Snap! program where 1 sprite is telling another a "knock,

Use these blocks:

![Broadcast](broadcast.png)
![Broadcast](images/broadcast.png)

![when I receive](whenIReceive.png)
![when I receive](images/when_i_receive.png)

Save your project as DoNow15.
8 changes: 4 additions & 4 deletions do_now_152.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

Write a Snap! program where 1 sprite acts as a button and when pressed, it increases the size of another sprite. Use these blocks:

![Broadcast](broadcast.png)
![Broadcast](images/broadcast.png)

![when I receive](whenIReceive.png)
![when I receive](images/when_i_receive.png)

![when I am](whenIam.PNG)
![when I am](images/when_i_am.png)

![change size by](changeSizeBy.PNG)
![change size by](images/change_size_by.png)
2 changes: 1 addition & 1 deletion do_now_22.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Follow the link to a [DoNow22](https://snap.berkeley.edu/snap/snap.html#present:

Reassemble the blocks so Alonzo asks how many stairs to draw. Then have Alonzo draw stairs from the center of the stage to the upper right the number of times specified:

![Alonzo drawing stairs](do_now_22.PNG)
![Alonzo drawing stairs](images/do_now_22.PNG)
2 changes: 1 addition & 1 deletion do_now_23.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

1. Use the following "Repeat" block to draw a square (note: you will have to put a number in place of the blank!).

![Repeat](repeat.png)
![Repeat](images/repeat.png)

2. How would you use an additional "Repeat" block to draw 12 squares in a line one next to each other. The each square will be to the right of the last square drawn.

Expand Down
8 changes: 4 additions & 4 deletions do_now_26.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

2. Using the following blocks, write a script that continuously moves the ball across the screen and bounces the ball when it hits the edge of the screen.

![if on edge, bounce](ifedgebounce.png)
![if on edge, bounce](images/if_edge_bounce.png)

![when Green Flag clicked ](whenclicked.PNG)
![when Green Flag clicked ](images/when_clicked.png)

![move 3 steps](move3.PNG)
![move 3 steps](images/move_3.png)

![forever](forever.png)
![forever](images/forever.png)

3. Add a second sprite. Add the same script from step 2 above for the new sprite.

Expand Down
2 changes: 1 addition & 1 deletion do_now_31.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

Can you plan a route, starting at the hotel, so that tourists can visit every tourist attraction just once and be back to the hotel?

![Guided Tour Map](do_now_31_GuidedTour.png)
![Guided Tour Map](images/do_now_31_guided_tour.png)

Credit: Queen Mary University of London
2 changes: 1 addition & 1 deletion do_now_33.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Follow [link to a project with a dog](http://snap.berkeley.edu/snapsource/snap.h

2. Add the code below to the forever block to make the dog "jump". What is the problem with this jump code when you test it? How should jump work when the player presses the spacebar?

![Key Press jump](keypressjump.png)
![Key Press jump](images/key_press_jump.png)

3. Program gravity by making a custom Motion block "gravity" and adding it inside the forever loop. In the "gravity" custom block use an if statement to implement gravity. Hint: If not touching ground or platform color, go down by a small amount.

Expand Down
2 changes: 1 addition & 1 deletion do_now_43.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

2. Use the following block to pick a random quote of the day:

![item](item.png)
![item](images/item.png)
2 changes: 1 addition & 1 deletion do_now_45.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ You will need to add the "Words, sentences" library to your project to use the "
4. Click "Import"
The "list->sentence" block will be one of the blocks added to "Operators"

![List Do Now](listDoNow.png)
![List Do Now](images/list_do_now.png)
4 changes: 2 additions & 2 deletions do_now_52.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

Start:

![clone formation](clone_troopers_formation.png)
![clone formation](images/clone_troopers_formation.png)

End:

![clone formation end](clone_troopers_formation_end.png)
![clone formation end](images/clone_troopers_formation_end.png)
6 changes: 3 additions & 3 deletions do_now_53.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

2. Go to this [Snap!project](http://snap.berkeley.edu/snapsource/snap.html#present:Username=whuangpha&ProjectName=160425%20Do%20Now%20cloning). Using the following "create a clone of" block, create a script so there are 5 clone troopers that move from the right side of the screen to the left side in a straight line when green flag is clicked. The starting and ending positions of the sprites are shown below.

![create a clone of](createACloneOf.png)
![create a clone of](images/create_a_clone_of.png)

## Start

![clone formation](clone_troopers_formation.png)
![clone formation](images/clone_troopers_formation.png)

## End

![clone formation end](clone_troopers_formation_end.png)
![clone formation end](images/clone_troopers_formation_end.png)
Binary file removed foreverdrawsomething.png
Binary file not shown.
Binary file removed foreversayanimals.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions lab_04.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ In this lab, you will explore Snap! and create a simple "self-portrait" program

2. In order to save your programs, the first thing you'll need to do is make an account. In the Snap! browser window, find the cloud-shaped button in the top toolbar on the upper left corner of the window:

<img src="SnapCloud.png" />
![The cloud menu button](images/snap_cloud.png)

Click it, select the "sign up" option in the menu, and follow the instructions there. You will need to check your email after creating your account to get your initial password. Your username will be the first part of your school email address. If you need help, ask.

<img src="SnapSignUp.png" />
![Sign up window](images/sign_up_page.png)

3. Spend a few minutes looking around, trying things out, and experience what the language can do. Don't worry about understanding everything completely-- we'll go through things in a lot more detail soon. Just try to get a sense of some of the basic capabilities.

Expand Down
2 changes: 1 addition & 1 deletion lab_05.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Using the [template](https://snap.berkeley.edu/snap/snap.html#present:Username=a

Here is an example with 8 coordinates:

<img width="500" src="SnapCoordinateExample.png" />
![Snap coordinate example](images/snap_coordinate_example.png)

## Grading Scheme/Rubric

Expand Down
Loading

0 comments on commit 65dbdb0

Please sign in to comment.