Jonathan Ellis
Jonathan Ellis
My PR fixes this for the JVM but I'm not sure what to do on the JS side, it looks like it's ignoring offset entirely over there.
I thought about this a bit more. Usually if an API specifies type X but really it requires subtype Y, but the type system itself can't distinguish between the two,...
Added to PR, confirmed it works on JVM now.
Here is a direct translation of the Kotlin template that does not require https://github.com/openrndr/openrndr/pull/270: ``` import kotlin.Unit; import org.openrndr.ApplicationBuilderKt; import org.openrndr.ExtensionStage; import org.openrndr.color.ColorRGBa; import org.openrndr.draw.ColorTransformsKt; import org.openrndr.draw.FontMapKt; import static java.lang.Math.cos;...
Optional::isEmpty() is also missing (from JDK 11)
I thought at first this was a quirk of 1-line display mode, but I'm still seeing it happen after increasing to 5 lines.
It may be related to using ctrl-P (which invokes normal readline last-command) instead of up-arrow.
also voting for this please!
From Slack: - lineStrip is for a polyline where you pass in the vertices of that polyline - lineLoop is for a closed polyline - lineSegments is to batch draw...
apparently this is a "feature" of the underlying multiprocessing library, changing my code to ``` if __name__ == '__main__': ... phasher = PHash() encodings = phasher.encode_images(image_dir) duplicates = phasher.find_duplicates(image_dir) ```...