Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2013-12-04 #34

Merged
merged 130 commits into from
Dec 3, 2013
Merged

Release 2013-12-04 #34

merged 130 commits into from
Dec 3, 2013

Conversation

brianchirls
Copy link
Owner

New Features/Improvements

  • Allow effect plugins to be defined by functions
  • Allow effect input definitions to be deferred until node is created
  • Lots of examples added (Animation, Whip Pan, Camera)
  • Changed .go() to use .animate() behavior and removed animate method
  • go now takes two arguments: a callback to run before rendering and one to run after.
  • Enable resizing of frame buffers
  • Completely rebuilt system for transforming nodes. Now use Transform node type instead. Included transforms:
    • 2D (Translate, Rotate, Scale, Skew)
    • Flip (horizontal or vertical)
    • Reformat (Change node dimensions)
  • Optimize by creating fewer objects and functions in "hot" render code
  • Calculate all node sizes implicitly by source size (unless required by the effect)
  • Add invert option to Luma Key effect
  • Blend effect improvements
  • Reduce code size by calculating color name values dynamically
  • Improved tracking of checkbox values
  • Set color input by object

New Effects

  • Brightness/Contrast
  • Color Complements
  • Directional Blur (with example)
  • Dither
  • False Color
  • Film Grain
  • Gaussian Blur
  • Highlights/Shadows
  • Kaleidoscope
  • Linear Transfer (with example)
  • White Balance

Bug fixes

  • Fixed misc. issues with many plugins when more than one instance is created
  • Fixed 'split' effect's angle property
  • Re-use a single WebGL context for compatibility and cross-origin checks
  • Fixed ripple effect. Now vector needs to be defined as an array.
  • Fixed broken readPixels on Source nodes
  • Fixed aliases
  • Removed (possibly) redundant frameBuffer test that's not supported in IE11
  • Fixed "range" input type in IE11
  • Fixed broken vector validation
  • Improve UMD pattern by referring to define and require globally so they don't break r.js
  • Safer clean-up on destroy

Known Issues

  • Camera example does not work in Firefox

Seriously.js is < 1.0 and not guaranteed to be backward compatible with previous versions. Your existing code likely needs to be modified to work with this version.

2) Replace deprecated getter/setter methods with standard methods
Was getting a warning in Firefox that we were creating more than 16 contexts and some had to be dropped.
This is likely slower than the look-up table, but it saves several kb in JS code.
It is unlikely that it will make much difference in practice, since it would not
be very useful to animate smooth transitions by cycling through color names.
- Unit tests for vectors
- Do not allocate new arrays for vector/color values on every input
- vector input objects work with color indexes
- Set color by object
- Render callbacks removed
- .animate functionality added to .go()
- .go() now has before and after callbacks
- .animate removed
  - make sure pre/post callbacks run at the right time
  - only cue up a single RAF/render at a time
  - renderDaemon calls pre/render/post synchronously
brianchirls added a commit that referenced this pull request Dec 3, 2013
@brianchirls brianchirls merged commit df75ff0 into master Dec 3, 2013
@brianchirls brianchirls mentioned this pull request Dec 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants