frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Truchet Tiles

https://en.wikipedia.org/wiki/Truchet_tiles
107•downboots•3d ago

Comments

onion2k•14h ago
Truchet tiling is a staple of the shader community - https://www.shadertoy.com/results?query=Truchet

A particularly nice example - https://www.shadertoy.com/view/4td3zj

And a nice '3D' one - https://www.shadertoy.com/view/4lSBzm

drewnoakes•13h ago
They also come up a lot in pen plotter art.
JKCalhoun•8h ago
Like the hexagonal one.
joshu•13h ago
some truchet tiles i did for a plotter a million years ago:

hex:

https://www.instagram.com/p/B2TRmM7p1BB

https://www.instagram.com/p/B2Q130pJwum

rectangular:

https://www.instagram.com/p/BxUMO05p3Cx

https://www.instagram.com/p/BxO1H3cJ57V

gilleain•12h ago
Nice.

It's a shame that regular octagons do not tile the plane. Octagons + squares might work I suppose.

johanvts•8h ago
You can use the monotile! See my links below.
gilleain•8h ago
Ah perfect! I went away at lunch and tried to work it out, including for the spectre tile (monotile), although I took a different approach.
pavel_lishin•6h ago
Man, I've tried writing my own version of things like this, but it ended up looking like pubes on paper.
joshu•13h ago
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
WantonQuantum•12h ago
I used to do this on my VIC-20 a million years ago. Just looking at this line brought back the visual image like it was yesterday.
teddyh•12h ago

  python3 -c 'import random, time, itertools; any(time.sleep(0.01) or print(random.choice("\u2571\u2572"), end="", flush=True) for x in itertools.repeat(None))'
binaryturtle•9h ago
https://github.com/the-real-tokai/macuahuitl/blob/master/tem...

(how about this fancy version with SVG output? :D No longer a single line though.)

pan69•12h ago
8-Bit Show and Tell recently did a video about Truchet Tiles on PETSCII. Fun watch:

https://www.youtube.com/watch?v=MVQJykMJSH0

Jgoauh•10h ago
not sure why this is on top of the feed but i appreciate it ! Is there a website where you can draw on the truchet tiles live ? would be cool
johanvts•8h ago
Not exactly what you are requesting, but I added truchet patterns to a monotile renderer a while back. See here https://www.johansivertsen.com/post/monotile/ The drawing tool is here: https://www.johansivertsen.com/customhatviz/app.html Press 'build supertiles' a few times and enable the truchet overlay.
calvinmorrison•8h ago
did anyone have wooden truchet tiles of various colors as a kid that you would place on a board and flip them around to make various designs
ItCouldBeWorse•8h ago
These are also good to avoid tiling textures having a https://en.wikipedia.org/wiki/Moir%C3%A9_pattern. Just do a randomized labyrinth per square and voila.
qiine•5h ago
oh! moiré and the double slit experiment are related things, TIL
nedbat•8h ago
Using multi-level Carlson Truchet tiles for half-toning images: https://nedbatchelder.com/blog/202208/truchet_images.html
onychomys•7h ago
We have this card-tiling game based on this idea.

https://www.ravensburger.us/en-US/products/games/thinkfun/iz...

It's not a great game, but it's fun enough. The box is small, so we keep it around even if we don't play it much.

