Home

Awesome

MSLExamples

Metal Shader Language(MSL) examples.

I took a challenge to keep implementing Metal shaders for 100 days in 2019. This is mainly a port from GLSL Sandbox and ShaderToy. The source is posted on Twitter until the middle of the project, and then uploaded to GitHub from the second half.

At the time I started this project, there were not many sources for MSL, so I think this has increased the number considerably. I hope that MSL will become more widespread and that the range of expression will expand.

2019年に100日間Metalシェーダーを実装し続けるチャレンジをしました。 GLSL Sandboxからの移植やShaderToyからの移植が中心です。 ソースは途中までTwitterに貼り、後半からはGitHubにアップしています。

着手時点ではMSLの動作ソースがあまりなかったのでこれでだいぶ増えたのではないかと思います。 MSLがより普及し表現の幅が拡がることを願って。

https://twitter.com/search?q=%23hundred_days_msl_challenge&src=hashtag_click&f=live

SeeAlso

Day1 - 10


https://user-images.githubusercontent.com/5768361/116844482-28e49f00-ac1e-11eb-8322-b1c8b2ec2502.mp4

image


https://user-images.githubusercontent.com/5768361/116844492-313cda00-ac1e-11eb-8795-c29ecb5ae76a.mp4

image


https://user-images.githubusercontent.com/5768361/116844499-36018e00-ac1e-11eb-9ceb-d65e7ccadfb2.mp4

image


https://user-images.githubusercontent.com/5768361/116844502-369a2480-ac1e-11eb-841e-f7a1d9386dc6.mp4

image


https://user-images.githubusercontent.com/5768361/116844505-369a2480-ac1e-11eb-842a-8adaaac2c310.mp4

image


https://user-images.githubusercontent.com/5768361/116844515-3d289c00-ac1e-11eb-8cc2-90182a1266e8.mp4

image image


https://user-images.githubusercontent.com/5768361/116844531-46b20400-ac1e-11eb-9779-6ff9e0d6fa42.mp4

image


https://user-images.githubusercontent.com/5768361/116844532-487bc780-ac1e-11eb-8a0e-8c9e9916c04a.mp4

image image


https://user-images.githubusercontent.com/5768361/116844533-4ade2180-ac1e-11eb-85e0-7b308daaffa4.mp4

image


https://user-images.githubusercontent.com/5768361/116844535-4ca7e500-ac1e-11eb-9b19-29dc26bb375e.mp4

image


Day11 - 20

https://user-images.githubusercontent.com/5768361/116845281-60544b00-ac20-11eb-8be7-7c0d0203c2c9.mp4

https://user-images.githubusercontent.com/5768361/116845294-6b0ee000-ac20-11eb-951a-8964473d090d.mp4

https://user-images.githubusercontent.com/5768361/116845302-6fd39400-ac20-11eb-9f16-1d70e2c0efd4.mp4

https://user-images.githubusercontent.com/5768361/116845306-7235ee00-ac20-11eb-8fe9-47b359ebdc4b.mp4

https://user-images.githubusercontent.com/5768361/116845307-73671b00-ac20-11eb-8323-98bbad51cb4e.mp4

https://user-images.githubusercontent.com/5768361/116845315-75c97500-ac20-11eb-826e-538364699efe.mp4

https://user-images.githubusercontent.com/5768361/116845318-77933880-ac20-11eb-9527-2b4f8cd13315.mp4

https://user-images.githubusercontent.com/5768361/116845324-78c46580-ac20-11eb-9735-afe876ab0dc6.mp4

https://user-images.githubusercontent.com/5768361/116845327-795cfc00-ac20-11eb-85d0-2fa9fd49084b.mp4

https://user-images.githubusercontent.com/5768361/116845331-7b26bf80-ac20-11eb-8154-962ed36cc389.mp4

Day21 - 30

https://user-images.githubusercontent.com/5768361/116845586-2d5e8700-ac21-11eb-8e43-cf6f03133479.mp4

https://user-images.githubusercontent.com/5768361/116845601-351e2b80-ac21-11eb-8e24-f3cdef634998.mp4

https://user-images.githubusercontent.com/5768361/116845606-36e7ef00-ac21-11eb-90f6-67bf9f7b676b.mp4

https://user-images.githubusercontent.com/5768361/116845609-3baca300-ac21-11eb-8b6f-c64c7d916b2b.mp4

https://user-images.githubusercontent.com/5768361/116845618-40715700-ac21-11eb-8b1c-9331307a4e69.mp4

https://user-images.githubusercontent.com/5768361/116845623-42d3b100-ac21-11eb-8637-62da49fb9597.mp4

https://user-images.githubusercontent.com/5768361/116845627-436c4780-ac21-11eb-88fe-64286709861a.mp4

https://user-images.githubusercontent.com/5768361/116845898-208e6300-ac22-11eb-972a-15e69e7e65de.mp4

https://user-images.githubusercontent.com/5768361/116845908-271cda80-ac22-11eb-9d77-e762ba60405e.mp4

