diff --git a/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-27-tom_forsyth-am-i-right-in-thinking-this-is-running-the-entire.md b/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-27-tom_forsyth-am-i-right-in-thinking-this-is-running-the-entire.md new file mode 100644 index 0000000..8ebfcfc --- /dev/null +++ b/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-27-tom_forsyth-am-i-right-in-thinking-this-is-running-the-entire.md @@ -0,0 +1,49 @@ +--- +title: "@mike_acton Am I right in thinking this is running the entire Pico8 program at every pixel and then discarding all but the specific pixel it cares about? This is..." +type: archive +source: twitter +source_url: "https://x.com/tom_forsyth/status/1673486875947053056" +author: "Tom Forsyth (TODO: fix my heart or die)" +handle: tom_forsyth +post_id: "1673486875947053056" +date: 2023-06-27 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - mike_acton +description: "@mike_acton Am I right in thinking this is running the entire Pico8 program at every pixel and then discarding all but the specific pixel it cares about? This is..." +in_reply_to: "" +parent_post_id: "1673485333084913664" +--- + +## Source + +- URL: https://x.com/tom_forsyth/status/1673486875947053056 +- Author: Tom Forsyth (TODO: fix my heart or die) (@tom_forsyth) +- Posted: 2023-06-27 00:22:17 + +## Branch + +**1/** **@tom_forsyth** ^1673486875947053056 + +**@mike_acton** + +Am I right in thinking this is running the entire Pico8 program at every pixel and then discarding all but the specific pixel it cares about? This is... so wrong :-) + +**2/** **@mike_acton** ^1673488140429033472 + +**@tom_forsyth** + +Yes and no. It's doing that for an area that matches the draw area of the pico8 (128x128). Then the actual render view is just a texture lookup. I have a few things I could do to reduce it further, but webgpu doesn't have this constraint so not bothering. + +**3/** **@tom_forsyth** ^1673489657894690816 + +**@mike_acton** + +I did once contemplate writing a ZX Spectrum emulator like this. It is unclear if there is quite enough horsepower to do this at full speed. Maybe if it transpiled the Z80 code rather than emulating it? + +## Related + +- Spine: [[archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua]] diff --git a/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-29-eigenbom-oh-nice-id-love-to-bridge-the-gap-between-my-lua.md b/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-29-eigenbom-oh-nice-id-love-to-bridge-the-gap-between-my-lua.md new file mode 100644 index 0000000..0248eb3 --- /dev/null +++ b/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-29-eigenbom-oh-nice-id-love-to-bridge-the-gap-between-my-lua.md @@ -0,0 +1,37 @@ +--- +title: "@mike_acton @2DArray Oh nice, I'd love to bridge the gap between my lua mesh generator and vertex shader while staying in lua." +type: archive +source: twitter +source_url: "https://x.com/eigenbom/status/1674222819364999168" +author: "Ben Porter" +handle: eigenbom +post_id: "1674222819364999168" +date: 2023-06-29 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - mike_acton +description: "@mike_acton @2DArray Oh nice, I'd love to bridge the gap between my lua mesh generator and vertex shader while staying in lua." +in_reply_to: "" +parent_post_id: "1673189328330317824" +--- + +## Source + +- URL: https://x.com/eigenbom/status/1674222819364999168 +- Author: Ben Porter (@eigenbom) +- Posted: 2023-06-29 01:06:40 + +## Branch + +**1/** **@eigenbom** ^1674222819364999168 + +**@mike_acton** **@2DArray** + +Oh nice, I'd love to bridge the gap between my lua mesh generator and vertex shader while staying in lua. Someday! + +## Related + +- Spine: [[archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua]] diff --git a/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/index.md b/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/index.md new file mode 100644 index 0000000..0aad903 --- /dev/null +++ b/archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/index.md @@ -0,0 +1,68 @@ +--- +title: "Since @2DArray is working on a pico8-to-burst (lua-to-HPC#), I borrowed his parser so I could join the fun." +type: archive +source: twitter +source_url: "https://x.com/mike_acton/status/1673189328330317824" +author: "Mike Acton" +handle: mike_acton +post_id: "1673189328330317824" +date: 2023-06-26 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - mike_acton +description: "Since @2DArray is working on a pico8-to-burst (lua-to-HPC#), I borrowed his parser so I could join the fun." +in_reply_to: "" +--- + +## Source + +- URL: https://x.com/mike_acton/status/1673189328330317824 +- Author: Mike Acton (@mike_acton) +- Posted: 2023-06-26 04:39:56 + +## Thread + +**1/** **@mike_acton** ^1673189328330317824 + +Since @2DArray is working on a pico8-to-burst (lua-to-HPC#), I borrowed his parser so I could join the fun. Let me present my first pass on pico8-to-shadertoy (lua-to-glsl): + + + +Branches: [[archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-29-eigenbom-oh-nice-id-love-to-bridge-the-gap-between-my-lua]] + +**2/** **@mike_acton** ^1673205309941370880 + +Another example: + +![](https://pbs.twimg.com/media/FzhrAI6acAE5aTE?format=png&name=orig) +![](https://pbs.twimg.com/media/FzhrUacakAEAcPJ?format=jpg&name=orig) + +**3/** **@mike_acton** ^1673205359606140931 + + + + + +**4/** **@mike_acton** ^1673210336420446208 + +And @2DArray's goblet tweetjam: + +![](https://pbs.twimg.com/media/Fzhv5UdacAAI8Ii?format=png&name=orig) +![](https://pbs.twimg.com/media/Fzhv7EzaYAAIV7z?format=jpg&name=orig) + +**5/** **@mike_acton** ^1673210413994086400 + + + + + +**6/** **@mike_acton** ^1673485333084913664 + +Fixed a couple of the pico8 specific fiddly bits and it matches the original much better. + + + +Branches: [[archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua/2023-06-27-tom_forsyth-am-i-right-in-thinking-this-is-running-the-entire]] diff --git a/archive/threads/mike_acton/index.md b/archive/threads/mike_acton/index.md index 7451287..6c82a3b 100644 --- a/archive/threads/mike_acton/index.md +++ b/archive/threads/mike_acton/index.md @@ -10,6 +10,8 @@ tags: --- - [[archive/threads/mike_acton/2018-04-25-mike-acton-approximator]] +- [[archive/threads/mike_acton/2023-06-26-since-2darray-is-working-on-a-pico8-to-burst-lua]] +- [[archive/threads/mike_acton/2023-07-01-its-very-easy-to-tell-when-i-named-something]] - [[archive/threads/mike_acton/2023-07-31-by-encouragement-i-think-he-means-10-years-of]] - [[archive/threads/mike_acton/2023-08-03-mike-days-paper-got-me-thinking-about-abusing]] - [[archive/threads/mike_acton/2023-09-11-there-are-thousands-of-articles-introducing-the]]