etro 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/CONTRIBUTING.md +5 -17
  3. package/README.md +7 -16
  4. package/dist/etro-cjs.js +37 -28
  5. package/dist/etro-iife.js +37 -28
  6. package/dist/layer/text.d.ts +3 -3
  7. package/dist/layer/visual-source.d.ts +18 -3
  8. package/dist/layer/visual.d.ts +5 -5
  9. package/dist/movie.d.ts +3 -3
  10. package/dist/object.d.ts +5 -1
  11. package/eslint.conf.js +2 -0
  12. package/eslint.test-conf.js +1 -2
  13. package/karma.conf.js +6 -7
  14. package/package.json +17 -17
  15. package/scripts/gen-effect-samples.html +24 -0
  16. package/scripts/save-effect-samples.js +1 -1
  17. package/src/effect/stack.ts +2 -2
  18. package/src/effect/transform.ts +2 -2
  19. package/src/layer/base.ts +2 -1
  20. package/src/layer/text.ts +4 -4
  21. package/src/layer/visual-source.ts +27 -7
  22. package/src/layer/visual.ts +7 -7
  23. package/src/movie.ts +16 -14
  24. package/src/object.ts +5 -1
  25. package/tsconfig.json +3 -1
  26. package/examples/application/readme-screenshot.html +0 -85
  27. package/examples/application/video-player.html +0 -130
  28. package/examples/application/webcam.html +0 -28
  29. package/examples/introduction/audio.html +0 -64
  30. package/examples/introduction/effects.html +0 -79
  31. package/examples/introduction/export.html +0 -83
  32. package/examples/introduction/functions.html +0 -37
  33. package/examples/introduction/hello-world1.html +0 -37
  34. package/examples/introduction/hello-world2.html +0 -32
  35. package/examples/introduction/keyframes.html +0 -79
  36. package/examples/introduction/media.html +0 -63
  37. package/examples/introduction/text.html +0 -31
  38. package/private-todo.txt +0 -70
package/private-todo.txt DELETED
@@ -1,70 +0,0 @@
1
- (A) 2021-04-21 offline recording with ffmpeg.wasm
2
- (A) 2021-04-21 document events
3
- (A) 2021-05-17 test recording to mp4
4
- (A) 2021-05-17 test that keyframes extend last frame for infinity!!
5
- (B) 2020-08-03 make sure each event's purpose is to notify the public world of notable things that happen in the object.
6
- (B) 2020-08-27 transitions?
7
- (B) 2020-12-30 emit modify events when effects are added to layer?
8
- (B) 2020-12-30 ensure order of `set` and `deleteProperty` are correct in array proxy with `pop`
9
- (B) 2021-04-12 disable autoRefresh in tests and test integration with this switch some other way
10
- (C) 2019-10-13 idea: layer inheritance
11
- (C) 2019-10-13 ignore leading underscore in shader uniform property names
12
- (C) 2019-10-13 fix opacity with shader effects
13
- (C) 2020-08-08 Replace val(element, 'property', reltime) with element.property.value
14
- (C) 2020-08-12 call URL.revokeObjectURL when recording
15
- (C) 2020-12-30 simplify movie.change.* into movie.change
16
- (C) 2021-03-28 make all color properties use `Color`
17
- (C) 2021-04-02 abort recording
18
- (C) 2021-04-21 webcam example doesn't work on FF unless autoRefresh is set to false
19
- (C) 2021-07-13 make all layers canvases the same size as the movie
20
- (C) 2021-07-18 movie stops recording a few frames late when duration is supplied
21
- (D) 2019-10-15 change chroma key constructor signature
22
- (D) 2019-11-11 treat zero as invalid for pixelate radius
23
- (D) 2019-11-11 decide on effect.Transform using hardware acceleration
24
- (D) 2019-11-18 Look at linearInterp objectKeys default value
25
- (D) 2019-12-25 Rename `Stack` to something else
26
- (D) 2020-08-02 Not every option should be set as a property on the object
27
- (D) 2021-01-24 Remove path support in val (because users would expect it to evaluate every path part)
28
- (D) 2021-01-26 Fix inheritance checking for media mixin
29
- (D) 2021-01-26 Media docstring type
30
- (D) 2021-01-26 Call super in all media mixin methods
31
- (D) 2021-01-27 Use options.js
32
- (D) 2021-04-02 error on invalid `record` options
33
- (D) 2021-04-12 use val() when recalculating AudioSource#duration based on playbackRate
34
- (D) 2021-07-09 multiple layers of proxies in watched objects
35
-
36
- x (B) 2021-04-12 make error range for pixel tests
37
- x (C) 2021-02-26 make sure that movie background gets val'd
38
- x (B) 2021-04-03 expose MovieOptions
39
- x (D) 2019-10-09 probably convert to typescript
40
- x (C) 2019-10-22 make image and video both extend a mixin
41
- x (C) 2021-04-03 2019-01-07 record for interval of time
42
- x (B) 2021-04-03 2021-04-03 add missing properties to MixedVisualSource
43
- x (D) 2021-04-03 2021-04-03 move opacity out of `border` in Visual
44
- x (B) 2021-01-28 2020-12-18 split layers up into multiple files
45
- x (B) 2021-01-28 2020-12-18 split effects up into multiple files
46
- x (B) 2020-08-27 individual interpolation for keyframe sets
47
- x (B) 2019-12-24 support node
48
- x (B) 2020-12-31 2020-12-30 Detach effect when replaced in layer
49
- x (D) 2020-12-18 2020-08-02 Rename `cctx` -> `vctx`
50
- x (B) 2019-01-02 fix movie record test failing with GitHub actions
51
- x (B) 2020-08-03 2020-08-03 don't set Image#clipWidth in init
52
- x (B) 2020-08-03 2020-08-03 remove properties like Video#mediaWidth, effectively removing layer borders
53
- x (B) 2020-08-03 2019-10-04 decide on the purpose of events - it's to notify the outside world of notable things that happen in the object
54
- x (B) 2019-12-25 decide on public / private properties
55
- x (C) 2019-12-25 2019-12-24 make getDefaultOptions private
56
- x (D) 2019-11-18 Change Color constructor default a from 255 -> 1.0
57
- x (A) 2019-12-06 2019-11-11 Start roadmap
58
- x (A) 2019-11-19 2019-10-22 Util tests
59
- x (A) 2019-10-22 Effect tests
60
- x (D) 2019-11-18 2019-11-18 update watchPublic description, removing part that says "after all public properties are initialized in constructor"
61
- x (B) 2019-10-13 mv examples/media examples/assets
62
- x (A) 2019-10-22 2019-10-22 Layer tests
63
- x (B) 2019-10-12 support media live streams
64
- x (C) 2019-10-03 research if dist/etris-esm.js is necessary
65
- x (A) 2019-10-04 upload to npm
66
- x (C) 2019-10-07 lint examples
67
- x (B) 2019-10-04 fix jsdoc comments after linting
68
- x (A) 2019-10-07 2019-10-07 fix recording silent movie on chrome
69
- x (A) 2019-10-05 2019-10-03 research if I can include open media in my repo
70
- x 2019-10-04 2019-10-03 use one of eslint's official configs