Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 most recent check-ins
2024-12-06
| ||
00:50 | pixel_robot: Added the `palette()` and `pal.load()` functions. Leaf check-in: 08c27c28df user: andy tags: trunk | |
00:38 | pixel_robot: Update similarity methods to include the new color spaces. check-in: 40ffc214eb user: andy tags: trunk | |
00:37 | pixel_robot: documentation updates. check-in: 4ee2d7286a user: andy tags: trunk | |
2024-12-05
| ||
05:19 | pixel_robot: Added conversion from LAB space back into sRGB, and verified that it is invertible. check-in: 8f7a38fae7 user: andy tags: trunk | |
05:04 | pixel_robot: Most of the color space conversions (all except HSV/L) now correctly convert sRGB to linear RGB (and back, when convering *from* the color space). Most color space transforms now invert correctly: running a color through the transform and then back results in the same color. The only exception is the conversion to/from LAB, because we lack a conversion from LAB back into RGB. check-in: eecf1b7d64 user: andy tags: trunk | |
04:04 | pixel_robot: Added `color` methods `to` (convert RGB color to another color space) and `dist` (compute similarity/distance between colors). check-in: 93ba3d0def user: andy tags: trunk | |
04:01 | QJSPP: Added an overload for make_jsvalue(std::array). check-in: b319709386 user: andy tags: trunk | |
2024-12-04
| ||
17:26 | pixel_robot: Added documentation for `pal.gradientx`. check-in: 18395bdb35 user: andy tags: trunk | |
00:23 | pixel_robot: Fixed handling of the clear/transparent color. check-in: 19eba56d47 user: andy tags: trunk | |
00:13 | pixel_color: Color name parsing. check-in: f0ffe0a552 user: andy tags: trunk | |
2024-12-03
| ||
22:30 | pixel_robot: Removed the sigint handler from repl.js. It can be re-enabled by setting want_sigint_handler to true, in the preamble. check-in: 74061f7862 user: andy tags: trunk | |
16:27 | pixel_robot: Added better validation for hex-6 (CSS) style colors. check-in: 41396f012c user: andy tags: trunk | |
16:27 | pixel_robot: Remove some debug logging, no longer needed. check-in: db3456a3d2 user: andy tags: trunk | |
16:26 | pixel_robot: Fixed a bug in the interploation function used for `pal.gradient()`. check-in: 14df694410 user: andy tags: trunk | |
16:25 | pixel_robot: Check arguments to pal.gradient(). check-in: 06d48962f4 user: andy tags: trunk | |
00:00 | pixel_robot: Fixed color-name parsing (simple color names only). check-in: 26ca9c04d8 user: andy tags: trunk | |
2024-12-02
| ||
23:37 | pixel_robot: Added JS-facing `color` functions (template function, .mix(), .from()). check-in: b25a90e9a4 user: andy tags: trunk | |
22:40 | pixel_robot: Added `font.hpp` header for simple text printing (the 8x8 font comes from giflib). check-in: 66cc4aff39 user: andy tags: trunk | |
22:39 | pixel_robot: Added cpp-httplib header. check-in: 709041fa91 user: andy tags: trunk | |
22:30 | pixel_robot: More work on the `pal` array. check-in: 6dd48da028 user: andy tags: trunk | |
22:30 | pixel_robot: removed the `physical_palette::expand_to_size` function. check-in: dd0354aec3 user: andy tags: trunk | |
22:29 | pixel_robot: Renamed `get_jsvalue(rgb_color)` to `get_jsvalue_impl` to be consistent with the other overloads. check-in: 80d7c0a375 user: andy tags: trunk | |
22:28 | pixel_robot: Added the `--frames N` command-line argument. check-in: 1de1a8b4e7 user: andy tags: trunk | |
17:21 | pixel_robot: More work on the JS-interface code for the physical palette. check-in: 73a01df171 user: andy tags: trunk | |
2024-11-27
| ||
22:47 | pixel_robot: Fixed the palette-specific methods on the `pal` object. check-in: a5849f246d user: andy tags: trunk | |
22:31 | pixel_robot: Use size_t to silence a compiler warning. check-in: 9241bd1cc5 user: andy tags: trunk | |
22:29 | QJSPP: Fixed a bug in add_method where the value wasn't being correctly duplicated. check-in: 96b5ff30a8 user: andy tags: trunk | |
21:08 | pixel_robot: Removed unused variable. check-in: 6346613ae5 user: andy tags: trunk | |
21:07 | pixel_robot: Added missing `inline`. Added missing `hint` parameter to get_jsvalue_impl(rgb_color). check-in: 382ee723c0 user: andy tags: trunk | |
21:07 | QJSPP: Added missing overloads to `get_jsvalue_impl` for uint32_t, std::array. check-in: 0326bb5516 user: andy tags: trunk | |
20:58 | Added a bunch of methods to the `pal` object. check-in: 1b15f346b4 user: andy tags: trunk | |
20:57 | pixel_robot: Added `find` and `append` methods to `physical_palette`. check-in: 7c2b7be383 user: andy tags: trunk | |
20:56 | pixel_robot: Added functions to convert strings into color_spaces and color_similarities. check-in: db78c803fb user: andy tags: trunk | |
20:56 | QJSPP: Added a convenience function for adding methods (non-writable, non-enumerable properties whose value is a function) to objects. check-in: 3924901a77 user: andy tags: trunk | |
19:44 | pixel_robot: Changed how `sketch` handles the sketch size, to hopefully make it more robust. Added `sketch` methods to get the current sketch, get the physical palette of a sketch. check-in: 8f2d4ab7f9 user: andy tags: trunk | |
19:43 | pixel_robot: Added a `get_jsvalue_impl` overload for `rgb_color`. check-in: bb9ddfcb0f user: andy tags: trunk | |
19:34 | QJSPP: Added an overload to `js::get_property` allowing it to be used with numeric properties (i.e., array indexes). check-in: 50ce4fd070 user: andy tags: trunk | |
2024-11-26
| ||
23:20 | pixel_robot: TODO updates. check-in: c060b422f5 user: andy tags: trunk | |
23:13 | pixel_robot: In the REPL, \q and Ctrl-C now both exit gracefully. check-in: dd6d088459 user: andy tags: trunk | |
23:09 | QJSPP: Made js::free do the right thing when given a mnodule object (modules should not be JS_Free'd). check-in: b11822e30c user: andy tags: trunk | |
18:55 | pixel_robot: Printing `pal` (or any other object supporting toString) in the repl now works. check-in: 1f369694c4 user: andy tags: trunk | |
16:39 | pixel_robot: Fixed the declarations of the compiled-in binary data so that it actually works. check-in: a19c21fbff user: andy tags: trunk | |
16:37 | pixel_robot: Removed extra declarations of the color dictionary binary data. check-in: 68459b9eac user: andy tags: trunk | |
16:22 | pixel_robot: Replaced the bytecode-compiled repl.c with the repl.js resource. check-in: 6cb69640fd user: andy tags: trunk | |
16:19 | pixel_robot: Documentation for the resource class. check-in: 9bc1160333 user: andy tags: trunk | |
00:51 | pixel_robot: Added a resources system to try loading resources from res/, using the compiled-in version if that fails. check-in: cc853f5b88 user: andy tags: trunk | |
00:50 | pixel_robot: Changed how the size of the sketch is set, so that overriding size from the command-line doesn't trigger an error in the script. check-in: 08ec33f1fb user: andy tags: trunk | |
2024-11-24
| ||
21:21 | pixel_robot: Added res/ directory for compiled-in resources. check-in: 5fa69e97cd user: andy tags: trunk | |
05:02 | pixel_robot: Added a message parameter to the JS_ASSERT macro. check-in: d9e9124ba2 user: andy tags: trunk | |
05:01 | pixel_robot: More work on the pal array-like object. check-in: e41b4391bc user: andy tags: trunk | |