https://user-images.githubusercontent.com/5768361/116845911-284e0780-ac22-11eb-811e-8107d9ff7f61.mp4

Day31 - 40

https://user-images.githubusercontent.com/5768361/116846423-2f294a00-ac23-11eb-9b8b-0b04dcae103e.mp4

https://user-images.githubusercontent.com/5768361/116846447-3a7c7580-ac23-11eb-9aa5-b2daf7033645.mp4

https://user-images.githubusercontent.com/5768361/116846449-3bada280-ac23-11eb-8777-525507d59f26.mp4

https://user-images.githubusercontent.com/5768361/116846462-423c1a00-ac23-11eb-92ad-5a986771f68e.mp4

https://user-images.githubusercontent.com/5768361/116846467-47996480-ac23-11eb-8593-9767714c8257.mp4

https://user-images.githubusercontent.com/5768361/116846495-5a139e00-ac23-11eb-95d0-b473620b13a3.mp4

https://user-images.githubusercontent.com/5768361/116846502-5d0e8e80-ac23-11eb-8e0a-1a9d57358950.mp4

https://user-images.githubusercontent.com/5768361/116846506-5ed85200-ac23-11eb-9901-728d9d3fc005.mp4

https://user-images.githubusercontent.com/5768361/116846514-63046f80-ac23-11eb-83e8-71dda9be6ba4.mp4

https://user-images.githubusercontent.com/5768361/116846523-6697f680-ac23-11eb-9cd3-3bb0356a2084.mp4

Day41 - 50

https://user-images.githubusercontent.com/5768361/116846568-7f081100-ac23-11eb-88e7-43f355e52c0d.mp4

https://user-images.githubusercontent.com/5768361/116846616-a232c080-ac23-11eb-9549-0c1af59717c0.mp4

https://user-images.githubusercontent.com/5768361/116846664-c4c4d980-ac23-11eb-9c75-501fa2748931.mp4

https://user-images.githubusercontent.com/5768361/116846669-c8586080-ac23-11eb-8815-33f528f15b15.mp4

https://user-images.githubusercontent.com/5768361/116846720-eaea7980-ac23-11eb-87ef-92a7dcf822f7.mp4

https://user-images.githubusercontent.com/5768361/116846742-fb025900-ac23-11eb-9a9a-b36ae311620b.mp4

https://user-images.githubusercontent.com/5768361/116846749-05245780-ac24-11eb-95cd-edb8d78db2e7.mp4

https://user-images.githubusercontent.com/5768361/116846752-081f4800-ac24-11eb-86d4-6562321f541f.mp4

https://user-images.githubusercontent.com/5768361/116846757-0b1a3880-ac24-11eb-9c8e-9093fd8c5f4a.mp4

https://user-images.githubusercontent.com/5768361/116846779-15d4cd80-ac24-11eb-8dda-de3587fc675c.mp4

Day51 - 60

https://user-images.githubusercontent.com/5768361/116847140-e70b2700-ac24-11eb-8ea2-6717c7b7184a.mp4

https://user-images.githubusercontent.com/5768361/116847156-f1c5bc00-ac24-11eb-8f2f-646b64de20ab.mp4

https://user-images.githubusercontent.com/5768361/116847162-f4281600-ac24-11eb-832a-650bcf97a504.mp4

https://user-images.githubusercontent.com/5768361/116847169-f5594300-ac24-11eb-9e56-a6d3a9b6b5a7.mp4

https://user-images.githubusercontent.com/5768361/116847170-f7230680-ac24-11eb-946b-ac392350a77e.mp4

https://user-images.githubusercontent.com/5768361/116847174-f8ecca00-ac24-11eb-9ce6-e8f526ee041f.mp4

https://user-images.githubusercontent.com/5768361/116847177-fa1df700-ac24-11eb-97fb-883ece6130ae.mp4

https://user-images.githubusercontent.com/5768361/116847182-fb4f2400-ac24-11eb-8602-09d664dbb58b.mp4

https://user-images.githubusercontent.com/5768361/116847183-fbe7ba80-ac24-11eb-9602-cd2a6fbf4966.mp4

https://user-images.githubusercontent.com/5768361/116847186-fd18e780-ac24-11eb-9c73-37bee8bed292.mp4

Day 61 - 70

https://user-images.githubusercontent.com/5768361/116850372-84695980-ac2b-11eb-93ff-e58bb17dda2c.mp4

https://user-images.githubusercontent.com/5768361/116850409-95b26600-ac2b-11eb-804f-f0431ea32b67.mp4

https://user-images.githubusercontent.com/5768361/116850415-977c2980-ac2b-11eb-83ff-eec931cf7177.mp4

https://user-images.githubusercontent.com/5768361/116850419-99de8380-ac2b-11eb-9016-908dbee513ac.mp4

https://user-images.githubusercontent.com/5768361/116850422-9a771a00-ac2b-11eb-9fbf-d9b1eb0c2a53.mp4

