現在の URLパラメータ をObjectとして返します。
例えば、https://p5js.org?year=2014&month=May&day=15というURLでホストされているスケッチでgetURLParams()を呼び出すと、 { year: 2014, month: 'May', day: 15 }が返されます。
実例
リターン
Object: URLパラメータ
Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!