[vim/vim] runtime(files): remove coincident lines and reshade vimlogo.svg (PR #21050)
Shay Hill (Vim Github Repository) <[email protected]>
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/pull/[email protected]> |
Remove coincident lines and stroke attributes from vimlogo.svg to facilitate printing, vinyl, and document conversion. Re-shade diamond bevels with an NPR shader, preserving original face color.
This is a 98% faithful update of my own 98% faithful update of the Vim logo at `[https://www.vim.org/logos.php](https://www.vim.org/logos.php)`. Coincident lines ("puzzle-piecing") can lead to background color peeking through during rasterization. Because of the consistent use of black outlines, the Vim logo can be drawn without coincident lines (at no point do three colors meet at a corner). I've taken advantage of that to remove coincident edges and any use of stroke attributes. This is now a 100% vector file without any svg-specific attributes that might get misinterpreted in a format conversion. Each color is 1 layer. Black outlines are areas in the black layer that are not covered by higher layers.
I've also made an update to the lighting. The original diamond had what looked to have been warm-to-cool shading which might have been clipped during a file operation. Warm-to-cool shading goes far back with the logo: the 32x32 pixelated size in [vim.ico](https://github.com/vim/vim/tree/master/runtime/bitmaps) has bright green and definitely blue pixels used for shading.
<img width="561" height="551" alt="vim32" src="https://github.com/user-attachments/assets/4dc9795b-b93c-44de-9a48-0f65149658fd" />
In my first update, I mimicked the original warm-to-cool shading with a photo-real light setup with yellow lights on a cooler-green surface to meet in the middle at "Vim green". That was OK, I've written a non-photoreal shader for this version that I think does a better job. It's the kind of shader used in technical drawings.
Here are all three: original, first update, this update from left to right. **The pull request has an opaque white outline, exactly like the original**. I've only made it partially transparent in the comparison to highlight how the geometry changes facilitate a partially transparent outline.
<img width="1042" height="396" alt="vimlogo3" src="https://github.com/user-attachments/assets/c962e2c4-17a2-4700-a808-1f4ef62f1b97" />
For what it's worth, this is entirely script generated, so "made in Vim".
You can view, comment on, or merge this pull request online at:
https://github.com/vim/vim/pull/21050
-- Commit Summary --
* runtime(files): remove coincident lines and reshade vimlogo.svg
-- File Changes --
M runtime/vimlogo.svg (40)
-- Patch Links --
https://github.com/vim/vim/pull/21050.patch
https://github.com/vim/vim/pull/21050.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/21050
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/pull/[email protected]>
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/21050%40github.com.