How a closed curve draws a lantern in SVG

Short answer: The lantern is one closed curve for the red barrel, a dark cap at each end, and a gold tassel. A lighter stroke down the left side stands in for the ribs. The character in the middle is the glyph 趙, not an outlined path. The barrel is #c43232. The caps are #6d1418. The bands and the character are #f0d48a. The tassel is a deeper gold, #e7c56a.


What the picture has to read as

A lantern is recognized by a barrel wider than its caps, a rib of light down the paper, and a tassel under the lower cap. The character has to sit in the middle of the barrel, or the mark reads as a blank lamp.

The ground behind it, on the page where the header is bare, is the same rice paper, #f3eee6.


How the barrel is built

The view is 64 wide and 118 tall. The barrel is one path of four cubics, fill #c43232:

M14 22c0-3 36-3 36 0 5 16 5 40 0 54 0 3.2-36 3.2-36 0-5-14-5-38 0-54z

It starts at (14, 22). The first cubic ends at (50, 22) and bows up to y=19. That is the top rim. The second ends at (50, 76) and bows out to x=55. That is the right side. The third ends at (14, 76) and bows down to y=79.2. That is the bottom rim. The fourth bows out to x=9 and returns to the start. The belly is 46 wide. Each cap is only 24 wide, so the paper swells past the wood.

A highlight runs down the left of the belly: M20 28c-1 14-1 32 0 44. It goes from (20, 28) to (20, 72), bowed one unit to the left. Stroke #e86a64, width 2.6, round caps, no fill. One stroke is the whole rib.

Two gold bands follow the rims, stroke #f0d48a, width 1.45. The upper is M16 26c1.2-1.6 30.8-1.6 32 0, from (16, 26) to (48, 26), bowed up 1.6. The lower is the same curve with the signs of Y reversed, from (16, 72) to (48, 72), bowed down 1.6.

The character is a text node at (32, 50), anchored in the middle, fill #f0d48a, size 24, weight 600. The family is Songti SC, then STSong, then Noto Serif SC, then a generic serif. The point (32, 50) is one unit below the midpoint of the two rims, which sit at y=22 and y=76. The glyph is whatever those fonts draw for 趙. It is not a path in the file.


How the caps and the tassel are built

Each cap is a rectangle 24 wide and 5 tall, corner radius 1.1, fill #6d1418. The top cap is x="20" y="8". The bottom cap is x="20" y="76". Both are centered on x=32. The bottom cap is painted after the barrel, so it covers the lower arch. The top cap is painted before the barrel and does not overlap it.

A brown string hangs the top cap: M32 1v8, stroke #5c4636, width 1.35, round caps, fill none. A neck joins that cap to the barrel: M32 13v8, stroke #6d1418, width 1.7, butt caps. The barrel is painted over the lower end of the neck.

Under the bottom cap, a short red stem M32 81v6 drops to a bead. The bead is a circle at (32, 89), radius 1.8, fill #e7c56a. Three gold strokes leave (32, 90), width 1.2, round caps, fill none. The left cubic ends at (28.5, 110). The right cubic ends at (35.5, 110). The middle is a straight stroke to (32, 108).


How the drawing is placed

The mark is 2.7rem wide and 5rem tall, in the header, to the left of the name. The drawing fills that box. overflow is visible. The barrel’s center sits above the center of the view, because the tassel takes the lower part, so the whole figure is shifted down by 0.38rem. The shift puts the character in line with the name. The mark is the same on every page that uses this header.

A red lantern with dark caps, gold bands, the character 趙, and a three-strand tassel, on a rice-paper ground

What this size leaves out

A larger lantern has a rib around the whole barrel, and a grain in the paper. Here one stroke is the rib, and the red is flat. The character is a font glyph. A drawn 趙 would be strokes of its own, and it would not change with the fonts on the machine. The tassel is three curves. There is no glow.


Why this stays published

We hang it in the header of an admin page, to the left of the name, on the same paper as the plum. A lantern at this size is one closed curve for the barrel, a cap at each rim, a gold glyph in the middle, and a tassel of three strokes.

本文由 HoHo 與 AI 協作整理,最後更新於 2026 年 10 月 11 日。

Leave a Reply

Your email address will not be published. Required fields are marked *