Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the algorithm and thread colors dictionary #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrGnost
Copy link
Collaborator

@mrGnost mrGnost commented May 4, 2021

No description provided.

@mrGnost mrGnost requested a review from 0xera as a code owner May 4, 2021 14:02
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
// Reading thread colors dictionary from resources.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

лучше запускать отдельное корутине/потоке

import kotlin.math.min
import kotlin.math.pow

class PixelizationAlgorithm {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class PixelizationAlgorithm {
    companion object {
object PixelizationAlgorithm {
} ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants