All Projects → nswamy14 → visual-heatmap

nswamy14 / visual-heatmap

Licence: BSD-3-Clause license
Open source javascript module for high performance, large scale heatmap rendering.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to visual-heatmap

Rtree2d
RTree2D is a 2D immutable R-tree with STR (Sort-Tile-Recursive) packing for ultra-fast nearest and intersection queries
Stars: ✭ 90 (+328.57%)
Mutual labels:  high-performance, 2d
Webgl Plot
A high-Performance real-time 2D plotting library based on native WebGL
Stars: ✭ 200 (+852.38%)
Mutual labels:  high-performance, 2d
Libheatmap
High performance C heatmap generation library. Supposed to be wrapped by higher-level languages.
Stars: ✭ 241 (+1047.62%)
Mutual labels:  high-performance, heatmap
libcg
The tiny C library of 2D computer graphics.
Stars: ✭ 80 (+280.95%)
Mutual labels:  2d
sched
⏳ a high performance reliable task scheduling package in Go.
Stars: ✭ 46 (+119.05%)
Mutual labels:  high-performance
SchrodingerWellPython
2D 3D Time independent FDM Schrodinger equation solver for arbitrary shape of well
Stars: ✭ 21 (+0%)
Mutual labels:  2d
netty-in-action-cn
Netty In Action 中文版
Stars: ✭ 1,389 (+6514.29%)
Mutual labels:  high-performance
python-wifi-survey-heatmap
A Python application for Linux machines to perform WiFi site surveys and present the results as a heatmap overlayed on a floorplan
Stars: ✭ 231 (+1000%)
Mutual labels:  heatmap
SuperCTF
A multiplayer capture the flag game made in Godot with love and blood. Running live at www.superctf.com
Stars: ✭ 26 (+23.81%)
Mutual labels:  2d
TensorTrade
This repository hosts all my code related to TensorTrade. It consists of the main program, its old versions, and some extras for more insights.
Stars: ✭ 16 (-23.81%)
Mutual labels:  heatmap
fastverse
An Extensible Suite of High-Performance and Low-Dependency Packages for Statistical Computing and Data Manipulation in R
Stars: ✭ 123 (+485.71%)
Mutual labels:  high-performance
exposed
High performance RPC framework
Stars: ✭ 28 (+33.33%)
Mutual labels:  high-performance
flutter heatmap calendar
A Heatmap Calendar based on Github's contributions chart
Stars: ✭ 47 (+123.81%)
Mutual labels:  heatmap
0chain
0Chain is a decentralized blockchain-based storage platform with built-in privacy and security compliance. It provides high performance, enforceable SLAs, choice of providers for all enterprise grade applications.
Stars: ✭ 79 (+276.19%)
Mutual labels:  high-performance
workerman
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols. PHP>=5.4.
Stars: ✭ 10,005 (+47542.86%)
Mutual labels:  high-performance
sokol gp
Minimal modern efficient cross platform 2D graphics painter in C
Stars: ✭ 228 (+985.71%)
Mutual labels:  2d
undither
Smart filter to remove Floyd-Steinberg dithering from paletted images
Stars: ✭ 38 (+80.95%)
Mutual labels:  pixels
Pyslvs-UI
An open source planar linkage mechanism simulation and mechanical synthesis system.
Stars: ✭ 130 (+519.05%)
Mutual labels:  2d
dingo
A Hybrid Serving & Analytical Processing Database.
Stars: ✭ 108 (+414.29%)
Mutual labels:  high-performance
core
Enterprise Grade #NodeJS Platform implementing Industry Standards & Patterns in order to provide Connectivity, Stability, High-Availability and High-Performance
Stars: ✭ 54 (+157.14%)
Mutual labels:  high-performance

Visual-Heatmap Js npm Downloads

Open source javascript module for rendering high performance, large scale heatmap.

Visual Heatmap is based on advanced graphical rendering context - WebGL/Shaders. It can render 500,000+ data points with a good framerate.

Click me Click me Click me

Installing

If npm

npm i visual-heatmap --save

Download source code from below links

Visual-Heatmap is written in ES6 Modules. To import use below syntax

Importing everthing into namespace

import Heatmap from 'visual-heatmap'

VisualHeatmapJs - API

visualHeatmap()

visualHeatmap provides a API to create context WebGL. API accepts containerId and config as an input. A layer will be created under the provided Div #containerId.

let instance = Heatmap('#containerId', {
        size: 30.0,
        max: 100,
        blur: 1.0,
        gradient: [{
            color: [0, 0, 255, 1.0],
            offset: 0
        }, {
            color: [0, 0, 255, 1.0],
            offset: 0.2
        }, {
            color: [0, 255, 0, 1.0],
            offset: 0.45
        }, {
            color: [255, 255, 0, 1.0],
            offset: 0.85
        }, {
            color: [255, 0, 0, 1.0],
            offset: 1.0
        }]
    });

ContainerId CSS Query selector which identifies container.

Config Object with config properties.

{
size : Radius of the data point, in pixels.
max : Max data Value for relative gradient computation.
blur : Blur factor.
opacity : Opacity factor.
rotationAngle : Rotation angle.
translate : translate vector [x, y].
zoom : Zoom Factor.
gradient : Color Gradient, array of objects with color value and offset.
}

instance.renderData([])

Accepts an array of data points with 'x', 'y' and 'value'. Demo

instance.addData([], transformationIntactflag);

Accepts an array of data points with 'x', 'y' and 'value' and a flag to specify to apply existing canvas transformations on the newly added data points. Try Example

instance.setMax()

To set max data value, for relative gradient calculations.

instance.setTranslate()

Api to perform translate transformation on the canvas. Accepts array[x, y] as an input. Try Example

instance.setZoom()

Api to perform zoom transformation on the canvas. Accepts float value as an input. Try Example

instance.setRotationAngle()

Api to perform rotation transformation on the canvas. Accepts angle in radians. Try Example

instance.setSize()

Api to set point radius. Accepts float value as an input. Try Example

instance.setBlur()

Api to set Blur factor. Accepts float value as an input. Try Example

instance.setOpacity()

Api to set Opacity factor. Accepts float value as an input. Try Example

instance.clear()

Api to clear canvas.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].