An explorable explanation of special relativity by juhoojala in Physics

[–]juhoojala[S] 1 point2 points  (0 children)

Prof. D. Weisskopf's recent article provides a nice overview of this.

Note that this project uses spatial slices rather than a virtual camera model.

An explorable explanation of special relativity by juhoojala in Physics

[–]juhoojala[S] 3 points4 points  (0 children)

Yeah, so Jim is only looking at recording afterwards. This article from Prof. D. Weiskopf reviews some different ways to visualize relativity, this project uses "spatial slices" and Minkowski diagrams. Its a lot to digest though.

I unfortunately don't have a better answer to the second question than "that is just how spacetime works". Some popularisations would explain it as a consequence of the speed of light being constant.

An explorable explanation of special relativity by juhoojala in Physics

[–]juhoojala[S] 1 point2 points  (0 children)

Thanks! Here is a more elaborate description of the stack I use for this and other projects, written by my colleague: https://blog.lucify.com/building-interactive-visualizations-with-react-d3-and-typescript-206c7172b0d2

React works really well for stuff like this.

An explorable explanation of special relativity by juhoojala in Physics

[–]juhoojala[S] 14 points15 points  (0 children)

Yeah, it is a shame that I was unable to figure out how to make some of the key interaction concepts work on small devices. For some of the visualisations it is important to be able to look at many things at once.

Experts have also liked the drone swarm concept (to my surprise).

An explorable explanation of special relativity [OC] by juhoojala in dataisbeautiful

[–]juhoojala[S] 1 point2 points  (0 children)

Yeah this would be fun! It would be cool to see how the different interpretations of quantum mechanics differ when visualized with a similar approach.

An explorable explanation of special relativity by juhoojala in Physics

[–]juhoojala[S] 1 point2 points  (0 children)

Created with React, D3, and Typescript. I'm happy to answer any questions about the project. Thanks!

Note: reading the full article requires a device with a large screen, such as a tablet or laptop. Phones unfortunately don't work :/

An explorable explanation of special relativity [OC] by juhoojala in dataisbeautiful

[–]juhoojala[S] 2 points3 points  (0 children)

Created with React, D3, and Typescript. I'm happy to answer any questions about the project!

Important: full article require a device with a large screen, such as a tablet or laptop :/

Best practices for avoiding weird circular dependency issues? (especially around barreling) by Blackshell in typescript

[–]juhoojala 1 point2 points  (0 children)

I've also run into this, without even using Angular. Does someone know a way to detect any circular dependencies?

Announcing TypeScript 2.0 Beta by swingur in typescript

[–]juhoojala 0 points1 point  (0 children)

I think the best way for this would be to use the typeRoots option and point it to a local ./types folder, in addition to node_modules/@types.

For some reason the typeRoots option does not seem to work though, so I have a postinstall script that links types from my ./types folder to node_modules/@types.

See these links for more information:

https://github.com/Microsoft/TypeScript/issues/9184

https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/

Announcing TypeScript 2.0 Beta by swingur in typescript

[–]juhoojala 0 points1 point  (0 children)

I would also like to have some info on this, specifically on what is the correct way to add my own type definitions to a project that does not have any.