Skip to content

Instantly share code, notes, and snippets.

@victorvoid
Last active August 19, 2018 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorvoid/1eb13ae4d3abb7bbc58a06d172c93483 to your computer and use it in GitHub Desktop.
Save victorvoid/1eb13ae4d3abb7bbc58a06d172c93483 to your computer and use it in GitHub Desktop.
import { interval } from "rxjs";
import { map, take } from "rxjs/operators";
const bezier_stream = interval(350).pipe(
take(25),
map(bezier),
map(num => "~".repeat(Math.floor(num * 65)))
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment