Skip to content

Commit c22bca9

Browse files
🤖 Auto-sync docs, metadata, and filepaths
1 parent e4871d1 commit c22bca9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎exercises/practice/prism/.docs/instructions.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Consider this crystal array configuration:
1010
{
1111
"start": { "x": 0, "y": 0, "angle": 0 },
1212
"prisms": [
13-
{ "id": 3, "x": 30, "y": 10, "angle": 45 },
1413
{ "id": 1, "x": 10, "y": 10, "angle": -90 },
1514
{ "id": 2, "x": 10, "y": 0, "angle": 90 },
15+
{ "id": 3, "x": 30, "y": 10, "angle": 45 },
1616
{ "id": 4, "x": 20, "y": 0, "angle": 0 }
1717
]
1818
}
@@ -34,3 +34,5 @@ The beam was traveling at 90°, so after refraction it's now at 0° (90° + (-90
3434
**Step 3**: From position `(10, 10)`, the beam travels horizontally and encounters **Crystal #3** at position `(30, 10)`.
3535
This crystal refracts the beam by 45°, changing its direction to 45°.
3636
The beam continues into empty space beyond the array.
37+
38+
!["A graph showing the path of a laser beam refracted through three prisms."](https://assets.exercism.org/images/exercises/prism/laser_path-light.svg)

‎exercises/practice/prism/.meta/config.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
".meta/proof.ci.ts"
1414
]
1515
},
16-
"blurb": "Calculate the path of a laser through reflective prisms.",
16+
"blurb": "Calculate the path of a laser through refractive prisms.",
1717
"custom": {
1818
"version.tests.compatibility": "jest-29",
1919
"flag.tests.task-per-describe": false,
2020
"flag.tests.may-run-long": false,
2121
"flag.tests.includes-optional": false,
2222
"flag.tests.jest": true,
2323
"flag.tests.tstyche": false
24-
},
24+
}
2525
"source": "FraSanga",
2626
"source_url": "https://github.com/exercism/problem-specifications/pull/2625"
2727
}

0 commit comments

Comments
 (0)