I did something similar ie llama2.c in a PDF in a PNG before:
https://news.ycombinator.com/item?id=42721805
https://x.com/VulcanIgnis/status/1879649889178837025
The non polyglot ie PDF only versions could run both in chrome and firefox.
I'll have a look at your github, you seem to have done it more elegantly.
AMICABoard•5h ago
I did something similar ie llama2.c in a PDF in a PNG before:
https://news.ycombinator.com/item?id=42721805
https://x.com/VulcanIgnis/status/1879649889178837025
The non polyglot ie PDF only versions could run both in chrome and firefox.
I'll have a look at your github, you seem to have done it more elegantly.