coldcode•7h ago
I use a lot of truchet tiles in my art (https://andrewwulf.com), but I color them afterwards, which seems fairly uncommon (article from last year, https://thecodist.com/my-art-and-color-after-tiling/) outside of shaders. I focus on 2d art for print. I also use various combinations of 1x1, 1x2, 2x2, 3x3 and 4x4 tiles, sometimes all in one work.
nojs•6h ago
Reminds me of this, created by one of the tailwind guys: https://heropatterns.com/

These are really useful for subtle background patterns on footers etc.

WillieMacBride•3h ago
"Scramble Squares" is a card-tiling puzzle which looks like a specialized form of Truchet Tiling.

https://scramblesquares.com

There are 9 square (non-identical) tiles in a set. Each edge of each tile displays half of a two-sided symbol (eg cats, dogs, flags, etc.). Goal is to arrange the tiles in a 3x3 grid so that all touching edges match with corresponding symbol halves.

Looks simple at first, but a real challenge.

Size of the entire solution space is 9! * 4^9 (billions), and brute-force solvers have been written in Python:

https://github.com/roadfoodr/scramble-squares-solver

What are the combinatorial rule(s) used to construct these tiles ?? Some clues: https://www.reddit.com/r/puzzles/comments/1e09up6/help_how_t...

Kathie Gavin (designer of Scramble Squares) says the design was inspired by "ancient Egyptian tile patterns" she saw in a museum. Does anyone know more about this?

frankus•3h ago
I need some of these mathematical tiles to be available as physical ceramic tiles for nerdy backsplashes and bathrooms.
o11c•3h ago
Wow, Wikipedia is pretty minimal in giving examples. Clicking through various links in comments for more examples should be considered mandatory (though many of the 3D ones are actually "some effect on top of Truchet").

I suppose I don't normally think about how you're actually using minimal Truchet tiles when you play one of SGT's puzzle games, since it's the most boring tileset:

https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/slan...

calvinmorrison•2h ago
https://thewoodenwagon.com/woodentoy/CAF3064.html

Study mode

https://openai.com/index/chatgpt-study-mode/
515•meetpateltech•4h ago•324 comments

More honey bees dying, even as antibiotic use halves

https://news.uoguelph.ca/2025/07/more-honey-bees-dying-even-as-antibiotic-use-halves/
75•pseudolus•1h ago•41 comments

Maru OS – Your phone is your PC

https://maruos.com/
97•fsflover•2h ago•72 comments

Learning basic electronics by building fireflies

http://a64.in/posts/learning-basic-electronics-by-building-fireflies/
126•signa11•4h ago•29 comments

Launch HN: Hyprnote (YC S25) – An open-source AI meeting notetaker

111•yujonglee•5h ago•72 comments

CodeCrafters (YC S22) is hiring first Marketing Person

https://www.ycombinator.com/companies/codecrafters/jobs/7ATipKJ-1st-marketing-hire
1•sarupbanskota•35s ago

BugBash Ep1 – FoundationDB: from idea to Apple acquisition [video]

https://www.youtube.com/watch?v=C1nZzQqcPZw
38•zdw•3d ago•1 comments

A month using XMPP (using Snikket) for every call and chat (2023)

https://neilzone.co.uk/2023/08/a-month-using-xmpp-using-snikket-for-every-call-and-chat/
58•ColinWright•3h ago•24 comments

Show HN: I built an AI that turns any book into a text adventure game

https://www.kathaaverse.com/
149•rcrKnight•5h ago•65 comments

Microsoft Flight Simulator 2024: WebAssembly SDK

https://docs.flightsimulator.com/msfs2024/html/6_Programming_APIs/WASM/WebAssembly.htm
88•breve•3d ago•45 comments

Show HN: A GitHub Action that quizzes you on a pull request

https://github.com/dkamm/pr-quiz
39•dkamm•3h ago•18 comments

A Periodic Table of System Design Principles

https://github.com/jarulraj/periodic-table
47•qianli_cs•3h ago•25 comments

Playing with Open Source LLMs

https://alicegg.tech//2025/07/29/open-source-llm.html
41•zer0tonin•2h ago•28 comments

Supervised Fine Tuning on Curated Data is Reinforcement Learning

https://arxiv.org/abs/2507.12856
12•GabrielBianconi•1h ago•3 comments

RIP Shunsaku Tamiya, the man who made plastic model kits a global obsession

https://JapaneseNostalgicCar.com/rip-shunsaku-tamiya-plastic-model-kits/
9•fidotron•37m ago•1 comments

Observable Notebooks 2.0 Technology Preview

https://observablehq.com/notebook-kit/
162•mbostock•6h ago•40 comments

Irrelevant facts about cats added to math problems increase LLM errors by 300%

https://www.science.org/content/article/scienceadviser-cats-confuse-ai
217•sxv•6h ago•109 comments

Stanford’s Management Science and Engineering programs

https://poetsandquants.com/2025/07/28/the-secret-stanford-program-no-ones-heard-about/
28•curioustock•3h ago•22 comments

My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)

https://simonwillison.net/2025/Jul/29/space-invaders/
397•simonw•7h ago•293 comments

How the brain increases blood flow on demand

https://hms.harvard.edu/news/how-brain-increases-blood-flow-demand
19•gmays•2h ago•4 comments

The Making of Dario Amodei

https://www.bigtechnology.com/p/the-making-of-dario-amodei
16•spenvo•2h ago•0 comments

A grand tour through the essays of Lewis H. Lapham

https://www.laphamsquarterly.org/roundtable/motet-record
23•samclemens•3d ago•0 comments

Linux 6.16: faster file systems, improved confidential memory, more Rust support

https://www.zdnet.com/article/linux-6-16-brings-faster-file-systems-improved-confidential-memory-support-and-more-rust-support/
88•CrankyBear•3h ago•29 comments

2D to 3D model and 3D print it

https://www.amodeling.com/
8•Jimmy6929•3d ago•4 comments

Project Zero – Policy and Disclosure: 2025 Edition

https://googleprojectzero.blogspot.com/2025/07/reporting-transparency.html
71•esnard•6h ago•21 comments

Show HN: Monchromate – the best greyscale browser extension

https://monochromate.lirena.in
19•lirena00•3h ago•2 comments

Playing with more user-friendly methods for multi-factor authentication

https://tesseral.com/blog/i-designed-some-more-user-friendly-methods-for-multi-factor-authentication
34•noleary•23h ago•18 comments

Linux Performance Analysis (2015)

https://netflixtechblog.com/linux-performance-analysis-in-60-000-milliseconds-accc10403c55
154•benjacksondev•8h ago•32 comments

Pony: An actor-model, capabilities-secure, high-performance programming language

https://www.ponylang.io/discover/
263•RossBencina•16h ago•195 comments

The Saltgator: A Desktop SoftGel Injection Molding Machine

https://www.core77.com/posts/137875/The-Saltgator-A-Desktop-SoftGel-Injection-Molding-Machine
49•surprisetalk•2d ago•19 comments