{"id":13428878,"url":"https://github.com/hypeapps/NoiseView","last_synced_at":"2025-03-16T02:30:51.835Z","repository":{"id":115374315,"uuid":"100386325","full_name":"hypeapps/NoiseView","owner":"hypeapps","description":"Android library written in kotlin that add a noise effect to image.","archived":false,"fork":false,"pushed_at":"2017-08-17T10:53:42.000Z","size":4067,"stargazers_count":45,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-27T06:39:24.342Z","etag":null,"topics":["android-library","customview","imageview","kotlin","kotlin-android","kotlin-library","noise","noiseview"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hypeapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-15T14:34:25.000Z","updated_at":"2024-07-24T11:44:30.000Z","dependencies_parsed_at":"2023-03-10T03:00:19.453Z","dependency_job_id":null,"html_url":"https://github.com/hypeapps/NoiseView","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypeapps%2FNoiseView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypeapps%2FNoiseView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypeapps%2FNoiseView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypeapps%2FNoiseView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypeapps","download_url":"https://codeload.github.com/hypeapps/NoiseView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243815625,"owners_count":20352202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-library","customview","imageview","kotlin","kotlin-android","kotlin-library","noise","noiseview"],"created_at":"2024-07-31T01:01:07.601Z","updated_at":"2025-03-16T02:30:50.325Z","avatar_url":"https://github.com/hypeapps.png","language":"Kotlin","funding_links":[],"categories":["Libraries"],"sub_categories":["Android"],"readme":"# NoiseView [![Build Status](https://travis-ci.org/hypeapps/NoiseView.svg?branch=master)](https://travis-ci.org/hypeapps/NoiseView) [![Download](https://api.bintray.com/packages/hypeapps/maven/NoiseView/images/download.svg)](https://bintray.com/hypeapps/maven/NoiseView/_latestVersion) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-NoiseView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6063) [![Platform](https://img.shields.io/badge/platform-Android-yellow.svg)](https://www.android.com) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\nWith NoiseView you can easily add a noise effect to your image.\n\n![Banner](https://github.com/hypeapps/NoiseView/blob/master/img/noise_view_banner_gif.gif?raw=true)\n\u003ca href=\"https://play.google.com/store/apps/details?id=pl.hypeapp.sample\" target=\"_blank\"\u003e\n\u003cimg src=\"https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png\" alt=\"Get it on Google Play\" height=\"90\"/\u003e\u003c/a\u003e\n\n[See demo on YouTube](https://www.youtube.com/watch?v=UMyPszKGa7o)\n# Setup\nThe library is pushed to jCenter() as an AAR, \nso you just need to add the following to your ***build.gradle*** file:\n\n```groovy\n\ndependencies {\n    compile 'pl.hypeapp:noiseview:1.0'\n}\n\n```\n# Usage\n#### In your xml layout add:\n```xml\n\u003cpl.hypeapp.noiseview.NoiseView\n        android:id=\"@+id/noise_view\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:src=\"@drawable/wheel\" \u003c!-- Specify your drawable--\u003e\n        app:grainFps=\"90\"\n        app:noiseIntensity=\"0.1\"\n        app:noiseScale=\"0.6\"\n        app:paused=\"false\"/\u003e\n```\n#### or programatically:\n```kotlin\nval noiseView: NoiseView = findViewById(R.id.noise_view)\nnoiseView.grainFps = 120 // Default 90\nnoiseView.noiseIntensity = 0.3f // Default 0.1f\nnoiseView.noiseScale = 0.3f // Default 0.6f\nnoiseView.paused = true // Default false\nnoiseView.setImageDrawable(ContextCompat.getDrawable(this, R.drawable.wheel))\n```\nNoiseView extends from ImageView, so it has all of its possibilities.\n\n[Sample that demonstrates usage of library](https://github.com/hypeapps/NoiseView/tree/master/sample/src/main)\n\n[Project where I used NoiseView in production app](https://github.com/hypeapps/episodie)\n\n#### Acknowledgements\nThanks to [danielzeller/Depth](https://github.com/danielzeller/Depth-LIB-Android-) for his awesome demo :)\n# License\n\u003cb\u003eNoiseView\u003c/b\u003e is licensed under `MIT license`. View [license](https://github.com/hypeapps/NoiseView/blob/master/LICENSE).\n\n```\nAuthors:\nPrzemysław Szymkowiak \u003cpszem.szym@gmail.com\u003e\nDaniel Zeller \u003cdaniel@agens.no\u003e\n\nThe MIT License (MIT)\nCopyright (c) 2016 Agens AS (http://agens.no/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypeapps%2FNoiseView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypeapps%2FNoiseView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypeapps%2FNoiseView/lists"}