Skip to content

Commit 2981a3b

Browse files
committed
Merge branch 'master' into increase-floating-point-precision
2 parents 0a67521 + 41f96ec commit 2981a3b

10 files changed

Lines changed: 5384 additions & 4646 deletions

File tree

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
os: osx
33
node_js:
4-
- "8"
4+
- "12"
55
addons:
66
apt:
77
packages:
@@ -19,19 +19,21 @@ before_deploy:
1919
- npm run prerelease
2020
deploy:
2121
- provider: releases
22+
edge: true
2223
skip_cleanup: true
2324
api_key:
24-
secure: Ntp/+YWKTfEMpulXwJEdwcLMPqdU4KT5x+slcVFYhr7Z2ho+L0JpRi3RW0mheqXxMxKV0fVFI6eNfjlOoNMcEvCLDjjua6jgwdU+2yM1RDMu1EmFHv/ECKoF0g5flJiIs4UZwpX6RlYS4a75Vr3lB0kd8rX71uqw6H3OUljJqUz6apFlb2gSrp8NpgFUMpBmCrFFCiEjKN/YNenCyyO8m6WgWSPUCGZwcnyklawfuc6xzTmJmTbnIDRQer1zvs8Yhr6c8HBgge9XIotKmrwMGe7Gub+r0DHiIjjfk73+zpYZ4hm0VYbOYoDQFpeGnEVOKzSZEzHxBm004IPkrnmuZgMvv+fFNf3D6vPcmpAh6brVLPQyBb2UYET4R+dKFw0I5u4AmEGLJbOzH8B/ZJs1kvvFu+bzDql9qtwrseS5D6rQp2ojpHVTqjw2n0P2/zpUpv2uzvXdXf9k66CNV+ag0q0JzOtwsgARIqPVLgtr+90qKEcKBVEG6lpkZYpiwz71ui/zi5m8WrtZs8Arf847j1gaAGMEK4Bxmtk/riTmUtySrKDYtLja1NdpDxN7lkYkuE/eXaUTrvrvfQ5alImQA6mDcVw5Qo5tyDZrxRXyP76Ka6ygfgQhPWKOSqxAPdD2Lla2Rcw9Q0PPH6Al3pllFUXvWHuNheJfamrGi+fz6b4=
25+
secure: PCL6FS8GDmgiTFhZ8rPmCgrktRYYT7QV/yyVLZk93J6WTAI5ChbtFusB+O6cyia0+G7CEmNZXwc6OGGs6iXCFAckP2lMqexfeTU35pd0feeN+gcvVdXudUo+FVVkgb2FPBUjj0RvanL6RvuoZHeUFIrTho4VK6gtlm8ErmAA/JZhhRACSI2cwV5GoJQtUl1i0D7KiA/w5AhtMGKhG2kc26MPXF3k715XcO+qpt1M6lK6uu0wonLk3EgH2YqndY4OPoffneQVbL1jwnkCoY4NRyuaQeHjNeUSvxI7QG4c95kFg6XcnCpi9Kqu2o6wZpxIIMlSjYi0C9nja+scdwjaEc/nGO0WTNC/UFbAgK36EkoxFcIaZiDq/dhtNekyDzHmJklrI6iEBMa7Fb3y1PE1dK+FBeHq3G3aVWFRYExZtpKyq16Cj7+588qalOYfgib0WT/EWg9e4vqM2vdw2ALm9gYwM9WJSgVVTRarm1nL4G/2aamCly5zxC9gKzNF6ikxG5cTYHypNZppOaZZ8+iKUYso9VOiGsW6GRXTLxY0oGF+7DU8In5CqxgP/Q6F2BWWKo1cUoFuzqQZ1ixeaq6MehS01CF5JXhrKaN1TTMFAIBizRQnE3pibyGz+Sgms8XtQ0wedS9yXr57joCC5rr6yILzmw9UhUIPdd2p/FbTYr0=
2526
file: dist.zip
2627
on:
2728
branch: master
2829
tags: true
2930
repo: flekschas/regl-scatterplot
3031
- provider: npm
32+
edge: true
3133
skip_cleanup: true
3234
email: service@lekschas.de
3335
api_key:
34-
secure: vLBzLaHEGGXCjvqFB5DXp8ox1qx/5wHDiLVZQ0tzYRkiizcqr/xHt9j4CB+CvOMDsqBsXV00qlYdk6lBtRffB2SYXAcMqbDO+jfmu8DC+sLTXS2NOAyy1FVRjk6VdgZqTlBa1MxK1O9ScJSxNiJrwO4zu3IIAkP2v9xqulxD9C9kAJLfRmAtxwtpm1PpGwFL7j5j+DjF/rNEfUq9BUJVwCCGgD847/q07t7zqQ3eDG7VAZKAtU3wgwfComjIiYffzibK9D8U6ILcvCBDeE36jACrmfx+KbQESENeSxotuY/I6w9dGa/gmnS35u2P6K1SuAGgj9IRkkvnhc+krETV22LQi0qfg5ZOzsC8vcWRdJhverwI1aeSz9WxSmKEtY/SlMWaQvt2lxQEJ5n4816fdj1LJuUjy7lUspTW8J/nry4YSc+z/iJtAMKzhJpp40EJEECUSPQq9i0GNBXte7aLrwRABt+oquTuougNTcGAVmULyXkF2xVVOAlvCOcdPmZg/rSR1JLTo4PaeVhMychnwJiaOp5W81MPrVak0yZ+YXoNGyohTssJ3WTxzqVSHYh9NaRnPalKOasQEarBqJav0MUc3GBPVHmfQclAzvmfAmJ5aSNdaj6SWK9Un8CKZeRcIO7XIzSY1j0UGlixE+ZDPrihU3C6UJE6o0IkT612aOI=
36+
secure: o5a+jhH6XPPpa7FGEEly1gq215u5WOGx8SUr1dT/y7I+cAONACvZnYyehW35YhjqYVaMWm5x9DbfE29bpgoz78alzDrLaCqqZ0HB49J1XsLVXLL3Qvm262Irw6Yg87TuSkt2BsTKei2kynj2+b89aWhkUUC3jsxadok2YTkMNfzUcFwH8MfApxFXZ13Icw/T92Am2YERAj5kEYMFPvYutngrw3ds9jsBt7sjltF6N21MqtDN9jyKt9goxk0L7ne4AwdkUCtQQJo+VOIAuUA9W96bQxDzagFWRvUHuUmJBr3IpsGrwRR5beWDDycfjJkP/u6iqawXAuEUbK2q0qBgC4XCjz8NILBcgNZfh+UYAIc+5mVlVCGVJtQ0wgf/7gGbQScSQ+qCA5Hc+BvDWeKy2661J/L1trt/nT+PQjSNuEuT2vllQHQrZOdWkwRIzxDeaTRIqdSNBpCpJi11bpjd//LJn70cooTQVEJPozuJ4NjiAgJQQ8l1jgzn6QJwbpL+WdKNgTt4Bn9J6pHjCKw6c/dEnEj3n3gRP+tuXHR7GHd6ilunGS/00BxWEwSykKc7emVqff/eQNDf4wboiusR1fkMy7X6m1obXxISzAhtTn+x6z26BRLX84WDikvX5YXpb7DaPCg2ri70ebAfxsc5VN8F9m3h9CFaxZyITDSh0FU=
3537
on:
3638
branch: master
3739
tags: true

