{"id":20767734,"url":"https://github.com/dmnsgn/inverse-smoothstep","last_synced_at":"2026-03-07T14:01:15.557Z","repository":{"id":229378408,"uuid":"776590478","full_name":"dmnsgn/inverse-smoothstep","owner":"dmnsgn","description":"The inverse of the smoothstep function.","archived":false,"fork":false,"pushed_at":"2024-07-06T14:11:15.000Z","size":243,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-28T14:49:52.437Z","etag":null,"topics":["interpolation","inverse-smoothstep","smoothstep"],"latest_commit_sha":null,"homepage":"https://dmnsgn.github.io/inverse-smoothstep/","language":"JavaScript","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/dmnsgn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://paypal.me/dmnsgn","https://commerce.coinbase.com/checkout/56cbdf28-e323-48d8-9c98-7019e72c97f3"]}},"created_at":"2024-03-23T23:21:51.000Z","updated_at":"2024-07-06T14:11:18.000Z","dependencies_parsed_at":"2024-03-23T23:24:53.147Z","dependency_job_id":"68980f71-316b-4452-bc35-404708420d6d","html_url":"https://github.com/dmnsgn/inverse-smoothstep","commit_stats":null,"previous_names":["dmnsgn/inverse-smoothstep"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dmnsgn/inverse-smoothstep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Finverse-smoothstep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Finverse-smoothstep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Finverse-smoothstep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Finverse-smoothstep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dmnsgn","download_url":"https://codeload.github.com/dmnsgn/inverse-smoothstep/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dmnsgn%2Finverse-smoothstep/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30216489,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T13:35:13.914Z","status":"ssl_error","status_checked_at":"2026-03-07T13:35:13.569Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["interpolation","inverse-smoothstep","smoothstep"],"created_at":"2024-11-17T11:33:11.167Z","updated_at":"2026-03-07T14:01:15.516Z","avatar_url":"https://github.com/dmnsgn.png","language":"JavaScript","funding_links":["https://paypal.me/dmnsgn","https://commerce.coinbase.com/checkout/56cbdf28-e323-48d8-9c98-7019e72c97f3"],"categories":[],"sub_categories":[],"readme":"# inverse-smoothstep\n\n[![npm version](https://img.shields.io/npm/v/inverse-smoothstep)](https://www.npmjs.com/package/inverse-smoothstep)\n[![stability-stable](https://img.shields.io/badge/stability-stable-green.svg)](https://www.npmjs.com/package/inverse-smoothstep)\n[![npm minzipped size](https://img.shields.io/bundlephobia/minzip/inverse-smoothstep)](https://bundlephobia.com/package/inverse-smoothstep)\n[![dependencies](https://img.shields.io/librariesio/release/npm/inverse-smoothstep)](https://github.com/dmnsgn/inverse-smoothstep/blob/main/package.json)\n[![types](https://img.shields.io/npm/types/inverse-smoothstep)](https://github.com/microsoft/TypeScript)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-fa6673.svg)](https://conventionalcommits.org)\n[![styled with prettier](https://img.shields.io/badge/styled_with-Prettier-f8bc45.svg?logo=prettier)](https://github.com/prettier/prettier)\n[![linted with eslint](https://img.shields.io/badge/linted_with-ES_Lint-4B32C3.svg?logo=eslint)](https://github.com/eslint/eslint)\n[![license](https://img.shields.io/github/license/dmnsgn/inverse-smoothstep)](https://github.com/dmnsgn/inverse-smoothstep/blob/main/LICENSE.md)\n\nThe inverse of the smoothstep function.\n\n[![paypal](https://img.shields.io/badge/donate-paypal-informational?logo=paypal)](https://paypal.me/dmnsgn)\n[![coinbase](https://img.shields.io/badge/donate-coinbase-informational?logo=coinbase)](https://commerce.coinbase.com/checkout/56cbdf28-e323-48d8-9c98-7019e72c97f3)\n[![twitter](https://img.shields.io/twitter/follow/dmnsgn?style=social)](https://twitter.com/dmnsgn)\n\nBased on [Inigo Quilez](https://iquilezles.org/articles/ismoothstep/).\n\n![](https://raw.githubusercontent.com/dmnsgn/inverse-smoothstep/main/screenshot.png)\n\n## Installation\n\n```bash\nnpm install inverse-smoothstep\n```\n\n## Usage\n\n```js\nimport inverseSmoothstep from \"inverse-smoothstep\";\n\ninverseSmoothstep(0.5);\n// =\u003e 0.5\n\ninverseSmoothstep(0.75)\n// =\u003e 0.6736481776669303\n```\n\n## API\n\n\u003c!-- api-start --\u003e\n\n\u003ca name=\"module_inverseSmoothstep\"\u003e\u003c/a\u003e\n\n## inverseSmoothstep\n\n\u003ca name=\"exp_module_inverseSmoothstep--inverseSmoothstep\"\u003e\u003c/a\u003e\n\n### inverseSmoothstep(x) ⇒ \u003ccode\u003enumber\u003c/code\u003e ⏏\n\nThe inverse of the smoothstep function\n\n**Kind**: Exported function\n\n| Param | Type                |\n| ----- | ------------------- |\n| x     | \u003ccode\u003enumber\u003c/code\u003e |\n\n\u003c!-- api-end --\u003e\n\n## License\n\nMIT. See [license file](https://github.com/dmnsgn/inverse-smoothstep/blob/main/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmnsgn%2Finverse-smoothstep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdmnsgn%2Finverse-smoothstep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdmnsgn%2Finverse-smoothstep/lists"}