Merge Sort A Rainbow

preview_player
Показать описание
Merge Sort 200 different colors in under 30 seconds. #shorts

This was done using python & pygame

All code
# Copyright 2021 Google LLC
# SPDX-License-Identifier: Apache-2.0

The inspiration for this code was this github repo

For this,

and I used this algorithm to turn a wavelength into an RGB color

The merge sort is a divide and conquer algorithm that is n log n time. This implementation is done in place with two extra lists to hold the data that is being merged

Rainbow thumbnail image by sutulo
Рекомендации по теме
Комментарии
Автор

This video is probably gonna get recommended to everyone in a while

GIGI
Автор

bet this will be recommended to everyone hahaha

ThoseFerrets
Автор

Hello and thanks for this awesome video!

You will get lots of people around you!

andreiiaz