• Stars
    star
    1,574
  • Rank 29,738 (Top 0.6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Rx Visualizer - Animated playground for Rx Observables

RxViz logo

Project Status

Looking for maintainers!

Unfortunately, I don't have the time to maintain this project anymore. If you are interested to help, please reach out to me on Twitter @moroshko.

Description

RxViz simply visualizes a given Observable. Your JavaScript code will be evaluated, and, if the last expression is an Observable, a nice animated visualization will appear.

You can also:

  • Control the speed of the animation by modifying the Time window input.
  • Copy the resulting SVG to include in your next Rx presentation.
  • Share the visualization with your friends.

Examples

Basic interval

rxviz-basic-interval

Random error

rxviz-random-error

Higher order Observable

rxviz-higher-order-observable

Pause and resume

rxviz-pause-and-resume

How does it work?

RxViz treats the evaluated Observable as a black box. We rely only on the fact that Observable emits values over time. RxViz doesn't rely on the internals of RxJS. This will allow us to visualize TC39 Observables in the future.

Technically, we subscribe to the given Observable, and, once a value is observed, we simply add it to the visualization. It's that simple!

How about higher order Observables?

No different. Since a higher order Observable is simply an Observable whose values are Observables themselves, we just repeat the process recursively.

When an Observable value is seen, we subscribe to it. At this point, we create a new "branch" in the visualization.

Thanks

Running locally

npm install
npm run dev

More Repositories

1

react-autosuggest

WAI-ARIA compliant React autosuggest component
JavaScript
5,967
star
2

react-scanner

Extract React components and props usage from code.
JavaScript
577
star
3

accessible-colors

Automatically find the closest accessible color combination
JavaScript
471
star
4

autosuggest-highlight

Utilities for highlighting text in autosuggest and autocomplete components
JavaScript
300
star
5

react-autowhatever

Accessible rendering layer for Autosuggest and Autocomplete components
JavaScript
163
star
6

bs-blabla

BuckleScript `[@bs.blabla]` attributes explained with examples
154
star
7

shallow-equal

Minimalistic shallow equality check for arrays/objects
TypeScript
75
star
8

ionic-firebase-auth

Ionic app with Firebase user management
JavaScript
59
star
9

sliding-puzzle

Sliding puzzle built in Elm
JavaScript
52
star
10

elo.js

Minimalistic Javascript implementation of a Elo rating system
JavaScript
51
star
11

giant-piano

Minimal Javascript pagination utility
JavaScript
47
star
12

autosuggest-trie

Minimalistic trie implementation for autosuggest and autocomplete components
JavaScript
25
star
13

chessboard

Minimalistic Javascript implementation of a chess board UI.
JavaScript
13
star
14

analyze-deps-cli

Compare dependencies in package.json to the latest available versions.
JavaScript
13
star
15

react-baseline

Add baseline overlay to your React components
JavaScript
11
star
16

react-chessboard

React chess board component
JavaScript
9
star
17

ionic-firebase

Ionic app with Firebase user management
JavaScript
4
star
18

beepy

Easily track your Blood Pressure.
JavaScript
4
star
19

rotating-circle-illusion

JavaScript
3
star
20

extract-params

Extract parameters from a string based on a pattern
JavaScript
3
star
21

analyze-deps

Compare dependencies in package.json to the latest available versions.
JavaScript
2
star
22

interpolate-params

Interpolate params in a pattern
JavaScript
2
star
23

reason-react-tutorial

2
star
24

numbers-and-flowers

Visualization of rational numbers
JavaScript
2
star
25

misha-moroshko

Personal website
TypeScript
2
star
26

myplanner

JavaScript
1
star
27

aws-mock-store

Mock for moroshko/aws-s3-store and moroshko/aws-dynamodb-store
JavaScript
1
star
28

combination

JavaScript
1
star
29

color-contrast

JavaScript
1
star
30

zones-controller

TypeScript
1
star
31

2masters.com.au

TypeScript
1
star
32

cnnviz

Convolutional Neural Networks Playground
JavaScript
1
star