#splines

Dr Mircea Zloteanu 🌼🐝mzloteanu
2025-05-29

#354 Modeling Non-Linear Associations in Meta-Regression {metafor}

Thoughts: Modelling non-linear effects is easier than you think with splines!

metafor-project.org/doku.php/t

2025-02-02
Arcs and lines toil for #splines

2500 years ago, when they had neither computers nor #CAD tools, designers and architects relied on knowledge of algebra, geometry, and trigonometry for their daily work. It was a mere 350 years ago that Leibniz and Newton brought calculus as a new mathematical tool for design and engineering.

Before computers arrived, artists, designers, and architects toiled with manual drafting tools to engineer breathtaking masterpieces. "Toil" is not an exaggeration to describe that endeavor, even though I suspect some of them really enjoyed what they were doing.

#Scarlata compiled an entire book on #VignolaProportions with painstaking accuracy and high precision before there were calculators and spreadsheets, making it "easy" to convert from µ to physical units in both English and Metric systems, but the world has moved on, his work is forgotten, and nobody is thankful for his contributions.

If you have a CAD tool, you need not toil. Simply draw an arc of radius µ = 144 that is centered on the #columnAxis and passes through point B. Then draw a vertical line parallel to the column axis at x = µ * 5/6, or 120 units. Use this line to split the arc and trim away the left portion of the arc. Next, divide the length of the remaining portion of the arc into 8 equal portions using your CAD tool to mark points 1 through 8 as shown. If your CAD tool is able to divide the leftover arc this way, you can just ignore the angular lines radiating from the center. Otherwise, I will show you how to use them as a fallback.

Now look at point C, which seems like it is vertically above point B, but it is not. It is actually vertically above point 1.

Draw 7 more vertical lines starting with point 1, then point 2, and so on. Mark point C at 192 units vertically above on line 1, D at 192*2 on line 2, E at 192*3 on line 3, and so on until you reach point J.

Select these 8 points and use your CAD program to interpolate a free-form NURBS curve to fit these points.
Rokojorirokojori
2025-01-10

Added spline-to-spline mesh deformation. 🌶 Vertices mapped by distance to splines & their pose + twist. Useful for other procedural generation like tree branches, flowers, plants ☘️🌴🌲🪴🌳 etc. And it's really fun ^^

Karsten Schmidttoxi@mastodon.thi.ng
2024-05-30

Animated versions... (only tweening uniform displacement value)

#ThingUmbrella #Generative #Geometry #Splines #Subdivision

Karsten Schmidttoxi@mastodon.thi.ng
2024-05-30

Added a new[1] configurable curve subdivision kernel for thi.ng/geom to (iteratively) subdivide polygons/polylines with displacement, allowing for super compact code, infinite variation, and beautiful results like shown...

[1] Actually been using this approach since 2010, initially for 3D mesh subdivisions (3rd image)

#ThingUmbrella #Generative #Geometry #Splines #Subdivision #TypeScript #JavaScript

Black circular curve outline with repeated swirly structures created via repeated subvisions of a seed squareBlack-filled circular curve with repeated swirly structures created via repeated subvisions of a seed squareScreenshot of a mesh subdivision tool from 2010. Starting from a single cube, the edges are first successively subdivided and their mid-points displaced with different amplitudes over 7 levels of recursion. With each new level, more details are introduced and create a highly organic looking structure. The mesh vertices were also smoothed using a Laplacian filter...TypeScript source code snippet to generate the 2D curve shown in the first image:

// convert polygon to path of Hobby spline segments
asPath(
    // iteratively subdivide poly
	subdivCurve(
        // create square and convert to polygon
		asPolygon(rect(100))[0],
		[
          	// 1st & 2nd pass: cubic spline subdiv
			SUBDIV_CUBIC_CLOSED,
			SUBDIV_CUBIC_CLOSED,
            // 3rd & 4th pass: subdivide w/ displacements
            // (inserts 2 new points per edge, each point
            // is displaced along the edge normal...)
			SUBDIV_DISPLACE([0, -0.4, 0.4], true),
			SUBDIV_DISPLACE([0, -0.4, 0.4], true)
		]
	),
	{ mode: "hobby" }
)
2024-04-02

