Mapper. Reducer.
https://t.co/P01fQFzxsF and https://t.co/i2eJi6XDjs creator. @Ubilabs co-founder and @GMapsPlatform GDE. Ex @HHjs and @JSUnconf organizer.
Oct 8 • 10 tweets • 3 min read
INVISIBLE.js
JavaScript
payload
to write
hidden
code!
🫥
→
It uses invisible Hangul Filler characters (U+3164) in combination with JavaScript's "with" statement and a Proxy object to encode and evaluate the script.
Special invisible characters ("Hangul Filler") are used as property names in a "with" statement. These characters are used in combination with a Proxy to encode a binary sequence by exploiting the property access mechanism.
Apr 2, 2021 • 13 tweets • 8 min read
I'm fascinated by this simple formula to create bit fields that look like alien art:
(x ^ y) % 9
Source:
<canvas id="c" width="1024" height="1024">
<script>
const context = c.getContext('2d');
for (let x = 0; x < 256; x++) {
for (let y = 0; y < 256; y++) {
if ((x ^ y) % 9) {
context.fillRect(x*4, y*4, 4, 4);
}
}
}
</script>
Nov 2, 2020 • 9 tweets • 5 min read
The most minimalist creative coding environment is alive:
Control the size and color of a 16x16 dot matrix with a single JavaScript function. The input is limited to 32 characters – but no limits to your creativity!
🔴🔴
🔴🔴
Some basic hints:
1. Click the dots to get detailed instructions. 2. Update the code to create your own animations. 3. Hit "submit" to save the code in the URL. 4. Make sure to share your creations in the comments!
I will pick the best and add them to the default examples.💕