-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
53 additions
and
430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { z, defineCollection } from "astro:content"; | ||
|
||
export const examplesCollection = defineCollection({ | ||
type: "content", | ||
schema: z.object({ | ||
title: z.string(), | ||
arialabel: z.string().optional(), | ||
}), | ||
}); |
75 changes: 0 additions & 75 deletions
75
src/content/examples/en/01_Form/08_Trig_Wheels_and_Pie_Chart/code.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/content/examples/en/01_Form/08_Trig_Wheels_and_Pie_Chart/description.mdx
This file was deleted.
Oops, something went wrong.
11 changes: 9 additions & 2 deletions
11
src/content/examples/en/03_Arrays/03_Walk_Over_2dArray/description.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
--- | ||
title: Walk Over 2d Array | ||
arialabel: >- | ||
Several small black words arranged on a white background. | ||
--- | ||
|
||
|
||
undefined | ||
contributed by [Prof WM Harris](https://www.rit.edu/directory/wmhics-w-michelle-harris), How to display 2D array contents on the canvas using regular for and for-of loops in multiple different ways. | ||
A function is created for the canvas, the 2D array (Friend Array) is initialized and walked over using nested loops in different ways. | ||
Variables x and y are used to place the array item on the canvas in the form of 2D array. | ||
The final nested loop is used to initialize 2D array (Fish Array) with random Integers (fish ages). |
2 changes: 1 addition & 1 deletion
2
src/content/examples/en/06_Image_Processing/00_ Pixel_Array/description.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/content/examples/en/06_Image_Processing/01_ Histogram/description.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
176 changes: 0 additions & 176 deletions
176
src/content/examples/en/09_Simulate/11_SmokeParticleSystem/code.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/content/examples/en/09_Simulate/11_SmokeParticleSystem/description.mdx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.