Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 1.3 KB

File metadata and controls

42 lines (37 loc) · 1.3 KB

Bionic Text

Maven Central

Bionic Text or Bionic Reading means creating “artificial fixation points” within a text by bolding the first part of each word for our eyes to jump between, “guiding the eyes” across the page and letting the brain complete the rest of the word on its own rather than having to stop and see the entirety of every word on a page. This Bionic text is heavily inspired by Bionic Reading

Setup

add maven central repo to your root settings.gradle.kts

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}

add the dependency to your module's build.gradle.kts

dependencies {
    implementation("pro.jayeshseth.madifiers:bionicText:<version>")
}

Sample

BionicText(
    text = "...",
    textAlign = ...,
    modifier = ...,
    fixationStyle = SpanStyle(),
    nonFixationStyle = SpanStyle()
    ...
)

Check Out Working Sample here

Video

bionicText.mp4