Skip to content

Commit

Permalink
Add Scene that resembles monochromator
Browse files Browse the repository at this point in the history
  • Loading branch information
birdylife committed Feb 5, 2025
1 parent deadd4d commit 508ea6d
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 0 deletions.
154 changes: 154 additions & 0 deletions scenes/MonochromatorConcaveDiffractionGrating.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
{
"version": 5,
"name": "MonochromatorConcaveDiffractionGrating",
"objs": [
{
"type": "Beam",
"p1": {
"x": 220,
"y": 320
},
"p2": {
"x": 220,
"y": 400
},
"wavelength": 640
},
{
"type": "Beam",
"p1": {
"x": 200,
"y": 320
},
"p2": {
"x": 200,
"y": 400
}
},
{
"type": "Beam",
"p1": {
"x": 180,
"y": 320
},
"p2": {
"x": 180,
"y": 400
},
"wavelength": 440
},
{
"type": "Aperture",
"p1": {
"x": 420,
"y": 300
},
"p2": {
"x": 420,
"y": 420
},
"p3": {
"x": 420,
"y": 357.5
},
"p4": {
"x": 420,
"y": 362.5
}
},
{
"type": "Mirror",
"p1": {
"x": 540,
"y": 420
},
"p2": {
"x": 700,
"y": 300
}
},
{
"type": "ConcaveDiffractionGrating",
"p1": {
"x": 580.8653009637105,
"y": 78.49181220816669
},
"p2": {
"x": 816.8464787790588,
"y": 122.22833832628228
},
"p3": {
"x": 697,
"y": 86.5
},
"lineDensity": 600,
"customBrightness": true,
"slitRatio": 0.36
},
{
"type": "Mirror",
"p1": {
"x": 700,
"y": 300
},
"p2": {
"x": 860,
"y": 420
}
},
{
"type": "IdealLens",
"p1": {
"x": 261,
"y": 137
},
"p2": {
"x": 261,
"y": 297
},
"focalLength": 160
},
{
"type": "Aperture",
"p1": {
"x": 1060,
"y": 280
},
"p2": {
"x": 1060,
"y": 420
},
"p3": {
"x": 1060,
"y": 344.125
},
"p4": {
"x": 1060,
"y": 355.875
}
},
{
"type": "Beam",
"p1": {
"x": 161.5,
"y": 715
},
"p2": {
"x": 161.5,
"y": 795
},
"brightness": 0.01,
"wavelength": 545
}
],
"width": 1600,
"height": 800,
"rayModeDensity": 0.2574061735093284,
"showGrid": true,
"origin": {
"x": -117.12743581318163,
"y": 25.072006416027264
},
"scale": 1.3127451859159547,
"simulateColors": true
}
Loading

0 comments on commit 508ea6d

Please sign in to comment.