Author: FranklyWrong

  • [Little Demos] 03 – The Lunar Terminator Illusion

    14mm, f/9

    What exactly am I demoing today? For one, the nice weather of South Island that I miss already.

    Do note that VSauce / Michael Stevens has covered this topic a while ago. I feel like pointing out that his video might be a better way to learn about what I am going to discuss below.

    The cool thing is that you can perform this practically trivial observation on any sunny day near new moon.


    Let’s get the technicalities sorted first. The Terminator of a celestial object is the boundary between its day and night sides. For us on earth, the most iconic example of a terminator might be the outline of a crescent.

    Moon above Auckland City. FW, November 2018,

    And now we can consider the main question. Whenever you have the moon and sun visible in the sky simultaneously, where does the moon’s terminator face?

    Considering that the sun is the moon’s main light source, the lunar terminator points to the sun, of course. You might think.

    On a wide-angle picture like the one below, you confidently draw the yellow line joining the centres of moon and the sun.

    (Please open in new tab if you need to inspect images more closely.)

    Then you carefully delineate the lunar terminator and extrapolate its perpendicular bisector (blue line) … and realize that they don’t coincide. What happened?

    (Same image, zoomed in)

    The short answer is in the name of the phenomenon — the mismatch is indeed an optical illusion. Well, it fools cameras too, as you’ve seen above, so it is not technically a raptile-brain-trickery, but a window into the nature of vision (no pun intended).

    In this universe, vision — electromagnetic, acoustic, and so on — is the art of projecting (mostly) 3-Dimensional information into a 2-Dimensional perception.

    To do so, our eyes are Perspective, or, to be mathematical, Projective. That’s just a fancy way of saying that all the light from the whole world need to be pointing towards a point (a small area) for them to register. This is different from the Orthographic projection that you probably know and love in geometry lessons.

    Let’s look pay a visit to my trusty old friend, the Blender default cube, in both projection models, from the same angle.

    Perspective Cube
    Orthographic Cube

    Parallel lines in a perspective projection sometimes intersect, and in our world we use this fact to establish a sense of depth. In the sky, or any situation where there is no distance cues, this gift is taken away from us.

    The sun and the moon live on a “dome” in our minds rather than the space with infinite depths. And the “straight line” connecting them appears indeed as a great circle on the dome.

    The sky map corresponding to the pictures above might be able to illustrate this more clearly.

    (Source: WolframAlpha. Image has been rotated to match the photograph.)
  • [Site] FWPhys v1.3 Cover Image Set

    Now the welcome page will play a random slideshow of images. I plan to change them seasonally.

    This season’s theme is solar system with impossible optics (i.e. impractical levels of camera zoom).


    Produced using Space Engine Pro 0.990.40.1813

  • [Little Demos] 01 – Wine Glass Einstein Rings

    Originally written for a friend in late 2016. Updated in 2020 to remove some inaccuracies and humble brags.

    (more…)
  • [Little Demos] 02 – Home Made Laminar Flow

    One of my oldest physics party tricks, now photographed in makeshift home studio.

    (more…)
  • CC2020 – My First 3D Car

    video


    This passion project, along with my (remote) lab duties during daytime, has been my source of joy during quarantine.

    I intend to use this page in a manner similar to my previous build logs of various crafts projects, and to upload pictures regularly as I make progress.

    Things I learned.

    S.T.M.

    • Hermite Interpolation.
    • B-Splines and Catmull-Clark Subdivision Surface Algorithm.(Paper at Berkeley EECS)
    • Using Blender 3D as a Python IDE.
    • Basic Ray-tracing Calculus.

    E. (and Arts)

    • I DREW CAD SCHEMATICS OF A CAR!
    • 3D Camera Movement in a pseudo-cinematic setting.
    • Believable in-engine lighting design.
    • Colour grading (on an iPad so this was a joke).
    • Basic usage of Simulink (R) for aerodynamic simulations… This is more “if” knowledge than “how”.
    • A deeper appreciation of the complexity of a real car. To be fair all I’ve been able to achieve is, physically, a metal box spring-loaded onto 4 bouncy wheels, and all the sub-systems are make-believe.
    (more…)
  • [Photo Story] 2019 Mercury Transit

    2 hours have been sunk in post fx and retouching already, and I think it is good to post this here now.

    (more…)
  • Natural Numbers Between 1 and 100, Represented as Sum of Three Cubes

    It came to me as a shock that the first page of Google failed me when I wanted to show the following information at a party, so I wanted to post my own list.

    It is compiled from Internet News Articles, and Wikipedia.

    Note that in the case of a non-unique solution, preferably, the result with the smallest biggest term was taken. This claim is yet to be fully verified.

    1 = (-1)³ + 1³ + 1³

    2 = 7³ + (-5)³ + (-6)³

    3 = 1³ + 1³ + 1³

    6 = (-1)³ + (-1)³ + 2³

    7 = 104³ + 32³ + (-105)³

    8 = (-1)³ + 1³ + 2³

    9 = 217³ + (-52)³ + (-216)³

    10 = 1³ + 1³ + 2³

    11 = (-2)³ + (-2)³ + 3³

    12 = 7³ + 10³ + (-11)³

    15 = (-1)³ + 2³ + 2³

    16 = (-511)³ + (-1609)³ + 1626³

    17 = 1³ + 2³ + 2³

    18 = (-1)³ + (-2)³ + 3³

    19 = 19³ + (-14)³ + (-16)³

    20 = 1³ + (-2)³ + 3³

    21 = (-11)³ + (-14)³ + 16³

    24 = 2³ + 2³ + 2³

    25 = (-1)³ + (-1)³ + 3³

    26 = 297³ + 161³ + (-312)³

    27 = (-1)³ + 1³ + 3³

    28 = 14³ + 13³ + (-17)³

    29 = 1³ + 1³ + 3³

    30 = (-283059965)³ + (-2218888517)³ + 2220422932³

    33 = 8866128975287528³ + (-8778405442862239)³ + (-2736111468807040)³

    34 = (-1)³ + 2³ + 3³

    35 = 14³ + (-8)³ + (-13)³

    36 = 1³ + 2³ + 3³

    37 = 50³ + 37³ + (-56)³

    38 = 1³ + (-3)³ + 4³

    39 = 117367³ + 134476³ + (-159380)³

    42 = (-80538738812075974)³ + 80435758145817515³ + 12602123297335631³

    43 = 2³ + 2³ + 3³

    44 = (-5)³ + (-7)³ + 8³

    45 = 2³ + (-3)³ + 4³

    46 = (-2)³ + 3³ + 3³

    47 = 6³ + 7³ + (-8)³

    48 = (-23)³ + (-26)³ + 31³

    51 = 602³ + 659³ + (-796)³

    52 = 23961292454³ + 60702901317³ + (-61922712865)³

    53 = (-1)³ + 3³ + 3³

    54 = (-7)³ + (-11)³ + 12³

    55 = 1³ + 3³ + 3³

    56 = (-11)³ + (-21)³ + 22³

    57 = 1³ + (-2)³ + 4³

    60 = (-1)³ + (-4)³ + 5³

    61 = 845³ + 668³ + (-966)³

    62 = 3³ + 3³ + 2³

    63 = 7³ + (-4)³ + (-6)³

    64 = (-1)³ + 1³ + 4³

    65 = 91³ + 85³ + (-111)³

    66 = 1³ + 1³ + 4³

    69 = 2³ + (-4)³ + 5³

    70 = 11³ + 20³ + (-21)³

    71 = (-1)³ + 2³ + 4³

    72 = 7³ + 9³ + (-10)³

    73 = 1³ + 2³ + 4³

    74 = (-284650292555885)³ + (66229832190556)³ + (283450105697727)³

    75 = 4381159³ + 435203083³ + (-435203231)³

    78 = 26³ + 53³ + (-55)³

    79 = (-19)³ + (-33)³ + 35³

    80 = 69241³ + 103532³ + (-112969)³

    81 = 3³ + 3³ + 3³

    82 = (-11)³ + (-11)³ + 14³

    83 = (-2)³ + 3³ + 4³

    84 = (-8241191)³ + (-41531726)³ + 41639611³

    87 = (-1972)³ + (-4126)³ + 4271³

    88 = 3³ + (-4)³ + 5³

    89 = 6³ + 6³ + (-7)³

    90 = (-1)³ + 3³ + 4³

    91 = 364³ + 192³ + (-381)³

    92 = 1³ + 3³ + 4³

    93 = (-5)³ + (-5)³ + 7³

    96 = 10853³ + 13139³ + (-15250)³

    97 = (-1)³ + (-3)³ + 5³

    98 = 14³ + 9³ + (-15)³

    99 = 2³ + 3³ + 4³

    100 = 7³ + (-3)³ + (-6)³

    Numbers that are 4 or 5 (mod 9) cannot be written as three cubes because all natural numbers’ cubes can only be 0, 1 or 8 (mod 9), and with three of them we cannot make a 4 nor a 5.

    EDIT:

    I think that because I’ve opted out of AMP and Ad services on this site, I still won’t make it to first page of Google, even when searching the exact title of this page.