The code is a small experiment to get started with Odin. It uses Raylib to create a Pop Art inspired color grid with different opacities that changes after specific time.
A settings dialog is provided using Raylib GUI to change some aspects like the number of tiles and change frequency.
![popgrid](https://private-user-images.githubusercontent.com/7067763/327999537-4c5533b6-d953-41bb-a272-99c200fd3c47.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4OTAyMzMsIm5iZiI6MTczODg4OTkzMywicGF0aCI6Ii83MDY3NzYzLzMyNzk5OTUzNy00YzU1MzNiNi1kOTUzLTQxYmItYTI3Mi05OWMyMDBmZDNjNDcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwNyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDdUMDA1ODUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmU5NDRmMjA0NDZmZDM2MGNiM2NkYmE3NjNiMTNhYmMwZDNlMzk1YzljNWIyY2VlMmRiMjkxMzAxNTUxMzFkYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.TedxS73-q94KBs-tC6PrLbycodwKCHNuSankYYij8ec)
popgrid.mp4
You need a working Odin toolchain from https://odin-lang.org.
After this just use:
odin run ./src -out:popgrid
This compiles to a binary called popgrid and executes it.
Press or left mouse button to start from the menu. In normal mode, press to access the settings screen.
Original idea by https://codeberg.org/proto-0/raylib_experiments/src/branch/main/pop_grid