https://github.com/royalicing/collectedswiftplaygrounds
Swift Playgrounds for interacting with Collected.Press
https://github.com/royalicing/collectedswiftplaygrounds
Last synced: 11 months ago
JSON representation
Swift Playgrounds for interacting with Collected.Press
- Host: GitHub
- URL: https://github.com/royalicing/collectedswiftplaygrounds
- Owner: RoyalIcing
- Created: 2022-05-22T10:23:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-22T11:16:47.000Z (about 4 years ago)
- Last Synced: 2025-03-12T10:09:06.074Z (over 1 year ago)
- Language: Swift
- Size: 60.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CollectedSwiftPlaygrounds
Swift Playgrounds for interacting with Collected.Press
## WebSocket Client
Connects via a WebSocket to ([open source on GitHub](https://github.com/ThatCollected/collected-press)), which renders Markdown and is hosted on [Cloudflare Workers](https://workers.cloudflare.com).
You can send various sized pieces of Markdown, and see how long it takes to do a round trip from your computer to the server and back. You can see it in seconds and in number of frames (assuming 60FPS).
In Melbourne, I’m seeing hundreds of a second (~10–50ms), which translates to 1–4 frames @ 60FPS. That’s enough to make it feel near instantaneous, as if it’s not even over the network but as fast as something running on my computer.