https://user-images.githubusercontent.com/5768361/116850424-9b0fb080-ac2b-11eb-8b77-2fb66eaa3668.mp4

https://user-images.githubusercontent.com/5768361/116850426-9c40dd80-ac2b-11eb-965d-ffeb1b5f178d.mp4

https://user-images.githubusercontent.com/5768361/116850428-9cd97400-ac2b-11eb-81cb-d1f50a98a317.mp4

https://user-images.githubusercontent.com/5768361/116850429-9d720a80-ac2b-11eb-9098-7d280036aff7.mp4

https://user-images.githubusercontent.com/5768361/116850436-9f3bce00-ac2b-11eb-984d-eb832dfb2551.mp4

Day 71 - 80

https://user-images.githubusercontent.com/5768361/116850841-533d5900-ac2c-11eb-9f29-cc5a5be410c7.mp4

https://user-images.githubusercontent.com/5768361/116850896-68b28300-ac2c-11eb-9a1a-26be717470ec.mp4

https://user-images.githubusercontent.com/5768361/116850910-71a35480-ac2c-11eb-9ea3-8e5827c13f3d.mp4

https://user-images.githubusercontent.com/5768361/116850913-736d1800-ac2c-11eb-856c-0091ab4a5f7c.mp4

https://user-images.githubusercontent.com/5768361/116850946-8253ca80-ac2c-11eb-90b1-6d3479dde426.mp4

https://user-images.githubusercontent.com/5768361/116850976-8f70b980-ac2c-11eb-90b3-1077173218a0.mp4

https://user-images.githubusercontent.com/5768361/116851004-9ac3e500-ac2c-11eb-9de5-3625ed8b30b9.mp4

https://user-images.githubusercontent.com/5768361/116851049-add6b500-ac2c-11eb-83de-e5d595ec27fd.mp4

https://user-images.githubusercontent.com/5768361/116851070-b929e080-ac2c-11eb-874e-263d0aa82677.mp4

https://user-images.githubusercontent.com/5768361/116851139-db236300-ac2c-11eb-900a-248803f48b59.mp4

Day 81 - 90

https://user-images.githubusercontent.com/5768361/116851596-9fd56400-ac2d-11eb-97ca-e514a0ee62d4.mp4

https://user-images.githubusercontent.com/5768361/116851677-cabfb800-ac2d-11eb-92f5-7325d6930d33.mp4

https://user-images.githubusercontent.com/5768361/116851710-dd39f180-ac2d-11eb-91f7-d2b815afba61.mp4

https://user-images.githubusercontent.com/5768361/116851727-e7f48680-ac2d-11eb-985d-0b5a6887362d.mp4

https://user-images.githubusercontent.com/5768361/116851818-18d4bb80-ac2e-11eb-89f2-35413aacb632.mp4

https://user-images.githubusercontent.com/5768361/116851822-1a9e7f00-ac2e-11eb-8733-459d8df39397.mp4

https://user-images.githubusercontent.com/5768361/116851831-1ffbc980-ac2e-11eb-99f5-34838159021f.mp4

https://user-images.githubusercontent.com/5768361/116851833-21c58d00-ac2e-11eb-8cce-cc1f238b4504.mp4

https://user-images.githubusercontent.com/5768361/116851840-268a4100-ac2e-11eb-8b04-4eb27f003b12.mp4

https://user-images.githubusercontent.com/5768361/116851845-28ec9b00-ac2e-11eb-8d19-2fb6f3df6007.mp4

Day 91 -100

https://user-images.githubusercontent.com/5768361/116851973-6fda9080-ac2e-11eb-8f38-2670d470dd9f.mp4

https://user-images.githubusercontent.com/5768361/116851993-7a952580-ac2e-11eb-9a5d-e09cf5b7a497.mp4

https://user-images.githubusercontent.com/5768361/116852021-897bd800-ac2e-11eb-991c-742648b2fcf3.mp4

https://user-images.githubusercontent.com/5768361/116852042-926ca980-ac2e-11eb-8f05-4952e024232a.mp4

https://user-images.githubusercontent.com/5768361/116852050-94366d00-ac2e-11eb-8d73-12f9cf9e48bf.mp4

https://user-images.githubusercontent.com/5768361/116852056-9698c700-ac2e-11eb-89ce-d7bcd4bd04e7.mp4

https://user-images.githubusercontent.com/5768361/116854324-7bc85180-ac32-11eb-98b0-7e1c9884d512.mov

https://user-images.githubusercontent.com/5768361/116854031-02c8fa00-ac32-11eb-99e1-9de4fc4e068d.mp4

https://user-images.githubusercontent.com/5768361/116854055-08bedb00-ac32-11eb-99e8-081d4c76f892.mp4

https://user-images.githubusercontent.com/5768361/116854210-4d4a7680-ac32-11eb-843b-9a6191921f9e.mp4

https://user-images.githubusercontent.com/5768361/116854215-4f143a00-ac32-11eb-8a5a-ab5fc7085a28.mp4