openrndr v0.3.42 Release Notes

Release Date: 2020-05-14 // 17 days ago
  • Video

    • ➕ Add ScreenRecorder.shutdown
    • ➕ Add frame format/type checking in VideoWriter to prevent hard crashes
    • 🛠 Fix x265 profile

    Screenshots

    • 🛠 Fix null-check for parentFile in Screenshots
    • ➕ Add Screenshots.beforeScreenshot and afterScreenshot events Closes #98
    • ➕ Add Screenshots.trigger
    • 👍 Allow delaying screenshots

    Math and Vectors

    • ➕ Add addition/subtraction operators for Doubles/Vectors
    • ➕ Add clamp to map() (#85)
    • ➕ Add dimensions vector to Rectangle
    • ➕ Add distanceTo, squaredDistanceTo
    • Prevent division by zero in map
    • ➕ Add mixAngle, use it when mixing hues
    • ➕ Add Vector mix funcs, tests, fix Vec4.normalized
    • ➕ Add NaN tests to Double.map

    📚 Documentation

    • ⚡️ Update README.md
    • 👌 Improve API CSS
    • ➕ Add documentation for FileDialogs.kt

    Development

    • Create pick-me.yml
    • ➕ Add workflows for bintray and apidocs

    Contours and lines

    • ➕ Address shape contour split issue
    • 👌 Improve point deduplication for lineloops
    • 👌 Improve handling of compound shapes
    • 👌 Improve Shape.splitCompounds and triangulate
    • 👌 Improve ShapeContour.offset
    • 👌 Improve ShapeContour.sub
    • 👌 Improve shape winding and handling consistency
    • 👉 Make Shape and ShapeContour assumptions explicit, add contours {}
    • ➕ Add default argument value for ShapeContour.fromPoints
    • 🛠 Fix bug in Contour.equidistantPositions
    • 🛠 Fix bug in Drawer.contours
    • 🛠 Fix consecutive duplicate point issues
    • 🛠 Fix derivative for 3d quadratic beziers
    • 🛠 Fix for quadratic bezier derivative
    • 🛠 Fix for zero-length segments generated by BezierCubicSampler2D
    • 🛠 Fix rounding bug in sampleEquidistant
    • 🛠 Fix ShapeContour.offset issue where segments are disjoints
    • 🔄 Change default tolerance for line-line intersection to 0

    Interaction

    • 🔄 Change mouse.clicked event to be an alias for mouse.buttonUp
    • Keep state of mouse buttons so it can be queried
    • 📇 Rename mouse.left to mouse.exited

    Text writing

    • 💅 extend latin alphabet with Polish diacritics

    Rendering

    • ➕ Add compound support for triangulateIndexed
    • ➕ Add (partial) openrndr-nullgl back-end, which can be used for testing
    • ➕ Add support for BufferTexture parameters in Filter
    • 🛠 Fix handling of default VAO
    • 🗄 Deprecate Drawer.background in favor of Drawer.clear
    • ➕ Add ignore options to ColorBuffer.isEquivalentTo
    • ➕ Add standard blend mode for non-premultiplied alpha
    • 🔄 Change clear color to black to prevent flashes when working on installations
    • Switch to Java implementation of GLUTessellator
    • ➕ Add destroyContext to Driver

    Other

    • ➕ Add elementOffset argument to VertexBuffer.put
    • ➕ Add feature request template for issues
    • ➕ Add multiplication symbol to default alphabet
    • 👍 Allow rgb(gray)
    • 🏁 Disable sanitizing exception handler on windows, show cause chain
    • 🛠 Fix bounds in ExpansionDrawer.kt
    • 🛠 Fix small issues in SVGLoader
    • ⚠ Resolve warnings emitted by compiler
    • ⬆️ Upgrade ffmpeg, kotlin, dokka, Gradle, kotlin-coroutines-core, Kluent
    • ↪ Work around lateinit issues in Application / Program