HNHacker News
TopNewBestAskShowJobs

chriscavs

26 karma · joined September 5, 2018

submissionscomments
chriscavs··on Show HN: Aimless.js – the missing js randomness library
I believe sequence will accomplish what you're looking for here

const randomSeq = sequence([1,2,3]) // could return [3,1,2], [2,3,1], etc.

chriscavs··on Show HN: Aimless.js – the missing js randomness library
Thanks for the comment! Yes it is a bit of a provocative title hahaha. i don't believe my library can be compared to random-js, since the goals of each are very different. random-js wants to provide the "engine" that replaces Math.random. I want to provide a library of utilities that are engine-agnostic. you can pull in random-js and use their engines to power aimless.js, as an example.
chriscavs··on Show HN: Aimless.js – the missing js randomness library
thanks for the comment, i'm happy you like it!
chriscavs··on Show HN: Aimless.js – the missing js randomness library
thanks for bringing this to my attention, I will be sure to check this out
chriscavs··on Show HN: Aimless.js – the missing js randomness library
Thank you for the comment! I am aware of this issue, and am working to address in v1.1.0. The context you provide here is very helpful for me. I've opened an issue on github for this: https://github.com/ChrisCavs/aimless.js/issues/2
chriscavs··on Rallax.js – Dead simple parallax scrolling
Hey everyone, sorry in advance for the shameless self-promotion.

I recently released Rallax.js, a dead simple package for creating dynamic parallax scrolling effects. Rallax is fast, dependency free, and extremely lightweight. Check it out, and let me know if you like/hate it XD

<3 Chris