Posts by Tags

OAuth 2.0

OAuth 2.0 Authorization Grant Flow w/ Spotify as Example

6 minute read

Published:

Netease Cloud Music is 1 of the 2 most popular music apps in China and I have used it extensively before. But many songs don’t have copyrights here in USA (this is definitely not to say Netease is pirating songs, it’s just that its subscription model only includes copyrights for songs to be played in China) and I don’t want, ironically, to connect to a VPN that fakes my IP in China every time I listen to music. Therefore, I have decided to switch to Spotify. Now the question becomes how to migrate my old playlists on Netease to Spotify: This is infeasible to do manually since a playlist may have hundreds, even thousands of songs. Therefore, I have built the Netease Playlist to Spotify Migrator.

Spotify API

OAuth 2.0 Authorization Grant Flow w/ Spotify as Example

6 minute read

Published:

Netease Cloud Music is 1 of the 2 most popular music apps in China and I have used it extensively before. But many songs don’t have copyrights here in USA (this is definitely not to say Netease is pirating songs, it’s just that its subscription model only includes copyrights for songs to be played in China) and I don’t want, ironically, to connect to a VPN that fakes my IP in China every time I listen to music. Therefore, I have decided to switch to Spotify. Now the question becomes how to migrate my old playlists on Netease to Spotify: This is infeasible to do manually since a playlist may have hundreds, even thousands of songs. Therefore, I have built the Netease Playlist to Spotify Migrator.

camera

On Camera

13 minute read

Published:

Have you wondered how cameras turn an object in 3D space to a 2D image? This post covers the entire process and goes very deep into half of that process. I am writing this post because this is such a simple subject and yet there has not been any post that clearly explains it (mainly due to too-many terminologies with the same meaning, and most posts just analyze math without even telling the basic concepts). I personally struggled a lot on this during my own research, so I hope this post will help whoever sees it in the future.

game engine

On Camera

13 minute read

Published:

Have you wondered how cameras turn an object in 3D space to a 2D image? This post covers the entire process and goes very deep into half of that process. I am writing this post because this is such a simple subject and yet there has not been any post that clearly explains it (mainly due to too-many terminologies with the same meaning, and most posts just analyze math without even telling the basic concepts). I personally struggled a lot on this during my own research, so I hope this post will help whoever sees it in the future.

linear algebra

On Camera

13 minute read

Published:

Have you wondered how cameras turn an object in 3D space to a 2D image? This post covers the entire process and goes very deep into half of that process. I am writing this post because this is such a simple subject and yet there has not been any post that clearly explains it (mainly due to too-many terminologies with the same meaning, and most posts just analyze math without even telling the basic concepts). I personally struggled a lot on this during my own research, so I hope this post will help whoever sees it in the future.

novel view synthesis

On Camera

13 minute read

Published:

Have you wondered how cameras turn an object in 3D space to a 2D image? This post covers the entire process and goes very deep into half of that process. I am writing this post because this is such a simple subject and yet there has not been any post that clearly explains it (mainly due to too-many terminologies with the same meaning, and most posts just analyze math without even telling the basic concepts). I personally struggled a lot on this during my own research, so I hope this post will help whoever sees it in the future.