dpiponi,
@dpiponi@mathstodon.xyz avatar

Here's an animation generated by simulating the 2D wave equation kicked off with a Dirac delta pulse. Periodic boundary conditions.

But let's say we want the field value to be as high as possible at a particular point in space at a chosen future moment in time...

video/mp4

dpiponi,
@dpiponi@mathstodon.xyz avatar

Let's use gradient descent to optimise the "refractive index" at each point in a square in the middle. After a few iterations we get the following (grey) refractive index leading to the following simulation. Note how it all conspires to arrive at the right point...

video/mp4

dpiponi,
@dpiponi@mathstodon.xyz avatar

You could solve this problem using automatic differentiation. It's a lot like training a convolutional neural net because a single time step here is essentially a (spatially varying) convolution and you're optimising the parameters that determine a long sequence of such convolutions...

dpiponi,
@dpiponi@mathstodon.xyz avatar

In this example I think (not 100% sure) the optimization has tried to construct elliptical mirrors with the start and end at the foci to focus the "direct" wave and parabolic mirrors at the ends to focus the waves that wrap around the domain...

dpiponi,
@dpiponi@mathstodon.xyz avatar

But this is much the same problem seismologists solve - finding the material properties based on what signals arrive where from a source. And seismologists were doing this long before convolutional neural nets were invented. So I thought I'd try something closer to what they do. It's also more insightful than just using AD which is something of a black box.

Anyway, here's the result of solving the same problem but getting the focus to happen much later. There's a sort of fractally refractive index now...

video/mp4

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • khanakhh
  • DreamBathrooms
  • ethstaker
  • magazineikmin
  • osvaldo12
  • Durango
  • Youngstown
  • ngwrru68w68
  • slotface
  • rosin
  • mdbf
  • kavyap
  • InstantRegret
  • tester
  • JUstTest
  • thenastyranch
  • cisconetworking
  • tacticalgear
  • cubers
  • everett
  • modclub
  • GTA5RPClips
  • anitta
  • Leos
  • provamag3
  • normalnudes
  • megavids
  • lostlight
  • All magazines