Giter Site home page Giter Site logo

bansicloud / eyeshot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from actuallyakash/streetviewhub

0.0 1.0 0.0 2.42 MB

🌏 Discover Random Destinations & Cities explored by people on Google Street View.

Home Page: https://eyeshot.xyz

PHP 68.71% HTML 0.84% Shell 0.53% Blade 29.92%

eyeshot's Introduction


eyeshot

Discover random places from Google Street View. πŸ‘€


php version laravel version Dependabot Badge

Welcome to the eyeshot.xyz codebase. Here lies all the code with all the awesomeness and πŸ›s. Have some ideas or feedback, go ahead and create issue or make a PR or maybe give a ⭐.

What is eyeshot.xyz?

eyeshot.xyz is a visual discovery of the world around us, explored by people like you. Eyeshot's content comes from two sources - Google and explorers (you).

Explore places you never been before. Who knows where you'll end up next 🀩

Why?

eyeshot.xyz is based on Google Street View. I am forever grateful for the gift it is to the web.

The thing is, it helps you in TELEPORTING, not physically but virtually at any random place. It's super fun to explore places where we are not able to go. Through Eyeshot, I just added the randomness and community to it. Now, stop reading and start exploring.

Table of Contents

How randomizer works?

The randomizer is the vital part of Eyeshot and a lot of time has been invested in making it... random. You must be thinking that "It's just a loop picking values randomly from an array full of locations, through rand() function", yes, you're partially right.

It's an array filled with awesome coordinates from which a random coordinate is picked up and sent through a function that generates more random coordinates within a specific radius from the given coordinate.

Finally, the newly generated coordinate from the algorithm is sent to the Street View API to check if a panorama exists on the given coordinates, if true, it shows a 360Β° view. If false, it repeats the whole process until the panorama is found.

So, from one coordinate the algorithm can generate 1000s of random coordinates within that radius. That's how I was able to add a bit of randomness to it. So, it is truly random.

Contributing

Wanna contribute? Having some kick-ass suggestions or help improve eyeshot. Just fork away and do what you wanna do or submit a issue if you found a bug. Detailed installation steps are on the way!

Tech Stack

License

The Eyeshot is open-source website licensed under the GNU AGPLv3 license.

Get in touch at my low budget email [email protected] πŸ˜…


Sloan, the sloth mascot
A rare cat discovered on Google Street View

Keep Exploring πŸšΆβ€β™‚οΈ

eyeshot's People

Contributors

actuallyakash avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.