Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Added example - "Vanishing point"
  • Loading branch information
StasFainer authored Jan 25, 2023
1 parent cdfed6a commit cef65fa
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 0 deletions.
Binary file added vanishing-point-background.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 vanishing-point-thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
343 changes: 343 additions & 0 deletions vanishing-point.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,343 @@
{
"version": 2,
"objs": [
{
"type": "lens",
"p1": {
"type": 1,
"x": 1000,
"y": 460,
"exist": true
},
"p2": {
"type": 1,
"x": 1000,
"y": 1340,
"exist": true
},
"p": "100"
},
{
"type": "radiant",
"x": -1520,
"y": 500,
"p": 0.5
},
{
"type": "radiant",
"x": -560,
"y": 500,
"p": 0.5
},
{
"type": "radiant",
"x": 420,
"y": 500,
"p": 0.5,
"wavelength": "532"
},
{
"type": "radiant",
"x": 800,
"y": 500,
"p": 0.5,
"wavelength": "532"
},
{
"type": "radiant",
"x": 800,
"y": 940,
"p": 0.5,
"wavelength": "450"
},
{
"type": "radiant",
"x": 660,
"y": 1080,
"p": 0.5,
"wavelength": "450"
},
{
"type": "radiant",
"x": 500,
"y": 1240,
"p": 0.5,
"wavelength": "450"
},
{
"type": "radiant",
"x": 380,
"y": 1360,
"p": 0.5,
"wavelength": "450"
},
{
"type": "radiant",
"x": 220,
"y": 1520,
"p": 0.5,
"wavelength": "450"
},
{
"type": "radiant",
"x": -500,
"y": 2240,
"p": 0.5,
"wavelength": "450"
},
{
"type": "radiant",
"x": -2180,
"y": 500,
"p": 0.5
},
{
"type": "radiant",
"x": -3620,
"y": 500,
"p": 0.5
},
{
"type": "radiant",
"x": 480,
"y": 940,
"p": 0.5,
"wavelength": "580"
},
{
"type": "radiant",
"x": 340,
"y": 1080,
"p": 0.5,
"wavelength": "580"
},
{
"type": "radiant",
"x": 200,
"y": 1220,
"p": 0.5,
"wavelength": "580"
},
{
"type": "radiant",
"x": 60,
"y": 1360,
"p": 0.5,
"wavelength": "580"
},
{
"type": "radiant",
"x": -140,
"y": 1560,
"p": 0.5,
"wavelength": "580"
},
{
"type": "radiant",
"x": -2840,
"y": 4260,
"p": 0.5,
"wavelength": "580"
},
{
"type": "radiant",
"x": 620,
"y": 500,
"p": 0.5,
"wavelength": "532"
},
{
"type": "radiant",
"x": -40,
"y": 500,
"p": 0.5
},
{
"type": "radiant",
"x": 800,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "radiant",
"x": 620,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "radiant",
"x": 420,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "radiant",
"x": -40,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "radiant",
"x": -560,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "radiant",
"x": -1520,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "radiant",
"x": -2180,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "radiant",
"x": -3620,
"y": 640,
"p": 0.5,
"wavelength": "660"
},
{
"type": "blackline",
"p1": {
"type": 1,
"x": 1480,
"y": 1480,
"exist": true
},
"p2": {
"type": 1,
"x": 1480,
"y": 420,
"exist": true
}
},
{
"type": "blackline",
"p1": {
"type": 1,
"x": -1820,
"y": 420,
"exist": true
},
"p2": {
"type": 1,
"x": 1480,
"y": 420,
"exist": true
}
},
{
"type": "radiant",
"x": -280,
"y": 1700,
"p": 0.5,
"wavelength": "580"
},
{
"type": "radiant",
"x": 80,
"y": 1660,
"p": 0.5,
"wavelength": "450"
},
{
"type": "radiant",
"x": -840,
"y": 2260,
"p": 0.5,
"wavelength": "580"
},
{
"type": "text",
"x": 324,
"y": 1008,
"p": "These pair of parallel lines converge to point B"
},
{
"type": "text",
"x": 324,
"y": 588,
"p": "These pair of parallel lines converge to point A"
},
{
"type": "text",
"x": 1054,
"y": 913.3333333333333,
"p": "A"
},
{
"type": "text",
"x": 1075,
"y": 812.3333333333333,
"p": ""
},
{
"type": "text",
"x": 1054,
"y": 813.3333333333333,
"p": "B"
},
{
"type": "text",
"x": 1075,
"y": 912.3333333333333,
"p": ""
},
{
"type": "text",
"x": 1560,
"y": 580,
"p": "You can verify that a pair of parallel lines with slope - m, converge by the ideal lens to the coordinates (f,m∙f),"
},
{
"type": "text",
"x": 1560,
"y": 607,
"p": "by clicking the \"Grid\" button and noticing that each grid cell has dimensions of 20 by 20."
},
{
"type": "text",
"x": 1560,
"y": 660,
"p": "You can also verify how changing the ideal lens's focal length - f, effects the converging points (vanishing points)."
},
{
"type": "text",
"x": -860,
"y": 1100,
"p": "Note that these pairs of parallel lines are not actually infinite."
}
],
"mode": "images",
"rayDensity_light": 0.049787068367863944,
"rayDensity_images": 1,
"observer": {
"type": 5,
"c": {
"type": 1,
"x": 314,
"y": 901,
"exist": true
},
"r": 20,
"exist": true
},
"origin": {
"x": 585,
"y": 183
},
"scale": 0.5,
"colorMode": true
}
Binary file added vanishing-point.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cef65fa

Please sign in to comment.