CHANGELOG.md

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,45 @@
1-
**v0.7.4**
1+
## v0.7.5
2+
3+
- Add `clear()` to clear the scatter plot
4+
- Update the camera on refresh
5+
- Fix issue when drawing new points: do not wrap setting new points with withRaf(). Only wrap the pure draw call!
6+
- Fix a regression from removed scroll library
7+
8+
## v0.7.4
29

310
- Increase floating point precision (#5)
411
- Fix a rare glitch in the lasso selection where the lasso would be drawn with a far away point
512
- Smoothify lasso by lowering the min delay and min dist
13+
- Update 2D camera and many dev packages
14+
- Remove the minified ESM build as it's unnecessary
615

7-
**v0.7.3**
16+
## v0.7.3
817

918
- Fix glitch in the npm release of `v0.7.2`.
1019

11-
**v0.7.2**
20+
## v0.7.2
1221

1322
- Provide proper ESM instead of pointing to the source code.
1423

15-
**v0.7.1**
24+
## v0.7.1
1625

1726
- Replaced `hover` event with `pointover` and `pointout` to be able to know when a point is not hovered anymore.
1827

19-
**v0.7.0**
28+
## v0.7.0
2029

2130
- Allow changing the lasso smoothness via `set({ lassoMinDelay, lassoMinDist })` where `lassoMinDelay` is the minimum number of milliseconds between mousemove events before the lasso is extended and `lassoMinDist` is the minimum number of pixels the mouse has to move.
2231

23-
**v0.6.0**
32+
## v0.6.0
2433

2534
- Simplify API: `style()`, `attr()`, `scatterplot.canvas`, `scatterplot.regl`, and `scatterplot.version` are merged into `get()` and `set()`. The function signature is identical to `style()` and `attr()` so all you have to do is rename.
2635
- Add recticle. It's not shown by default but can be activated with `set({ showRecticle, recticleColor })`.
2736
- Fix a regression that caused interrupted panning
2837

29-
**v0.5.1**
38+
## v0.5.1
3039

3140
- Fix a bug in categorical color encoding
3241

33-
**v0.5.0**
42+
## v0.5.0
3443

3544
- Set default aspect ratio to 1. It can be changed via `attr({ aspectRatio })`
3645
- Add property to set `lassoColor` via `style({ lassoColor })`
@@ -41,15 +50,15 @@
4150
- Add tests for all public API endpoints
4251
- Fix several smaller bugs
4352

44-
**v0.4.0**
53+
## v0.4.0
4554

4655
- Use a combination of linear and log2 scaling for point size
4756
- Add support for background images
4857
- Add API documentation
4958
- Switch to single quotes
5059
- Export version
5160

52-
**v0.3.3**
61+
## v0.3.3
5362

5463
- Add endpoint for changing the background color
5564
- Allow setting view on initialization
@@ -58,30 +67,30 @@
5867
- Fix issues with setting colors
5968
- Fix resetting view
6069

61-
**v0.3.2**
70+
## v0.3.2
6271

6372
- Update third party libraries
6473
- Switch to browser-based tests
6574
- Set more strict linting
6675

67-
**v0.3.1**
76+
## v0.3.1
6877

6978
- Fix nasty floating point issue when working with large textures (> 100.000 points)
7079
- Make point size dependent on zoom level
7180

72-
**v0.3.0**
81+
## v0.3.0
7382

7483
- Optimize rendering: up to about 500K points render fine. Usable for up to 1M points.
7584
- Add support for one categories and one value per point for color encoding.
7685
- Add visual outline for selected points for better highlighting.
7786
- Add test setup and some base tests.
7887
- Many bug fixes and under the hood improvements.
7988

80-
**v0.2.0**
89+
## v0.2.0
8190

8291
- Add fast lasso selection
8392
- Support rotations
8493

85-
**v0.1.0**
94+
## v0.1.0
8695

8796
- Initial working version. **Warning:** this version is not optimized yet and only works fluidly for up to 50.000 points.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![npm version](https://img.shields.io/npm/v/regl-scatterplot.svg)](https://www.npmjs.com/package/regl-scatterplot)
44
[![node stability](https://img.shields.io/badge/stability-experimental-EC5314.svg)](https://nodejs.org/api/documentation.html#documentation_stability_index)
55
[![build status](https://travis-ci.org/flekschas/regl-scatterplot.svg?branch=master)](https://travis-ci.org/flekschas/regl-scatterplot)
6+
[![File Size](http://img.badgesize.io/https://unpkg.com/regl-scatterplot/dist/regl-scatterplot.min.js?compression=gzip&color=e17fff)](https://unpkg.com/regl-scatterplot/dist/regl-scatterplot.min.js)
67
[![code style prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
78
[![regl-scatterplot demo](https://img.shields.io/badge/demo-online-6ae3c7.svg)](https://flekschas.github.io/regl-scatterplot/)
89

0 commit comments

Comments
 (0)