Are you very familiar with regression spline functions? Our new ML book has a new Github pull request with spline and polynomial basis expansion materials.

Any review would be appreciated!

github.com/aml4td/website/pull

#rstats #splines

2024-02-27

Do I sound unusually cranky and not at all like a carefree coder/musician?

I'm still working with splines.

Splines are a way to make something follow a path. It sounds so simple. It's in 3D and parallax is a thing.

en.wikipedia.org/wiki/Parallax

There are other considerations. The Path Follow plugin is useful for all sorts of moving things. Its "curve" spline types are piles of fun. Especially if one decides to twist.

OTOH, something on its side can be surfed.

Piles!

#GameDev #UE5 #splines

2024-02-08

I have at last crested the hill!

This is one long rail line. I'm going to move a couple of buildings closer to it.

The class where the line begins spans a large area. I'm still in their area, but will soon border another's castle, and then maybe I'll end it at the cat civilization. They are lousy farmers, and look forward to getting supplies.

An 8K map is big.

I might swap out the castle. Its splines turn walls green. Screw-up with materials. All moss, no wall.

#GameDev #UE5 #RPG #Splines

2024-02-08

Spline day. Making a railroad track in the big RPG. Faster than in real-life, but real-life tracks don't elongate themselves if you click too far ahead. What a world.

#GameDev #UE5 #RPG #Splines

2023-11-25

This is long but amazing to a person with the right combination of interests (like me!): youtube.com/watch?v=jvPPXbo87d
#splines #math #graphics #programming

2023-11-25

'Dimension Reduction and MARS', by Yu Liu LIU, Degui Li, Yingcun Xia.

jmlr.org/papers/v24/22-1422.ht

#multivariate #splines #spline

Art Framer Nathanfineartisan@mas.to
2023-10-10

I've been making some black walnut samples with brass and wooden #splines for a client.

#PictureFraming #ArtFraming #ArtFramer #FineArtFraming

Three walnut corner samples with splines
Coffee (Team CW)Coffee@toot.cafe
2023-07-27

"The Three Laws of Thermodynamic Autistic Motion", also known as "Spins, Spoons, and Splines".

corbden.com/2013/10/splines-th

#ReticulatingSplines #Autism #Aspergers #SpoonTheory #Inertia #Spins #spoons #Splines

2023-06-23

@acegikmo

I think my spline is aching. What happened to the nice, simple cubic splines that I normally use?

#splines #toomuchinput

Josh, or whateverjosh@fakenewsdaddy.com
2023-05-07

I just went on a crazy journey through #splines and I’m exhausted but feeling satisfied. #math #maths

2023-05-01

vimeo.com/822786396
back to evening dev with a nice little problem: how to create a tunnel made of undeformed objects. majority of the roads examples using splines allows a certain distortion of the mesh. this one is trying it's best to avoid overlaps of parts.
next steps: filling the gaps if possible (rotations will make it a lot harder to solve) & animation ;)
#uneal #gamedev #indiedev #creativecoding #3d #splines #geometry

Manos Pitsidianakisepilys@chaos.social
2023-02-06

To convert a freehand drawing to a composite spline, the first step is grouping the input (a list of data points) into segments. This can be done with a corner detecting algorithm. Each segment is then approximated by a spline, e.g. a cubic Bézier.

In this demo you can see a crude implementation of the Masood and Sarfraz algorithm. A "y" glyph is traced with a graphics tablet pen, and detected corner points are shown in red.

#typography #rust #fonts #gerb #splines #bezier #math

Spline mesh based skids rendering into the virtual texturing, colour of the skids will be changed based on wheel colour eventually but for now it’ll remain grey-black! :) #gamedev #unrealengine #UE5 #bricktropolis #splines #virtualtextures #blueprints

2023-01-26

By far the best video i watched this month was Freya Holmer's @acegikmo Continuity of Splines. Awesome for math, CS, game dev students to watch segments, with parts accessible to many different background levels. Extraordinary levels of production and exposition; among the best I've seen. #ITeachMath #Calculus #Geometry #Splines #Art #GameDev youtu.be/jvPPXbo87ds

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst