# harjot-oberai/MaterialShadows

Material Shadows for android : A library for supporting convex material shadows

Repository: https://github.com/harjot-oberai/MaterialShadows
Canonical: https://ross.abutalabs.com/products/materialshadows
Language: Java
License: MIT
License Family: permissive
Topics: android, material, shadows, library, convex-hull, graham-scan-algorithm
Last push: 2020-04-01T18:47:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3384, "days_push": 2345, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2167, forks 197 (observed 2026-08-28T04:06:21.412840+00:00)

## What it is
An Android library that renders convex material design shadows for views of any shape, using bitmap outline extraction and the Graham scan convex hull algorithm. It supports shadow offsets, intensity, semi-transparent views, async calculation, and fade animations.

## Use cases
- add material shadows to arbitrary-shaped views in android
- render shadows for semi-transparent views
- compute convex shadows asynchronously without blocking the ui thread
- animate shadow fade out on android views
- use material shadows in a react native app

## When to choose
- you need shadows that follow the actual convex outline of a view's content
- you want configurable shadow offset, intensity, and animations on android

## When to avoid
- you only need standard rectangular or circular elevation shadows built into android
- your view content is highly concave, since only convex hulls are supported
- you need a library under active development

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, graphics, animation
- domain: mobile-development, android-tools, web-design
- platform: jvm
- tags: material-design, convex-hull, graham-scan, shadows, ui-library, android, mobile

## Member repositories
- harjot-oberai/MaterialShadows (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.412840+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:31.838212+00:00, confidence not recorded.
  - readme: https://github.com/harjot-oberai/MaterialShadows (fetched 2026-08-28T04:06:21.412840+00:00, sha 38be86d64dad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
