Matthew Arcus

2.2K posts

Matthew Arcus banner
Matthew Arcus

Matthew Arcus

@MatthewArcus

Cambridge, UK Katılım Şubat 2012
98 Takip Edilen495 Takipçiler
Matthew Arcus
Matthew Arcus@MatthewArcus·
@tessellationfan They look like k-uniform tilings, with the duals superimposed (see Grunbaum & Shephard 2.2).
English
0
0
0
39
Matthew Arcus
Matthew Arcus@MatthewArcus·
@tessellationfan Aha, thanks for the link. Not the friendliest website, as you say. Grabbed some of the images & stretched the contrast, which makes things a little easier.
Matthew Arcus tweet mediaMatthew Arcus tweet mediaMatthew Arcus tweet mediaMatthew Arcus tweet media
English
2
0
0
37
David Bailey
David Bailey@tessellationfan·
I've belatedly learned of the 100th anniversary of David Georges Emmerich (1925–1996), a French architect‑engineer and structural theorist, best known for pioneering tensegrity and structural morphology. His essentially unknown studies of tiling deserve far wider recognition.
David Bailey tweet media
English
1
0
5
167
赵亮
赵亮@neozhaoliang·
I've been wanting for about 5 years to do relativistic simulation in Shadertoy, inspired by captaineinstein.org Since Shadertoy supports VR, we could make the scene even crazier—but I kept procrastinating over scene design. Anyone want to battle me on this idea?
English
2
1
3
769
Manu Järvinen
Manu Järvinen@manujarvinen·
@MatthewArcus @tdhooper Hi @tdhooper and @MatthewArcus - I got your Möbius Warp code working for a Godot game engine shader. Would you allow me to use the code for the upcoming Assembly Summer '25 Demo Competition in my Demo? I shall credit you straight in the Demo itself, of course. What do you think?
English
2
0
1
58
Matthew Arcus
Matthew Arcus@MatthewArcus·
@technolapin @iquilezles My code is doing the same thing, but reducing to a 2x3 problem by mapping three points to the reference triangle so only three coefficients are needed and we can just use cross product to get the 3 minors.
English
0
0
1
14
technolapin
technolapin@technolapin·
@MatthewArcus @iquilezles If you also allow the use of 5x6 matrices, you can just build a matrice with lines of the form [x^2 , y^2 , xy , x , y ,1] with (x,y) the coordinate of the points, and its 6 max-size minors will be the coefficients of the conic. It also works for any algebraic curve
English
1
0
1
28
inigo quilez
inigo quilez@iquilezles·
// Any three (non colinear) points define a circle // { .xy=center, .z=radius } vec3 getCircle( vec2 a, vec2 b, vec2 c ) { vec2 ba = b-a, cb = c-b, ac = a-c; float de = ba.x*cb.y-ba.y*cb.x; // zero if colinear vec2 ce = 0.5*(a+b+vec2(ba.y,-ba.x)*dot(ac,cb)/de); return vec3( ce, length(a-ce) ); }
Français
22
82
1.3K
72.9K
Matthew Arcus
Matthew Arcus@MatthewArcus·
@iquilezles Conic through 5 points: mat3 conic(vec3 p, vec3 q, vec3 r, vec3 s, vec3 t) { mat3 a = mat3(cross(q,r),cross(r,p),cross(p,q)); s *= a; t *= a; vec4 m = vec4(cross(s*s.yzx,t*t.yzx),0); mat3 x = mat3(m.wxz,m.xwy,m.zyw); return a*x*transpose(a); } x.com/shawn_halayka/…
Shawn Halayka@shawn_halayka

@iquilezles Do you have a similar function called getEllipse? Thank you for your time and guidance.

Français
5
1
9
426
Matthew Arcus
Matthew Arcus@MatthewArcus·
@shawn_halayka @iquilezles Well, my code is intended to be GLSL, but for C++, looks like glm doesn't like *= for matrices, but s = s*a seems to work (note order, this is same as s = transpose(a)*s). Swizzling might cause problems too, but you can use eg. yzx(s) instead of s.yzx etc.).
English
0
1
1
75
Shawn Halayka
Shawn Halayka@shawn_halayka·
@MatthewArcus @iquilezles Hi Matthew, I'm having trouble compiling the code. I'm using MSVC and C++20. It has to do with the statements s *= a; t *= a. Basically, it's telling me that it's having problems casting. I am using glm as the matrix/vector library.
English
1
0
0
75
Matthew Arcus
Matthew Arcus@MatthewArcus·
@neozhaoliang Nice. My C++ code takes about 2 minutes, but I'm impressed that the slowdown from using Python isn't more.
English
0
0
1
35
赵亮
赵亮@neozhaoliang·
Python 代码已经更新了,换成了 dlx。我试了下,两个多小时就可以搜索到全部 1082785 个解。
赵亮@neozhaoliang

又学到了。有大佬 @MatthewArcus 已经指出,这个问题可以用 Knuth 的 dancing links 算法解决,并且他还算出了解的个数是 1082785 个。而我的 Python 程序傻傻的跑了三周才找到 3500 个解。。。还好我已经把它 kill 掉了。 github.com/matthewarcus/d… Knuth 也是真大神,这种问题也能遇到他。

中文
2
1
6
778
Vincent Pantaloni
Vincent Pantaloni@VPantaloni·
2025 = (1+2+3+4+5+6+7+8+9)² = 1³+2³+3³+4³+5³+6³+7³+8³+9³ #MathGIF
GIF
4
88
260
17K
Matthew Arcus
Matthew Arcus@MatthewArcus·
@panlepan Nice. That seems to be the only way to make 2025 as the sum of two squares (so in fact it's the sum of a 4th power and a 6th power).
English
1
0
0
96
Okan Atalay
Okan Atalay@OkanAtalay1970·
@MatthewArcus @gs_bangalore I hope this helps. Notice the central angle of 90 degrees and the inscribed angle of 45 degrees, both having the same arc of the circle.
Okan Atalay tweet media
English
3
3
7
412
Matthew Arcus
Matthew Arcus@MatthewArcus·
@OkanAtalay1970 @gs_bangalore Nice, but I can't see how to show that these two lengths are equal (I'm a bit out of practise with these puzzles, so I'm probably missing something obvious):
Matthew Arcus tweet media
English
1
0
2
67
Okan Atalay
Okan Atalay@OkanAtalay1970·
@gs_bangalore Here is a geometrical solution other than a trigonometric one.
Okan Atalay tweet media
English
2
1
5
137
Matthew Arcus
Matthew Arcus@MatthewArcus·
@panlepan Nice. Can you do something with 2025 = 1³+2³+3³+4³+5³+6³+7³+8³+9³ ( = (1+2+3+4+5+6+7+8+9)²) ?
English
1
0
3
39
Steve Trettel
Steve Trettel@stevejtrettel·
@MatthewArcus Cool! That’s what I was imagining! Measure distance to points in S2 (after the hopf map) gives distance to fibers in S3 👍👍
English
1
0
0
44
Steve Trettel
Steve Trettel@stevejtrettel·
The hopf fibration associates every point in the 2 sphere with a great circle in the 3 sphere. Thus an interval in the sphere corresponds to an intervals worth of circles - an annulus, embedded as a seifert surface for the hopf link.
Steve Trettel tweet media
English
2
12
111
5.7K