Skip to content

r20

Compare
Choose a tag to compare
@pschroen pschroen released this 20 Jun 22:16
  • WebGL 2 only, now that Safari support is enabled by default
  • Replaced GSAP with standalone animation and easing classes
  • Replaced Oimo.js and examples with OimoPhysics classes
  • Replaced UIL with standalone UI components and panel system
  • Replaced Utils math functions with the three.js MathUtils functions, reexported directly from the three.js source file
  • Improved fast 3D audio system
  • Improved reflections
  • Implemented pointer events
  • Implemented binary websockets
  • House cleaning
  • Updated dependencies
  • Updated browser support check to just a simple nomodule fallback, now that Safari supports the latest features
  • Added geometry and sounds attribution files
  • Added dark mode favicon
  • Removed Babel from build (no more transpiling needed), now that Safari supports static class fields
  • Removed linting from package.json to keep dependencies low, and can be manually installed when needed
  • Removed Travis CI and David, added LGTM
  • Config
    • Added Styles reference class and CSS variables for colours.
  • Loaders
    • Updated BufferGeometryLoader with support for uv2.
    • Removed spherical loaders and examples.
  • Tween
    • Readded Render as Ticker.
    • Added BezierEasing based on @gre's bezier-easing, used through the Easing API, a CSS cubic-bezier(0.42, 0, 0.58, 1.0) can be added with a reference name Easing.addBezier('inOut1', 0.42, 0, 0.58, 1), and then accessed by the name Easing['inOut1'], or in any tween tween(shader.uniforms.uTransition, { value: 1 }, 1500, 'inOut1').
    • Added Easing based on an aggregate of multiple sources, @danro's easing.js, @CreateJS's TweenJS, @tweenjs's tween.js, and common names for easing functions from the Easing Functions Cheat Sheet.
    • Readded MathTween as Tween.
  • Utils
    • Updated headsTails() to optionally return a boolean with empty arguments.
  • Audio
    • Updated WebAudio with enabled getter and get() method.
    • Updated WebAudioParam with set() method.
    • Removed legacy code, now that Safari supports the latest features.
  • Panel
    • Added Panel.
    • Added PanelItem.
    • Added Link based on @lo-th's UIL button.
    • Added List.
    • Added ListToggle.
    • Added ListSelect.
    • Added Slider based on @lo-th's UIL.
    • Added ColorPicker based on @lo-th's UIL.
    • Added MaterialPanelController (initial commit).
  • UI
    • Added UI.
    • Added Header.
    • Added HeaderInfo with FPS based on @lo-th's UIL.
    • Added Line.
    • Added Reticle.
    • Added ReticleText.
    • Added Tracker.
    • Added Point.
    • Added PointText.
    • Added TargetNumber.
  • 3D
    • Updated TextGeometry with upstream updates.
    • Added getScreenSpaceBox() helper function.
    • Added getFrustumFromHeight() helper function.
    • Added lerpCameras() helper function.
    • Added SoftShadows based on @spidersharma03's Percent Closer Soft-Shadows (PCSS) three.js example.
    • Added Point3D.
    • Removed SpherizeImage.
  • Physics
  • Extras
  • Materials
  • Shader modules
    • Replaced transformation shader modules with rotateUV and scaleUV.
    • Renamed path for easing shader modules from eases to easing.
    • Updated HSV shader modules based on @yuichiroharai's glsl-y-hsv functions.
    • Added fresnel with getFresnel() helper function.
    • Added smootherstep function from v_coda's smootherstep.
    • Removed range functions.
    • Removed spherize.