City Lights is a generative cityscape by eepmon. I translated his code, line by line, to Solidity on the Kohi engine.
The goal was an exact copy of his image, bit for bit. The port uses the Kohi Fix64 math and RandomV1 stream.
City Lights was the first Kohi piece with sub-pixel anti-aliasing. The rasteriser follows Anti-Grain Geometry (AGG), the C++ graphics library by Maxim Shemanarev: cells, coverage and scanlines, in Solidity and Fix64. The code is on GitHub, in kohi-composer and kohi-citylights.
As with Kintsugi, the tokenURI does not return the image. At first it
pointed to a kohi.art URL. Now it points to IPFS.
2021-11-22 — City Lights mints
The collection of eepmon deploys on the Kohi contract line: KohiCityLights,
symbol EEPCL.
cast call 0x1aBA27D6A420feb25aF6CF6b80b93B7526725a71 "tokenURI(uint256)(string)" 1 --rpc-url <rpc>
