Three New Years in one file
One rotating pixel scene with three versions, each under its own name. A button switches between them, and each has its own building, decorations, sky and countdown.
| Version | Name | Date in 2027 | What is in the scene |
|---|---|---|---|
| Korea | 설날 (Seollal) | Saturday, February 6 | A tiled-roof house with painted eaves and silk lanterns, a magpie on the ridge, sauce jars, a low table with a bowl of rice-cake soup, two children, a lucky pouch, kites, pines, snow and the sunrise |
| China | 春节 (Chūnjié, Spring Festival) | Saturday, February 6 | A red hall with a two-tier golden roof, red lanterns, door couplets, firecracker strings, a drum, a red envelope, a dragon dance circling the hall, and fireworks in a moonless sky |
| Japan | お正月 (Oshōgatsu) | Friday, January 1 | A vermilion shrine gate with a sacred rope, a shrine hall, pine-and-bamboo gate decorations, stacked rice cakes with an orange, stone lanterns, kites, a snow-capped mountain and the first sunrise |
The sheep in each scene is the animal of the year: 2027 is the Year of the Goat, called the sheep in Korea and Japan.
Dates checked on November 16, 2026 against Royal Museums Greenwich and World Days Off.
The countdown
The line above the scene counts down to midnight at the start of the holiday, using the clock and time zone of the device that shows it. When the day arrives it changes to a greeting in that language: 새해 복 많이 받으세요, 新年快乐 or あけましておめでとう.
Choosing a version in a link or an embed
Add #kr, #cn or #jp to the end of the address to open that version directly. The embed code below opens the Korean one; change the last two letters for another.
<iframe src="https://aspect.tools/pixel-lunar-new-year#kr" width="420" height="740" style="border:0;max-width:100%" title="Pixel Lunar New Year" loading="lazy"></iframe>
How to take it
Press Download the HTML file above to get pixel-lunar-new-year-2027.html, or press Copy the code and save it as a file ending in .html. It is one file with no libraries and works offline.
View the code
Loading…License and credit
Pixel Lunar New Year, 2027 series, by aspect.tools (https://aspect.tools/lunar-new-year), MIT License
A visible credit is appreciated but not required.
How to change it
| What to change | Where | Example |
|---|---|---|
| Names, greetings, dates and sky colours | VERSIONS at the top of the script | when: [2027, 2, 6] |
| Which version opens first | the last lines: the default is 'kr' | : 'kr' |
| A building | the three scene(...) blocks: walls are box(...), roofs are roof(...) | roof(8, 19, 13, 7, P.giwa, P.giwa2) |
| The animal of the year | the SHEEP text picture, for other years | '..wkwwwkw..' |
| Lanterns | the lamp(x, y, z, colour) lines | lamp(x, 6, 13, 'red') |
| The dragon | the loop marked “the dragon dance”: length, speed and height | i < 18 |
These are small illustrations, not accurate models of particular buildings. The same holiday is also celebrated in other countries, such as Tết in Vietnam, which this file does not yet include.
Questions
When is Lunar New Year in 2027?
Saturday, February 6, 2027. It begins the Year of the Goat, called the Year of the Sheep in Korea and Japan.
Does Japan celebrate Lunar New Year?
No. Japan celebrates the New Year, Oshogatsu, on January 1. The Japanese version here counts down to January 1.
How do I show only one country?
Add #kr, #cn or #jp to the end of the address, including in the embed code.
Can I use it on my own website?
Yes. It is under the MIT License for personal and commercial use. Keep the license notice inside the file.
Does the countdown use my time zone?
Yes. It counts down to midnight on the holiday in the time zone of the device showing it.