1673189328330317824
This commit is contained in:
1 parent
b1d675b089
commit
20adbbf8f0
4 files changed
+156
No files matched your search
+49
@@ -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]]
|
||||||
+37
@@ -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]]
|
||||||
+68
@@ -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):
|
||||||
|
|
||||||
|
<video controls src="https://video.twimg.com/ext_tw_video/1673189294104793093/pu/vid/1188x720/OwLuoqTh9pIcRaha.mp4?tag=12"></video>
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
**3/** **@mike_acton** ^1673205359606140931
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<video controls src="https://video.twimg.com/ext_tw_video/1673205325082791938/pu/vid/1176x720/Q76SypTS6wzsREVd.mp4?tag=12"></video>
|
||||||
|
|
||||||
|
**4/** **@mike_acton** ^1673210336420446208
|
||||||
|
|
||||||
|
And @2DArray's goblet tweetjam:
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
|
**5/** **@mike_acton** ^1673210413994086400
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<video controls src="https://video.twimg.com/ext_tw_video/1673210381983170560/pu/vid/1166x720/hycaxEA76IEjNZMw.mp4?tag=12"></video>
|
||||||
|
|
||||||
|
**6/** **@mike_acton** ^1673485333084913664
|
||||||
|
|
||||||
|
Fixed a couple of the pico8 specific fiddly bits and it matches the original much better.
|
||||||
|
|
||||||
|
<video controls src="https://video.twimg.com/ext_tw_video/1673485045036892160/pu/vid/1174x720/4kJOfuvKojhEbuvs.mp4?tag=12"></video>
|
||||||
|
|
||||||
|
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]]
|
||||||
@@ -10,6 +10,8 @@ tags:
|
|||||||
---
|
---
|
||||||
|
|
||||||
- [[archive/threads/mike_acton/2018-04-25-mike-acton-approximator]]
|
- [[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-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-08-03-mike-days-paper-got-me-thinking-about-abusing]]
|
||||||
- [[archive/threads/mike_acton/2023-09-11-there-are-thousands-of-articles-introducing-the]]
|
- [[archive/threads/mike_acton/2023-09-11-there-are-thousands-of-articles-introducing-the]]
|
||||||
|
|||||||
Reference in new issue
Block a user