@j_bertolotti@mathstodon.xyz
@j_bertolotti@mathstodon.xyz avatar

j_bertolotti

@j_bertolotti@mathstodon.xyz

Associated Professor of Physics at the University of Exeter.
Scientific visualizations (grouped under the hastag #PhysicsFactlet).
He/lui/on. All opinions are my own fault.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

Working more on the animations while I feel the inspiration. Improved walking cycle, put the instruments in the villagers' hands, added grass cutting & tree chopping.

I love how it immediately feels so much more alive

video/mp4

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@lisyarus I miss the abstract pill-men 😢

j_bertolotti, to godot
@j_bertolotti@mathstodon.xyz avatar

Super-noob question:
I have a very simple 2D platformer with a tilemap to make the background and the platform, and a character with basic movement. I know how to "paint" some of my tiles with the "physics layer" so the character can stand on them etc, but if I try to include a "rigidbody2d", it bounces against my charachter, but passes straight through the floor tiles. Let' s say I am baffled and have no clue which beginner mistake I am making.

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@lisyarus No, no rigid bodies in that tutorial. I have followed it and now I am trying to expand on it, but of course I have no idea what I am doing yet 😬

gregeganSF, (edited ) to random
@gregeganSF@mathstodon.xyz avatar

Every solid object, such as the rods in the image below, has an inertia tensor. We can write the inertia tensor for the black rod, which keeps changing its orientation, as a sum of various multiples of the inertia tensors for the 6 fixed rods. The plot at the bottom shows how these 6 components change as the black rod points in different directions.

But why do we need 6 components? In 3D space, shouldn’t 3 be enough?

To see why we really need 6, let’s look at the inertia tensor. This is a matrix, I, that we use to multiply the angular velocity vector of an object, ω, to get the angular momentum, L.

The velocity of a point mass whose angular velocity is ω is given by:

v = ω × r

where r=(x,y,z) gives the coordinates of the point mass.

The linear momentum is:

p = m v = m ω × r

and the angular momentum is:

L = r × p = m r × (ω × r)

To get the same thing using matrices, note that we can write the cross product of r with any vector like ω as:

r × ω = C(r) ω

where C(r) is the matrix:

0 –z y
z 0 –x
–y x 0

This lets us write:

L = m r × (ω × r)
= –m r × (r × ω)
= –m C(r)^2 ω

Minus the square of the matrix C(r) is:

y^2+z^2 –xy –xz
–xy x^2+z^2 –yz
–xz –yz x^2+y^2

So the inertia tensor for a point mass is:

I = –m C(r)^2

This is the matrix above, multiplied by m.

In general, we add up (or integrate) over all the point masses in the body, to get the inertia tensor for the whole thing.

The inertia tensor we obtain this way will always be a symmetric matrix, so it can be specified with 6 numbers: 3 on the diagonal, and 3 above. So the inertia tensors belong to a 6-dimensional space.

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@gregeganSF This is something that I always struggle to explain to the students (who have never seen a tensor, nor are any good with most of linear algebra by the time I have to tell them about rigid body mechanics).

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar
j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@mina
Best way to learn a topic is to try to teach it to someone else 😉

eniko, to random
@eniko@peoplemaking.games avatar

ive gotten enough practice at kitsune tails during development that maybe i'll speedrun it for a while after it launches

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@eniko As long as you don't use glitches you purposefully left in the game to get your speedrunning times better, I'd say that you should definitively run it, and put your runs somewhere where I can watch them 🙂

gregeganSF, to random
@gregeganSF@mathstodon.xyz avatar

I wasn’t sure if any of these entries were jokes, but the most amusing one checks out as valid:

“A quasigroup with an idempotent element is called a pique ("pointed idempotent quasigroup")”

https://en.wikipedia.org/wiki/Quasigroup

The diagram is from:

https://x.com/arithmoquine/status/1798018671194829070

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@gregeganSF Sorry, but rng stands for "random number generator", and I will die on this hill 🙃

ps
Whoever introduced "magma" in the Math nomenclature wins my neverending admiration.

sio, to random Italian
@sio@livellosegreto.it avatar

Chi se lo sarebbe aspettacchio (io no)

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@sio Tutti hanno tutta la vita davanti. Solo che alcuni ne hanno meno.
<Depression intensifies>

j_bertolotti, to random
@j_bertolotti@mathstodon.xyz avatar

"Businesspeople are smart"
Well, some are and some aren't.
But I have yet to see any correlation between how smart they are and how much their company is valued.
https://arstechnica.com/gadgets/2024/06/report-humane-ai-pin-did-7-million-in-sales-wants-to-sell-for-1-billion

j_bertolotti, (edited ) to random
@j_bertolotti@mathstodon.xyz avatar

In a sense Microsoft is right: schools should take responsibility for GDPR and data protection of their pupils, and stop using Microsoft products.
https://www.engadget.com/eu-accuses-micrsoft-of-secretly-collecting-childrens-data-124141294.html?src=rss

seamsay, to physics
@seamsay@mathstodon.xyz avatar

Anyone on mathstodon got a better answer to this question? I feel like somebody could do better than I did.

https://aus.social/

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@seamsay Already several good answers in that thread. Doesn't seem worthwhile to go and add one more.

j_bertolotti, to random
@j_bertolotti@mathstodon.xyz avatar

: The "Ashcroft/Mermin Project"
I will try to (likely very slowly) go through the classic textbook "Solid State Physics" by Ashcroft and Mermin and make one or more animation/visualization per chapter.
This will (hopefully) help people digest the topic and/or be useful to lecturers who are teaching about it. As with all my animations, feel free to use them.
The idea is that the animations are a companion to the book, so I will give only very brief explanations here.

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

Released into the and uploaded to together with the script used to generate it: https://commons.wikimedia.org/wiki/File:Ashcroft-Reciprocal_Lattice.gif

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

: The "Ashcroft/Mermin Project" Chapter 5: The reciprocal lattice
The "reciprocal" of a Bravais lattice is the set of k-vectors that yield a plane wave with the same periodicity of the Bravais lattice (i.e. effectively the Fourier transform of the lattice).

On the left a Bravais lattice (initially cubic) shown as grey spheres, and on the right its reciprocal lattice. The bRavais lattice is gradually deformed, showing how the reciprocal lattice changes with it.

j_bertolotti, to machinelearning
@j_bertolotti@mathstodon.xyz avatar

If you are looking for a #PhD and are interested in working on #OpticalComputing for #MachineLearning (and to spend some time in the UK and some time in Australia), contact me!
Got the funding but the official advert is not out yet. Will update when it is (but the deadlines are going to be short).

j_bertolotti, to random
@j_bertolotti@mathstodon.xyz avatar


A few days back I finished , and I have opinions.
If you don't know it, Spiritfarer is a 2020 resource management game with some platforming element. The general idea is that you are in a sort of land of the dead, and have to collect the spirits of the departed and take care of them until they feel ready to move on.
Let's start with the positives: this is 100% a "cosy" game with essentially no penalty for failing anything beside the time it takes to try again. It is also beautifully drawn and animated, and the idea that you have to keep piling weirdly shaped buildings on your boat gives it a very distinctive vibe.
Despite the fact that there are a large number of largely anonymous souls "living" in the archipelago the game is set in, you only help a relatively small number, and each of them has a well defined story and personality. The idea is that by the time you finally bring them to the "everdoor", you got attached to them and their departure feels emotional. Does it work? It depends. The souls cover a wide spectrum, and different people will resonate with some and not resonate with other. I personally only really felt for two of them (an old kind lady developing dementia and a young kid), but I understand that different people might get attached to different characters.
The moment to moment gameplay is largely about collecting resources, so you can build stuff that allows you to collect more and different resources. It is not a very original game loop, but it is well done and it works. For about half of the game.
Problem is, while you bring more souls to the everdoor, you have fewer souls to attend to, and after a while you find yourself with a ton of pointless stuff.

toddo, to random
@toddo@sfba.social avatar

One thing: I really wish the MSM would stop saying "hush money to a porn star" and "cover up an affair". He was convicted of ELECTIONS FRAUD. This matters. Having sex (barely consensual if it all) with a porn actor is NOT illegal, nor is lying about it to your wife. Spending campaign money to influence an election by manipulation of information and the media: Illegal. This is about elections and core democratic principles.

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@thisisskaly
Let me guess: you didn't read the post before commenting.
@toddo

vicgrinberg, to random
@vicgrinberg@mastodon.social avatar

I'm amazed by folks who have orderly office cupboard. This is my variant of as cleaned up as it gets 😅

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@vicgrinberg Spoiler: that is clean and ordered enough to be a photo in a furniture catalogue 😜

lisyarus, to random
@lisyarus@mastodon.gamedev.place avatar

In other news, made an icosahedron from coloured magnets

image/jpeg

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@lisyarus Fiddling with those things is so addictive I could never stop long enough to actually make a pattern more complicated than a cube 🤣

MissingThePt, to random
@MissingThePt@mastodon.social avatar

You’ll have to pry my American paper out of my cold, dead hands.

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@MissingThePt To be fully honest, we are very happy for you to keep it.

QuantumWitch, to pixelart
@QuantumWitch@mastodon.gamedev.place avatar

Ren finds a spooky place, in Quantum Witch

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@QuantumWitch Is that witch really quantum? 🤔
oTheirJob 🙃

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

@QuantumWitch Maybe if nobody is looking at her she gets delocalized and spread all over the screen? 🤣

j_bertolotti, to random
@j_bertolotti@mathstodon.xyz avatar


The human eyes have "only" 3 different colour receptors, so multiple spectra can be perceived as the same colour.
(And this without considering all the ways the signal is processed before you actually "see" it.)

On the left, the absorption spectra of the 3 human colour receptors, with a varying spectrum (shown as a black line) on top. On the right a disk coloured with the RGB equivalent of that spectrum.

j_bertolotti,
@j_bertolotti@mathstodon.xyz avatar

Released into the and uploaded to together with the script used to generate it: https://commons.wikimedia.org/wiki/File:ColorVSspectrum.webm

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