René's URL Explorer Experiment


Title: (feat) Hobby Splines by cuttlefisch · Pull Request #209 · SolidCode/SolidPython · GitHub

Open Graph Title: (feat) Hobby Splines by cuttlefisch · Pull Request #209 · SolidCode/SolidPython

X Title: (feat) Hobby Splines by cuttlefisch · Pull Request #209 · SolidCode/SolidPython

Description: Goal Implement Hobby Splines inspired by Jake Low's post Hobby’s algorithm for aesthetic Bézier splines that "render down" to bezier curves. Functionality Use hobby_point function to create a list in the form of [Knot, Control Control, Knot,... ] representing knots and controls for bezier curves defined using hobby's algorithm. Control whether curves are open or closed using the close_loop boolean. The curve from the last knot point to the first is generated regardless of close_loop so that the tangents at the first and last knot point are those of the closed hobby spline; this helps keep the curves round and aesthetic. To generate the resulting hobby points the final segment of the curve is set to the closed loop curve is appended if the curve is closed, otherwise only the final point is appended. Changes Add hobby_points function to splines in order to generate bezier curves following Hobby's algorithm. Add new example file hobby_splines_example.py with open & closed hobby splines & their polygon projections Add tests for hobby_points to test_splines.py for open hobby splines using bezier_controls in raw, Point2, and Point3 forms Examples Create hobby curve examples by running hobby_splines_example.py. Testing Test changes using test_splines.py.

Open Graph Description: Goal Implement Hobby Splines inspired by Jake Low's post Hobby’s algorithm for aesthetic Bézier splines that "render down" to bezier curves. Functionality Use hobby_point function to...

X Description: Goal Implement Hobby Splines inspired by Jake Low's post Hobby’s algorithm for aesthetic Bézier splines that "render down" to bezier curves. Functionality Use hobby_point...

