@evenrealities/evenhub-simulator 0.4.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +51 -7
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,8 +1,14 @@
1
1
  # EvenHub Simulator
2
2
 
3
- A development tool for rapid iteration and early-stage debugging of EvenHub applications. This simulator lets developers preview UI layouts and logic before running on physical hardware.
3
+ A development tool for rapid iteration and early-stage debugging of EvenHub
4
+ applications. This simulator lets developers preview UI layouts and logic
5
+ before running on physical hardware.
4
6
 
5
- This simulator is a supplement to, not a replacement for, hardware testing, because inconsistencies between the simulator and real glasses can occur. Always validate on actual hardware before deployment. If you find discrepancies that affect coding logic, please file a bug report (in Discord for now) so we can reduce the differences.
7
+ This simulator is a supplement to, not a replacement for, hardware testing,
8
+ because inconsistencies between the simulator and real glasses can occur.
9
+ Always validate on actual hardware before deployment. If you find discrepancies
10
+ that affect coding logic, please file a bug report (in Discord for now) so we
11
+ can reduce the differences.
6
12
 
7
13
 
8
14
  ## Installation
@@ -70,19 +76,27 @@ Default config file path:
70
76
 
71
77
  ### Display & UI Rendering
72
78
 
73
- Due to implementation differences, overall display characteristics (such as font rendering) may not perfectly match the hardware. The current fidelity should still be sufficient for layout validation and logic testing.
79
+ Due to implementation differences, overall display characteristics (such as
80
+ font rendering) may not perfectly match the hardware. The current fidelity
81
+ should still be sufficient for layout validation and logic testing.
74
82
 
75
83
  ### List Behavior
76
84
 
77
- List scrolling behavior, especially focused-item positioning on screen, can vary. This happens because the simulator re-implements drawing logic instead of sharing embedded source code directly.
85
+ List scrolling behavior, especially focused-item positioning on screen, can
86
+ vary. This happens because the simulator re-implements drawing logic instead of
87
+ sharing embedded source code directly.
78
88
 
79
89
  ### Error Handling
80
90
 
81
- Under normal conditions, the simulator behaves similarly to the hardware. Error-response handling (for example, invalid inputs) may still differ, but should converge as the codebase matures.
91
+ Under normal conditions, the simulator behaves similarly to the hardware.
92
+ Error-response handling (for example, invalid inputs) may still differ, but
93
+ should converge as the codebase matures.
82
94
 
83
95
  ### Image Processing
84
96
 
85
- The simulator processes images faster and currently does not enforce constraints such as hardware image-size limits. Future versions may introduce stricter checks to better simulate hardware behavior.
97
+ The simulator processes images faster and currently does not enforce
98
+ constraints such as hardware image-size limits. Future versions may introduce
99
+ stricter checks to better simulate hardware behavior.
86
100
 
87
101
  ### Events
88
102
 
@@ -90,7 +104,7 @@ The simulator processes images faster and currently does not enforce constraints
90
104
  - **Supported Inputs:** Up, Down, Click, Double Click.
91
105
 
92
106
 
93
- ### Audio
107
+ ## Audio
94
108
 
95
109
  The simulator now emits `audioEvents`. The data specification for each event is:
96
110
 
@@ -98,9 +112,39 @@ The simulator now emits `audioEvents`. The data specification for each event is:
98
112
  - Signed 16-bit little-endian PCM
99
113
  - 100 ms of data per event (3200 bytes, 1600 samples)
100
114
 
115
+ ## Screenshot
116
+
117
+ Starting with v0.5.0, the simulator supports exporting the glasses display as
118
+ an RGBA PNG file. This is intended for uploading apps to the Evenhub web portal
119
+ in the future (maybe), though it can be used for any other suitable scenario.
120
+
121
+ Upon clicking, the simulator will export the current screen to your Current
122
+ Working Directory (CWD) with a filename based on the current time. The full
123
+ file path is printed to:
124
+
125
+ - Simulator stdout (as a warn log)
126
+ - Glasses web inspector console
127
+
128
+ Note: The image is not affected by the 'glow' flags, as that is a visual
129
+ post-processing effect only.
130
+
101
131
 
102
132
  # Changelog
103
133
 
134
+ ## v0.5.2 (2026-02-28)
135
+
136
+ - Improve overall rendering accuracy: now with only 4bit colors
137
+ - Remove the brightness filter on glasses canvas
138
+
139
+ ## v0.5.1 (2026-02-27)
140
+
141
+ - Rendering mechanism adjustments
142
+ - Improve image rendering
143
+
144
+ ## v0.5.0 (2026-02-26)
145
+
146
+ - Add screenshot functionality
147
+
104
148
  ## v0.4.1 (2026-02-20)
105
149
 
106
150
  - Performance optimization
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@evenrealities/evenhub-simulator",
3
- "version": "0.4.1",
3
+ "version": "0.5.2",
4
4
  "description": "EvenHub glasses app simulator",
5
5
  "bin": {
6
6
  "evenhub-simulator": "bin/index.js"
7
7
  },
8
8
  "optionalDependencies": {
9
- "@evenrealities/sim-darwin-arm64": "0.4.1",
10
- "@evenrealities/sim-darwin-x64": "0.4.1",
11
- "@evenrealities/sim-linux-x64": "0.4.1",
12
- "@evenrealities/sim-win32-x64": "0.4.1"
9
+ "@evenrealities/sim-darwin-arm64": "0.5.2",
10
+ "@evenrealities/sim-darwin-x64": "0.5.2",
11
+ "@evenrealities/sim-linux-x64": "0.5.2",
12
+ "@evenrealities/sim-win32-x64": "0.5.2"
13
13
  },
14
14
  "license": "MIT"
15
15
  }