Jump to content

Welcome to CodeNameJessica

Welcome to CodeNameJessica!

💻 Where tech meets community.

Hello, Guest! 👋
You're just a few clicks away from joining an exclusive space for tech enthusiasts, problem-solvers, and lifelong learners like you.

🔐 Why Join?
By becoming a member of CodeNameJessica, you’ll get access to:
In-depth discussions on Linux, Security, Server Administration, Programming, and more
Exclusive resources, tools, and scripts for IT professionals
A supportive community of like-minded individuals to share ideas, solve problems, and learn together
Project showcases, guides, and tutorials from our members
Personalized profiles and direct messaging to collaborate with other techies

🌐 Sign Up Now and Unlock Full Access!
As a guest, you're seeing just a glimpse of what we offer. Don't miss out on the complete experience! Create a free account today and start exploring everything CodeNameJessica has to offer.

by: Chris Coyier
Mon, 10 Feb 2025 15:27:38 +0000


Jake thinks developers should embrace creative coding again, which, ya know, it’s hard to disagree with from my desk at what often feels like creative coding headquarters. Why tho? From Jake’s perspective it’s about exposure.

While many designers and developers have been working within familiar constraints, browsers have undergone a quiet revolution. The web now supports features like container queries, advanced scoping and inheritance, and responsiveness to user preference. It’s gotten much more sophisticated in terms of color, typography, dynamic units, layouts, and animation. Yet so many young designers and developers I talk to as a Developer Advocate at Figma aren’t aware of these possibilities

Creative coding can be coding under whatever constraints you feel like applying, not what your job requires, which might just broaden your horizons. And with a twist of irony make you better at that job.

If you think of creative coding as whirls, swirls, bleeps, bloops, and monkeys in sunglasses and none of that does anything for you, you might need a horizon widening to get started. I think Dave’s recent journey of poking at his code editor to make this less annoying absolutely qualifies as creative (group) coding. It went as far as turning the five characters “this.” into a glyph in a programming font to reduce the size, since it was so incredibly repetitive in the world of Web Components.

How about some other creative ideas that aren’t necessarily making art, but are flexing the creative mind anyway.

What if you wanted every “A” character automatically 2✕ the size of every other character wherever it shows up? That would be weird. I can’t think of an amazing use case off the top of my head, but the web is big place and you never know. Terence Eden actually played with this though, not with the “A” character, but “Any Emoji”. It’s a nice little trick, incorporating a custom @font-face font that only matches a subset of characters (the emojis) via a unicode-range property, then uses size-adjust to boost them up. Just include the font in the used stack and it works! I think this qualifies as creative coding as much as anything else does.

Adam covered a bit of a classic CSS trick the other day, when when you hover over an element, all the elements fade out except the one you’re on. The usage of @media (hover) is funky looking to me, but it’s a nice touch, ensuring the effect only happens on devices that actually have “normal” hover states as it were. Again that’s the kind of creative coding that leads fairly directly into everyday useful concepts.

OK last one. Maybe channel some creative coding into making your RSS feed look cool? Here’s a tool to see what it could look like. It uses the absolutely strange <?xml-stylesheet type="text/xsl" href="/rss.xsl" ?> line that you plop into the XML and it loads up like a stylesheet, which is totally a thing.

0 Comments

Recommended Comments

There are no comments to display.

Important Information

Terms of Use Privacy Policy Guidelines We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.