Tagged articles
5 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
Aug 20, 2023 · Fundamentals

Tweetable Mathematical Art: Generating Images with Compact C++ Functions

The Tweetable Mathematical Art contest challenges participants to craft three ultra‑compact C++ functions—each under 140 characters—to compute red, green, and blue values for every pixel of a 1024×1024 image, yielding striking patterns ranging from trigonometric color wheels to Mandelbrot fractals and diffusion‑limited aggregations.

C++algorithmic artcode golf
0 likes · 15 min read
Tweetable Mathematical Art: Generating Images with Compact C++ Functions
Programmer DD
Programmer DD
Nov 5, 2020 · Frontend Development

Can You Write Hello World in JavaScript with Just Six Characters?

This article introduces the classic Hello World example in JavaScript, demonstrates the standard alert implementation, then challenges readers to output Hello World using only six characters through JSFuck techniques, explaining the underlying type coercion, array creation, and operator tricks that make it possible.

Hello WorldJSFuckJavaScript
0 likes · 4 min read
Can You Write Hello World in JavaScript with Just Six Characters?
Aotu Lab
Aotu Lab
Dec 9, 2016 · Frontend Development

How a 1 KB JavaScript Demo Creates a 3D Fire‑Extinguishing Game

This article dissects a 1 KB js1k competition entry that builds a 3‑D forest‑fire game using only built‑in canvas variables, explaining the competition rules, the demo’s gameplay, the compact object‑creation logic, the clever key‑state handling, and the full event‑loop rendering pipeline.

3DCanvasJavaScript
0 likes · 16 min read
How a 1 KB JavaScript Demo Creates a 3D Fire‑Extinguishing Game