Skip to content

Instantly share code, notes, and snippets.

View ErhanAbi's full-sized avatar
🎧
💇‍♂️ 💻

Erhan Abibula ErhanAbi

🎧
💇‍♂️ 💻
View GitHub Profile
@ErhanAbi
ErhanAbi / index.js
Created April 13, 2016 12:12
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
@ErhanAbi
ErhanAbi / index.js
Last active April 13, 2016 12:56
requirebin sketch
function getRandomInt(min, max) {
return min + ((Math.random() * (max-min)) | 0);
}
function getRandomImages(imagesCount) {
var images = [];
var base = "http://fakeimg.pl";
var widthVariation = {min: 1280, max: 1980};
var heightVariation = {min: 480, max: 1600};
//var topics = ['abstract', 'city', 'transport', 'people', 'animal', 'nature', 'sports', 'fashion'];