{"id":17485746,"url":"https://github.com/arlk/bezier.jl","last_synced_at":"2025-03-28T14:40:52.739Z","repository":{"id":91352204,"uuid":"123525744","full_name":"arlk/Bezier.jl","owner":"arlk","description":"Bezier curve evaluation and subdivision","archived":false,"fork":false,"pushed_at":"2018-03-02T21:03:35.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T14:47:17.279Z","etag":null,"topics":["bezier","evaluation","julia","subdivision"],"latest_commit_sha":null,"homepage":"","language":"Julia","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/arlk.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2018-03-02T03:31:49.000Z","updated_at":"2019-06-07T00:00:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc6af4f2-71b1-4dd1-a5e0-bd573ac9c54f","html_url":"https://github.com/arlk/Bezier.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlk%2FBezier.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlk%2FBezier.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlk%2FBezier.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlk%2FBezier.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arlk","download_url":"https://codeload.github.com/arlk/Bezier.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246049619,"owners_count":20715510,"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":["bezier","evaluation","julia","subdivision"],"created_at":"2024-10-19T02:08:38.620Z","updated_at":"2025-03-28T14:40:52.700Z","avatar_url":"https://github.com/arlk.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bezier\n\n[![Build Status](https://travis-ci.org/arlk/Bezier.jl.svg?branch=master)](https://travis-ci.org/arlk/Bezier.jl) [![codecov](https://codecov.io/gh/arlk/Bezier.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/arlk/Bezier.jl)\n\nThis package provides evaluation and subdivision algorithms for arbitary order Bezier curves.\n\n## Usage\n\nEvaluate curve at `0.5`:\n```julia-repl\njulia\u003e pts = [0.0 1.0 2.0 3.0; 0.0 -1.0 2.0 0.0];\njulia\u003e evalbezier(pts, 0.5)\n2-element Array{Float64,1}:\n  1.5\n  0.375\n```\n\n*Note*: You can perform evaluations much faster if you use [StaticArrays.jl](https://github.com/JuliaArrays/StaticArrays.jl)\n\nEvaluate curve at `0.1:0.01:1.0`:\n```julia-repl\njulia\u003e evalbezier(pts, 0.1:0.01:1.0)\n2×91 Array{Float64,2}:\n  0.3     0.33       0.36       0.39       0.42      …  2.88      2.91      2.94      2.97      3.0\n -0.189  -0.196779  -0.202752  -0.206973  -0.209496     0.216576  0.166743  0.114072  0.058509  0.0\n```\n\nSubdivide curve at `0.5`:\n```julia-repl\njulia\u003e β₁, β₂ = subdivide(pts, 0.5)\n([0.0 0.5 1.0 1.5; 0.0 -0.5 0.0 0.375], [1.5 2.0 2.5 3.0; 0.375 0.75 1.0 0.0])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlk%2Fbezier.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farlk%2Fbezier.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlk%2Fbezier.jl/lists"}