frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Word-doodle – browser-based generative doodle text art engine

https://github.com/j-ncel/word-doodle
2•koalux•2h ago
word-doodle is a browser-based generative text art engine that takes string of text and transforms them into typographic doodles. word-doodle scatters words across the screen using a simple collision detection algorithm to place words into empty spaces. It includes a control hub where users can input text, change fonts, select text cases, and apply word limits with additional options to generate the doodle, wipe the screen, or take a screenshot.

The Engine The word-doodle engine transforms raw text into organized art via a three-step generation pipeline:

1. Vocabulary Analysis & Frequency Mapping -When text is provided, the engine parses the string into individual tokens. It converts all words to a uniform uppercase format to ensure accurate counting. Then it calculates how many times each unique word appears, identifying the maxFrequency to establish visual weight for each word.

2. Word Weight Scaling -Size: fontSize is determined by a random base value scaled by the word's frequency weight. -Weight: High-frequency words (above 80% weight) are automatically assigned a fontWeight of 700 for extra impact. -Orientation: To make it more visual appealing, there is a 15% chance a word will rotate 90°, switching to a vertical placement.

3. Collision Detection -Coordinate Generation: The engine picks a random (x,y)coordinate within the viewport. Boundary Validation: It compares the candidate's bounding box against every word already placed on the canvas, including a 5px safety padding. The Retry Loop: If an overlap is detected, the engine attempts to find a new spot. It will try up to 70 different positions before skipping the word. This prevents infinite loops and keeps the browser performance smooth even with high word counts.

Check out the live demo here: https://j-ncel.github.io/word-doodle/

Comments

koalux•1h ago
I’ve always admired hand-drawn doodle sketches that fill every inch of white space with words and characters. As another weekend project, I decided to recreate that satisfying "doodle" feeling using text strings. By adapting the concept of a word cloud and letting it slowly fill the screen, I found it surprisingly relaxing to watch the words transform into typographic art.

Show HN: I built an open-source D&D app using Python and Llama 3.1

https://github.com/Cmccombs01/DM-Copilot-App
1•cmccombs01•2m ago•0 comments

Show HN: On-device element inspector for React Native

https://github.com/mabdinasira/react-native-element-inspector
2•mabdinasira•6m ago•1 comments

Need Your Next Builder?

2•msjpr•10m ago•0 comments

Pluralistic: If you build it (and it works), Trump will come (and take it)

https://pluralistic.net/2026/02/26/hanged-for-a-sheep/
4•xeonmc•19m ago•0 comments

AI Safety Farce

https://seanpedersen.github.io/posts/ai-safety-farce/
2•sean_pedersen•22m ago•0 comments

Show HN: SkillFortify, Formal verification for AI agents (auto-discovers)

https://github.com/varun369/skillfortify
2•varunpratap369•23m ago•1 comments

What breaks when you vote on specific claims instead of whole posts?

2•flyblackbox•23m ago•0 comments

Community-powered blocklist for removing slop from HN comments

https://github.com/supriyo-biswas/hn_slopblock
2•supriyo-biswas•25m ago•0 comments

What Hackers Consider Essential (1991)

1•validatori•29m ago•0 comments

Still Ours To Lose – almost all LLMs share one remarkable behavioral trait

https://ctsmyth.substack.com/p/still-ours-to-lose
2•K0balt•32m ago•1 comments

Textadept

https://orbitalquark.github.io/textadept/
2•giancarlostoro•37m ago•0 comments

Show HN: I built a desktop app combining Claude, GPT, Gemini with local Ollama

https://github.com/tsunamayo7/helix-ai-studio
1•tsunamayo•44m ago•0 comments

TrueSize: Compare Real Country and Region Sizes

https://truesize.net/#ts~N4IgbiBcDaCMCcA6eB2AzGgrAGgAyNhUxQA5sAmAXWxAEsppQBrKEAWlgBYSS0SQaABwagAx...
1•thunderbong•47m ago•0 comments

Claude Code is a great Dad side project environment

https://www.bitlog.com/2026/02/28/claude-code-is-a-great-dad-side-project-environment/
1•jakevoytko•48m ago•1 comments

Why some Americans who make a lot of money feel so poor

https://www.cnn.com/2026/01/06/economy/housing-childcare-availability-affordability-economy
3•paulpauper•48m ago•0 comments

Students are skipping the hardest part of growing up

https://www.omanobserver.om/article/1183600/opinion/students-are-skipping-the-hardest-part-of-gro...
2•paulpauper•49m ago•0 comments

The Great Unraveling Has Begun

https://www.nytimes.com/2026/01/06/opinion/peace-conflict-war.html
2•abdelhousni•50m ago•0 comments

Iranian Supreme Leader Ayatollah Khamenei Dies

https://www.wsj.com/world/middle-east/iranian-supreme-leader-ayatollah-khamenei-dies-94e0aa4c
4•LopRabbit•50m ago•1 comments

Show HN: Iosef, an iOS simulator CLI designed for agents

https://github.com/riwsky/iosef
1•riwsky•53m ago•0 comments

Signal vs. Noise in the Skills Ecosystem

https://olshansky.info/posts/2026-02-28-signal-vs-noise-in-the-skills-ecosystem
1•Olshansky•59m ago•0 comments

He wanted to use ChatGPT to create sustainable housing. Then it took his life

https://www.theguardian.com/technology/ng-interactive/2026/feb/28/chatgpt-ai-chatbot-mental-health
5•october8140•1h ago•1 comments

You think unemployed, I think retired

https://jesseduffield.com/You-Think-Unemployed-I-Think-Retired/
2•brandon_bot•1h ago•1 comments

US tech supplied Israel with AI models, tech's role in warfare – AP News

https://apnews.com/article/israel-palestinians-ai-weapons-430f6f15aab420806163558732726ad9
3•abdelhousni•1h ago•1 comments

Show HN: Analyze employee survey data in 60 seconds (no signup)

https://getdistill.tech/landing
1•khnfrhn•1h ago•1 comments

A pretty looking web for a quantum mechanics tool

https://github.com/Jamessfks/mace
1•Jamessfks123•1h ago•0 comments

The Atlantic AI Watchdog

https://www.theatlantic.com/category/ai-watchdog/
1•fortran77•1h ago•0 comments

Poll: How do you think LLMs will affect the job market for software developers?

1•bwestergard•1h ago•4 comments

Show HN: Engram – Memory for AI coding agents (2.5K installs, 80% on LOCOMO)

https://www.engram.fyi
1•tstockham•1h ago•0 comments

Show HN: Openpista – AI Agent for OS Control via Telegram/CLI in Rust

https://github.com/openpista/openpista
1•pista_chio•1h ago•0 comments

Show HN: I put Claude Code inside a Telegram bot for voice memos

https://github.com/baryhuang/ai-meeting-notes-agent
1•buryhuang•1h ago•0 comments