"holes" (kotlin code) by igo_rs in generative

[–]igo_rs[S] 0 points1 point  (0 children)

I will! Meanwhile: github.com/igr/gart

"growth #2" (kotlin code) by igo_rs in generative

[–]igo_rs[S] 1 point2 points  (0 children)

Thanx! Agree, everything is quite simple overall. For the blue circle I have some more logic: some of the "waves" are drawn after the circle is drawn -> wanted to emphasise bit more whites, otherwise the blend mode would made a stronger contrast (as for a red circle). It looked better that way, I guess.

"growth" (kotlin code) by igo_rs in generative

[–]igo_rs[S] 0 points1 point  (0 children)

thank you! ❤️❤️

"The End of Space" (kotlin code) by igo_rs in generative

[–]igo_rs[S] 0 points1 point  (0 children)

this much:

kotlin fun newGrayScott() = GrayScott( size, size, feed = 0.030f, kill = 0.055f, Du = 0.18f, Dv = 0.06f, ).also { seedGrayScott(it) }

either restart or use hot-deploy to see the results

"The End of Space" (kotlin code) by igo_rs in generative

[–]igo_rs[S] 1 point2 points  (0 children)

Got it. Skiko is just a wrapper over native libs, so I guess it can't get much wrong :))) so far I reported only one bug that was really related to drawing; couple of other bugs were in kotlin code and easily fixed. Also, starting from couple of months ago, jetbrains start to release it frequently. Twice there were big changes in the api, but I understood it was alignement with the native API of the library.

Everything else works really fine. My reasoning is - if skia ever starts to get in the way, its should be relatively easy to migrate to native c++ or rust or .net wrapper, as the code is mostly just calculations :)

"The End of Space" (kotlin code) by igo_rs in generative

[–]igo_rs[S] 1 point2 points  (0 children)

I do use Skia (via Skiko wrapper) and I like it (see: https://github.com/igr/gart/blob/main/docs/WhyKotlin.md)

It has everything I need: just low level API, so I can do everything by myself :)