I like the effect I found on Codepen.
I was wondering if it is possible to change this so that instead of the different colour dots, I could have my brand logo, maybe in different colors.
I am assumin the but of code I am looking to change is:
var color = "background: rgb(" + getRandomInt(0, 255) + "," + getRandomInt(0, 255) + "," + getRandomInt(0, 255) + ");";
var sizeInt = getRandomInt(10, 30);
size = "height: " + sizeInt + "px; width: " + sizeInt + "px;";
I'm thinking change the rgb("+getRandomInt(0,255)+" with a link to my logo but unsure how to go abouit it
I am not great with JS so any help would be great :-)
Yes you can put your brand logo on mouse hour using font icon.
SEE DEMO
*You can create your own pictos icon using online icomoon
In Existing codepen, you can also use like this