GithubHelp home page GithubHelp logo

Comments (5)

calculuschild avatar calculuschild commented on June 27, 2024

And for fun, here's a crack at a D100. First is close to @Gazook89 's "stroked" style. Second matches the original DiceFont but in practice is barely legible without making the icon huge because the text is so small.

image

from homebrewery.

5e-Cleric avatar 5e-Cleric commented on June 27, 2024

Definitely prefer the second option, way more space between numbers and other lines

from homebrewery.

Gazook89 avatar Gazook89 commented on June 27, 2024

d10-10-big

Here is a better take on the 'stroked' numbers. Affinity Designer has a "Contour Tool" that can expand the edges of a shape, like a stroke, but keep the edge of that stroke as a vector path. I'm sure InDesign and Inkscape have similar (I know inkscape has stroke-to-path capabilities which is similar).

So my process here was:

  1. Open existing glyph svg in Designer
  2. Duplicate the number layer (an SVG curve)
  3. Use Contour Tool on the duplicated layer, and set radius to .6px
  4. Select the dice shape layer, and the duplicated layer, and use the Subtract operation
  5. export to SVG.

Unfortunately, Designer doesn't have any scripting. Other programs do.

Edit: Here is a "100". I don't know if there is any use for it, but I wanted to try a 3 digit number and it was easy to do (note, the first example above is an actual SVG I imported, and this is just a screenshot of my workspace).

image

from homebrewery.

Gazook89 avatar Gazook89 commented on June 27, 2024

I had a thought, more of just a "maybe this would be cool to try": A variable font that used multiple alternate glyphs on a single axis.....applied here, it would be a single character that would change the displayed glyph based on something like the font-weight. So a d10 character, that when set to font-weight: 1 would display a d10 glyph with the number 1 showing. Change the font-weight to 2, and it would be the same character but display a 2 on it.

This isn't useful at all, I don't think, but you can read more about glyph swapping here. https://glyphsapp.com/learn/alternating-glyph-shapes

from homebrewery.

5e-Cleric avatar 5e-Cleric commented on June 27, 2024

This isn't useful at all, I don't think, but you can read more about glyph swapping here. https://glyphsapp.com/learn/alternating-glyph-shapes

I disagree, variable fonts are great! i just don't know exactly how they work just yet, or how to make them! If i did we would likely be using them.

from homebrewery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.