openrndr v0.3.42 Release Notes

Release Date: 2020-05-14 // almost 4 years 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

    โ€‹