Debian Codegraph @

sample/trick2022/02-tompng/remarks.markdown

raw
1 ### Remarks
2
3 1. Run it with `ruby entry.rb 8080`
4
5 2. Open "http://localhost:8080"
6
7 3. Click on the screen and interact with it
8
9 I confirmed the following implementations/platforms:
10
11 * Ruby Version
12 * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin20]
13 * Browser
14 * Chrome(macOS, Android)
15 * Firefox(macOS)
16 * Edge(macOS)
17
18 ### Description
19
20 This program is an HTTP server that provides a fractal creature playground.
21 You can see the heartbeat of a mysterious fractal creature. Clicking on the screen will change the shape of the creature.
22 Surprisingly, this interactive webpage is built without JavaScript.
23
24 ### Internals
25
26 Fractal: Iterated function system
27 Rendering from server: Streaming animated GIF
28 Sending click event to server: `<input type="image" src="streaming.gif">` with `<form target="invisible_iframe">`
29
30 ### Limitations
31
32 Does not work on Safari and iOS.