Skip to content

Contribution Guide

Nikhil Chaudhari edited this page Dec 6, 2021 · 4 revisions

Contributing your created examples

I request you to please play with this library, try out your own sketches, and raise a PR. I want to showcase those examples/sketches/experiments that you've done with this library here on this repo. So please reach out to me on Twitter(@CuriousNikhil) if you need any help (tag me on your tweets too if you've created anything 😉)

Contributing to k5-compose

As mentioned, this library is a very sketchy port of p5.js. This library mostly leverages the Jetpack Compose Canvas system to draw the objects. Right now, Only the required mathematics and physics to create any generative art, physics engines, simple simulations, etc. is there in the repo. So, any PR related to the k5-compose library regarding enhancing it, adding features, new ideas are welcomed.

  • Just create a separate branch and raise a PR against main.😄

If you are asking what are the next plans, honestly I don't know because I'm also learning this generative art and design system and I'll keep developing it as I dive deeper and deeper. If you have better ideas for it please do feel free to reach out to me on Twitter (@CuriousNikhyl). I would like to discuss.

There are a lot of ideas that can be ported in this library, like

  1. There's one awesome library called matter.js https://brm.io/matter-js/. This deals with 2d rigid bodies. This can be achieved by extending Jetpack Compose Canvas to draw more awesome shapes and bodies.
  2. Also another library called toxiclibs.js http://haptic-data.com/toxiclibsjs catched my eye. This is library for computational design in javascript.
Clone this wiki locally