Better HN
topnewbestaskshowjobs
Log inSign up

chriscavs

26 karma · joined Sep 5, 2018 (8y ago) · 11 submissions

Submissions

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

thanks for the comment, i'm happy you like it!

comment 3y ago · link · parent

thanks for bringing this to my attention, I will be sure to check this out

comment 3y ago · link · parent

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

6.

Show HN: Aimless.js – the missing js randomness library(github.com ↗)

64 points · by chriscavs · 3y ago · 24 comments

comment 7y ago · link · parent

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

8.

Rallax.js – Dead simple parallax scrolling(chriscavs.github.io ↗)

1 points · by chriscavs · 7y ago · 1 comment

9.

T-Writer.js – Native typewriter effect, tons of features(github.com ↗)

4 points · by chriscavs · 8y ago · discuss