Giter Club home page Giter Club logo

whispervis's Introduction

P2P visualization

Web application for visualizing network graphs and p2p message propagation algorithms. It provides an UI for choosing/generating different network graphs, requesting simulation results from the simulation backend, displaying statistics and animating message(s) propagation.

Demo

Demo

Usage

Just open index.html in the modern browser.

git clone [email protected]:divan/whispervis.git
cd whisperviz/

# on MacOS
open index.html

Development

This app is written in Go, using Vecty and GopherJS. Vecty is a framework for building components on top of GopherJS, a bit similar to React. Unlike React, it's written in a programming language instead of JavaScript, so the code is maintanable.

If you want to contribute to the development, you will need Go and GopherJS installed:

go get -u github.com/gopherjs/gopherjs

Then, install source code:

go get github.com/divan/whispervis
cd $GOPATH/github.com/divan/whispervis

after you made your changes, just run:

gopherjs build

and reopen index.html.

Licence

MIT

whispervis's People

Contributors

divan avatar

Stargazers

Bob Lee YX avatar Chris avatar Gábor Nagymajtényi avatar Julia avatar Brad Pillow avatar Dawei Ma avatar Sebastian Spaink avatar Lantos avatar ZeroOut avatar Andrius Mikonis avatar Corey Petty avatar chico avatar cybertron avatar Raif avatar  avatar Artur Daveyan avatar Ahmet Tarik GUNAL avatar Brad avatar nathan.eth avatar jack avatar Bernhard J. Conzelmann avatar Robert Muller avatar Val Grom avatar ndjuric avatar chimera kang avatar Adrian Lanzafame avatar David Pennington avatar Vandy Carlos avatar NiNJAD3vel0per avatar  avatar yangchenglong avatar Toan Tran avatar  avatar Vinh Quốc Nguyễn avatar ik5 avatar Steve Manuel avatar Robin avatar zbv avatar André Bierlein avatar  avatar Mahmoud Rusty Abdelkader avatar Xargin avatar

Watchers

evandrix avatar James Cloos avatar  avatar  avatar

whispervis's Issues

how would you rebuild this in modern go?

with all the changes to Golang since you built this, how do you think you'd alter it to accomodate adding libp2p into the mix, as well as taking into account if newer/better front-end frameworks exist.

Unable to go-get github.com/divan/whispervis

Hi Ivan,

Thank you for a really wonderful Go Advent post. I think you may have re-ignited a spark in me for trying to write front-ends that had long since lost its ember.

I really wanted to try to play around with your visualization demo locally, and thus tried to go-get the whisperviz project. However, it failed with the following error:

$ go get -u github.com/divan/whispervis/...
# cd .; git clone https://github.com/divan/simulation /home/u/goget/src/github.com/divan/simulation
Cloning into '/home/u/goget/src/github.com/divan/simulation'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
package github.com/divan/whispervis
	imports github.com/divan/simulation/propagation: exit status 128
package github.com/divan/whispervis
	imports github.com/divan/simulation/stats: cannot find package "github.com/divan/simulation/stats" in any of:
	/home/u/go1.12/src/github.com/divan/simulation/stats (from $GOROOT)
	/home/u/goget/src/github.com/divan/simulation/stats (from $GOPATH)
	/home/u/Desktop/go/src/github.com/divan/simulation/stats

Seems like the go get is unable to locate the github.com/divan/simulation repo.

Wish you all the best and send happy winter wishes from Sweden :)

/u

Error in readme.md

Just a small issue, but in your readme you have a

cd whisperviz

when it should be

cd whispervis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.