├── images ├── powered_by.png └── favicon-32x32.png ├── notes.txt ├── LICENSE ├── old_versions ├── index.html ├── style.css └── script.js ├── js └── seedrandom.min.js ├── help.html ├── README.md ├── index.html ├── style.css └── script2.js /images/powered_by.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonrolph/iNatGuessr/HEAD/images/powered_by.png -------------------------------------------------------------------------------- /images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonrolph/iNatGuessr/HEAD/images/favicon-32x32.png -------------------------------------------------------------------------------- /notes.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Code: 6 | 7 | get random inat observation by selecting random values to things like day and year 8 | Other params: species level, research grade 9 | 10 | do another query to get x (eg. 2) more observations within x radius 11 | 12 | present pictures and species names 13 | 14 | 15 | 16 | Daily? set locations based on the days date? 17 | 18 | 19 | UI 20 | 21 | 3 pictures 22 | 23 | map interface 24 | 25 | click on map 26 | 27 | reveal location and give score 28 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Simon Rolph 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /old_versions/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | iNatGuessr 5 | 6 | 7 | 8 | 9 | 10 |

iNatGuessr

11 |

Guess the location based on these iNaturalist observations.

12 |

Location: World

13 | 14 | 15 | 19 | 20 | 21 |
Loading observations...
22 |

Click an image to get a closer look. Images may be subject to copyright.

23 | 24 |

Click the map to guess a location

25 |
26 |
27 |
28 |
29 | 30 |
31 |
32 | 33 |

A prototype by Simon Rolph v0.0.4

34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /js/seedrandom.min.js: -------------------------------------------------------------------------------- 1 | !function(f,a,c){var s,l=256,p="random",d=c.pow(l,6),g=c.pow(2,52),y=2*g,h=l-1;function n(n,t,r){function e(){for(var n=u.g(6),t=d,r=0;n>>=1;return(n+r)/t}var o=[],i=j(function n(t,r){var e,o=[],i=typeof t;if(r&&"object"==i)for(e in t)try{o.push(n(t[e],r-1))}catch(n){}return o.length?o:"string"==i?t:t+"\0"}((t=1==t?{entropy:!0}:t||{}).entropy?[n,S(a)]:null==n?function(){try{var n;return s&&(n=s.randomBytes)?n=n(l):(n=new Uint8Array(l),(f.crypto||f.msCrypto).getRandomValues(n)),S(n)}catch(n){var t=f.navigator,r=t&&t.plugins;return[+new Date,f,r,f.screen,S(a)]}}():n,3),o),u=new m(o);return e.int32=function(){return 0|u.g(4)},e.quick=function(){return u.g(4)/4294967296},e.double=e,j(S(u.S),a),(t.pass||r||function(n,t,r,e){return e&&(e.S&&v(e,u),n.state=function(){return v(u,{})}),r?(c[p]=n,t):n})(e,i,"global"in t?t.global:this==c,t.state)}function m(n){var t,r=n.length,u=this,e=0,o=u.i=u.j=0,i=u.S=[];for(r||(n=[r++]);e