{"id":13643648,"url":"https://github.com/IntruderShanky/Frisson","last_synced_at":"2025-04-21T02:30:58.993Z","repository":{"id":144171723,"uuid":"70453395","full_name":"IntruderShanky/Frisson","owner":"IntruderShanky","description":"Provide Funky cuts on image (The Perfect Header for Profile UI)","archived":false,"fork":false,"pushed_at":"2019-02-18T05:45:59.000Z","size":4089,"stargazers_count":405,"open_issues_count":3,"forks_count":93,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-11-09T15:43:18.010Z","etag":null,"topics":["funky-cuts","profile-ui","tides","wave-view"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntruderShanky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-10-10T04:59:13.000Z","updated_at":"2024-10-24T14:52:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2881c79-7ce0-4006-84b3-23823933ea3d","html_url":"https://github.com/IntruderShanky/Frisson","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntruderShanky%2FFrisson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntruderShanky%2FFrisson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntruderShanky%2FFrisson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntruderShanky%2FFrisson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntruderShanky","download_url":"https://codeload.github.com/IntruderShanky/Frisson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249986044,"owners_count":21356313,"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":["funky-cuts","profile-ui","tides","wave-view"],"created_at":"2024-08-02T01:01:50.721Z","updated_at":"2025-04-21T02:30:53.984Z","avatar_url":"https://github.com/IntruderShanky.png","language":"Java","funding_links":[],"categories":["ImageView"],"sub_categories":[],"readme":"# Frisson\nProvide Funky cuts on image (The Perfect Header for Profile UI) \n\n[![API](https://img.shields.io/badge/API-9%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=9)  [![](https://jitpack.io/v/IntruderShanky/FunkyHeader.svg)](https://jitpack.io/#IntruderShanky/FunkyHeader)\n\n**[Demo App - IS Library]**\n\n\u003ca href='https://play.google.com/store/apps/details?id=com.intrusoft.islibrarydemo\u0026utm_source=global_co\u0026utm_small=prtnr\u0026utm_content=Mar2515\u0026utm_campaign=PartBadge\u0026pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'\u003e\u003cimg alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width=\"193\" height=\"75\"/\u003e\u003c/a\u003e\n\n![Screenshot](graphic/frisson.png)\n\n# Overview\n**Frisson** provide following features:\n\n* **Funky Cuts**: Provide Funky cuts on the bottom of the view. \n* **Customizable**: custom settings of cuts\n* **Gradient** : Add gradient on the view.\n\n# Usage\nStep 1. Add the JitPack repository to your build file\n```groovy\nallprojects {\n        repositories {\n            ...\n            maven { url \"https://jitpack.io\" }\n        }\n    }\n```\nStep 2. Add the dependency\n```groovy\ndependencies {\n  compile 'com.github.IntruderShanky:Frisson:2.1.1'\n }\n ```\n# Implementation\n### XML Implementation:\n```xml\n  \u003ccom.intrusoft.library.FrissonView\n        android:id=\"@+id/wave_head\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"400dp\"\n        frisson:alphaValue=\"50\"\n        frisson:tintColor=\"#000000\"\n        frisson:gradientType=\"radial\"\n        frisson:gradient_endColor=\"#cc000000\"\n        frisson:gradient_startColor=\"#00000000\"\n        frisson:src=\"@drawable/your_photo\"\n        frisson:tideCount=\"3\"\n        frisson:tideHeight=\"40dp\" /\u003e\n```\n## Implementation with **[Glide]**\n```java\nGlide.with(context)\n                .load(URL)\n                .asBitmap()\n                .into(new SimpleTarget\u003cBitmap\u003e(SimpleTarget.SIZE_ORIGINAL, SimpleTarget.SIZE_ORIGINAL) {\n                    @Override\n                    public void onResourceReady(Bitmap bitmap, GlideAnimation anim) {\n                        frissonView.setBitmap(bitmap);\n                    }\n                });\n```\n![Screenshot](graphic/frisson_barney.png)\n### Attributes\n#### Image ScaleType\n```xml\nfrisson:scaleType=\"centerCrop\"\nfrisson:scaleType=\"fitXY\"\n```\n#### Image Drawable Resource\n```xml\nfrisson:src=\"@drawable/your_image\"\n```\n#### Background Tint Color\n```xml\nfrisson:tintColor=\"@color/your_color\"\n```\n#### Alpha Value (Ranges from 0 to 255) Default Value: 50\n```xml\nfrisson:alphaValue=\"value\"\n```\n#### Auto Tint (Pick automatically tint color from image)\n```xml\nfrisson:autoTint=\"true\"\n```\n#### Tide Height (Height of waves)\n```xml\nfrisson:tideHeight=\"50dp\"\n```\n#### Tide Count (No. of Tides)\n```xml\nfrisson:tideCount=\"3\"\n```\n#### Gradient Type\n```xml\nfrisson:gradientType=\"linear\"\nfrisson:gradientType=\"radial\"\n```\n\n#### Gradient Color\n```xml\nfrisson:gradient_endColor=\"#cc000000\"\nfrisson:gradient_startColor=\"#00000000\"\n```\n\n#### Gradient Angle (Works with Linear type Gradient)\n```xml\nfrisson:gradientAngle=\"180\"\n```\n![Screenshot](graphic/frisson_demo1.png)\n\n### Java Implementation:\n```java\nFrissonView frissonView = (FrissonView) findViewById(R.id.frisson_view);\n\n// to set image from resources        \nfrissonView.setImageSource(R.drawable.your_image);\n\n// to set bitmap\nfrissonView.setBitmap(bitmap);\n\n// to set the background color (color should have some alpha val)\nfrissonView.setColorTint(Color.GREEN);\n```\n\n![Screenshot](graphic/frisson_demo.png)\n# Licence\n```\nCopyright (c) 2016 Aakash Jain\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\n[Glide]:\t\thttps://github.com/bumptech/glide\n[Demo App - IS Library]: https://play.google.com/store/apps/details?id=com.intrusoft.islibrarydemo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntruderShanky%2FFrisson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIntruderShanky%2FFrisson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntruderShanky%2FFrisson/lists"}