Opengraph URL: https://github.com/SolidCode/SolidPython/pull/209

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6a7e9e40-3fde-7767-9df9-b5f835276cfa
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCC1A:107183:4C1BC1:677D11:69700557
html-safe-noncec946bb151ca46875c3ad30404d478192d35e8370bcf83b47dcefedff2a89084c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzFBOjEwNzE4Mzo0QzFCQzE6Njc3RDExOjY5NzAwNTU3IiwidmlzaXRvcl9pZCI6IjI2NDg1MTkxNjI4MzIzNTY2OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac06b03043403c9acaa96b778e41753c29f26bf46703e06172ed8704a41da241b6
hovercard-subject-tagpull_request:1864416862
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/SolidCode/SolidPython/pull/209/files
twitter:imagehttps://avatars.githubusercontent.com/u/33015950?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/33015950?s=400&v=4
og:image:altGoal Implement Hobby Splines inspired by Jake Low's post Hobby’s algorithm for aesthetic Bézier splines that "render down" to bezier curves. Functionality Use hobby_point function to...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0366807b865cee6776368231232f84d6c8096e6bce43f701a4fb28ea795ec427
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/SolidCode/SolidPython git https://github.com/SolidCode/SolidPython.git
octolytics-dimension-user_id622839
octolytics-dimension-user_loginSolidCode
octolytics-dimension-repository_id1377446
octolytics-dimension-repository_nwoSolidCode/SolidPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1377446
octolytics-dimension-repository_network_root_nwoSolidCode/SolidPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release33f356bb2fb58726ccb2f26395bf8ddc9a2d9eaa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSolidCode%2FSolidPython%2Fpull%2F209%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSolidCode%2FSolidPython%2Fpull%2F209%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=SolidCode%2FSolidPython
Reloadhttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
Reloadhttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
Reloadhttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
SolidCode https://patch-diff.githubusercontent.com/SolidCode
SolidPythonhttps://patch-diff.githubusercontent.com/SolidCode/SolidPython
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FSolidCode%2FSolidPython
Fork 189 https://patch-diff.githubusercontent.com/login?return_to=%2FSolidCode%2FSolidPython
Star 1.2k https://patch-diff.githubusercontent.com/login?return_to=%2FSolidCode%2FSolidPython
Code https://patch-diff.githubusercontent.com/SolidCode/SolidPython
Issues 27 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/issues
Pull requests 6 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pulls
Actions https://patch-diff.githubusercontent.com/SolidCode/SolidPython/actions
Projects 0 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/projects
Wiki https://patch-diff.githubusercontent.com/SolidCode/SolidPython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/SolidCode/SolidPython/security
Please reload this pagehttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
Insights https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pulse
Code https://patch-diff.githubusercontent.com/SolidCode/SolidPython
Issues https://patch-diff.githubusercontent.com/SolidCode/SolidPython/issues
Pull requests https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pulls
Actions https://patch-diff.githubusercontent.com/SolidCode/SolidPython/actions
Projects https://patch-diff.githubusercontent.com/SolidCode/SolidPython/projects
Wiki https://patch-diff.githubusercontent.com/SolidCode/SolidPython/wiki
Security https://patch-diff.githubusercontent.com/SolidCode/SolidPython/security
Insights https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FSolidCode%2FSolidPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FSolidCode%2FSolidPython%2Fissues%2Fnew%2Fchoose
cuttlefischhttps://patch-diff.githubusercontent.com/cuttlefisch
SolidCode:masterhttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/tree/master
cuttlefisch:feat/hobby_splineshttps://patch-diff.githubusercontent.com/cuttlefisch/SolidPython/tree/feat/hobby_splines
Conversation 2 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209
Commits 16 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits
Checks 0 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/checks
Files changed https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
Please reload this pagehttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
(feat) Hobby Splines https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#top
Show all changes 16 commits https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
fa9745d check in wip code for first hobby splines May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/fa9745d8058657e92078ebeaffd76b8d2dcc782f
7438d2c fix optional closed loop in 3d May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/7438d2cb9481ba1fc5afe1564bc9a6cceb033953
2629678 set correct unit test values May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/2629678099863ec7a4245d54ddeb77177d21b05b
7184d55 fix OBOB in hobby results, cleanup May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/7184d550a102e6b355fdf429d0a4686340ee04b2
f126178 remove old debug output May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/f12617833db900b73fcd1e970100c495fe34875f
8af9491 initial hobby splines examples May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/8af9491251347e746cebbd195e058e65271ebdf3
eb7e8fd clarify return type and function purpose May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/eb7e8fde51896079b1db0feb45d08808a7abe8a7
6267314 cleanup open vs closed loop results May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/6267314b970ac5a2fd50a44ec8b2a62198934429
3511b47 curvier example, fix pytest expected path May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/3511b4765bcce022ed396699f91acdb56b8b32f5
68e4166 remove unwanted pudb import May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/68e4166d9ecdd1737cda30163f20b5538cff1833
d77180a undo formatting-only applied in development May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/d77180ad33f4af8141f740463a61a6532d307610
9e39c3d cleanup gathering points in open vs closed loop May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/9e39c3db19dd8f7f6f0a131353c914dc50d82c6b
d279c22 Merge remote-tracking branch 'origin/dev' into dev May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/d279c227adc3e2415f130220ad0b4cd01b1fc86a
ac2d583 fix wording in comment May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/ac2d58386cf66ce8600c52d3663131ac838c692e
4be9122 Merge pull request #1 from cuttlefisch/dev cuttlefisch May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/4be912222ea9e92c136625fa98ffd36db99a38a9
1d07fa3 bump version May 10, 2024 https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/commits/1d07fa3df2ff8279325a88b7406832ec13504d6a
Clear filters https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
Please reload this pagehttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
Please reload this pagehttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
pyproject.toml https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
hobby_splines_example.py https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-2bf61f20dd68c1a051cb74906a18ebe87bfe4b366a5d068d16e276e1e80e8f3a
solidpython.py https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-04aa431f6fc70be220e9ebaa3752be7b39c14c552e2405b15e665417a39704ee
splines.py https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-f4e58665cf141a6c4733b38fa45f4d8c38c53fb998df410d41a2287ed2d2ee8e
test_splines.py https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-34c319cfbd2ad7654b5f172e3106a598f1cd847722d3876c946a66069972d0b1
pyproject.tomlhttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://patch-diff.githubusercontent.com/SolidCode/SolidPython/blob/1d07fa3df2ff8279325a88b7406832ec13504d6a/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
solid/examples/hobby_splines_example.pyhttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files#diff-2bf61f20dd68c1a051cb74906a18ebe87bfe4b366a5d068d16e276e1e80e8f3a
View file https://patch-diff.githubusercontent.com/SolidCode/SolidPython/blob/1d07fa3df2ff8279325a88b7406832ec13504d6a/solid/examples/hobby_splines_example.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/{{ revealButtonHref }}
Please reload this pagehttps://patch-diff.githubusercontent.com/SolidCode/SolidPython/pull/209/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.