era

Engineering interfacial entropic effects to generate giant viscosity changes in nanoparticle embedded polymer thin films

Soft Matter, 2020, 16,4065-4073
DOI: 10.1039/D0SM00019A, Paper
Aparna Swain, Nafisa Begam, Sivasurender Chandran, M. S. Bobji, J. K. Basu
We demonstrate a new method to study the viscosity of PNC thin films, consisting of polymer grafted nanoparticles (PGNPs) embedded in un-entangled homopolymer melt films, using atomic force microscopy based force–distance spectroscopy.
The content of this RSS Feed (c) The Royal Society of Chemistry




era

Correction: Preparation of electrospray ALG/PDA–PVP nanocomposites and their application in cancer therapy

Soft Matter, 2020, 16,4074-4074
DOI: 10.1039/D0SM90064H, Correction
Open Access
  This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.
Yangjie Xu, Jiulong Zhao, Zhilun Zhang, Jing Zhang, Mingxian Huang, Shige Wang, Pei Xie
The content of this RSS Feed (c) The Royal Society of Chemistry




era

Formation of Fibrillar Crystals Strongly Accelerates the Form II to I Transformation of Polybutene-1

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00572J, Paper
Jiaqi Zhang, Chang Liu, Xintong Zhao, Zhijie Zhang, Quan Chen
This study examines shear-induced formation of fibrillar form II crystals and subsequent form II to I transformation of an isotactic polybutene-1 sample through a combination of rheology, polarized optical microscope...
The content of this RSS Feed (c) The Royal Society of Chemistry




era

Liposomal adhesion via electrostatic interactions and osmotic deflation increase membrane tension and lipid diffusion coefficient

Soft Matter, 2020, Advance Article
DOI: 10.1039/D0SM00416B, Paper
Atsushi Oda, Chiho Watanabe, Natsumi Aoki, Miho Yanagisawa
Liposome–liposome adhesion by electrostatic interactions and osmotic contraction increase membrane tension and the lipid diffusion coefficient compared to isolated liposomes.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




era

Investigating the Role of Carbon Nanotubes (CNTs) in Piezoelectric Performance of PVDF/KNN based Flexible Electrospun Nanogenerator

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00438C, Paper
Satyaranjan Bairagi, Wazed Ali
In the present study, the effect of varying concentrations of carbon nanotube (CNT) on the piezoelectric performance of poly (vinylidene fluoride) (PVDF)/potassium sodium niobate (KNN) based electrospun nanocomposite has been...
The content of this RSS Feed (c) The Royal Society of Chemistry




era

A theory for the temperature effect on the chain length dependence of the diffusivity of oligomers

Soft Matter, 2020, 16,4283-4289
DOI: 10.1039/C9SM02505G, Paper
Chi Pui Jeremy Wong, Phillip Choi
Temperature effect on the size dependence of the diffusivity of oligomers is explained by free volume theory.
The content of this RSS Feed (c) The Royal Society of Chemistry




era

Rapid analysis of cell-generated forces within a multicellular aggregate using microsphere-based traction force microscopy

Soft Matter, 2020, 16,4192-4199
DOI: 10.1039/C9SM02377A, Paper
Buğra Kaytanlı, Aimal H. Khankhel, Noy Cohen, Megan T. Valentine
We measure cell-generated forces from the deformations of elastic microspheres embedded within multicellular aggregates. Using a computationally efficient analytical model, we directly obtain the full 3D mapping of surface stresses within minutes.
The content of this RSS Feed (c) The Royal Society of Chemistry




era

Protonated state and synergistic role of Nd3+ doped barium cerate perovskite for the enhancement of ionic pathways in novel sulfonated polyethersulfone for H2/O2 fuel cells

Soft Matter, 2020, 16,4220-4233
DOI: 10.1039/D0SM00427H, Paper
R. Gayathri, M. Ramesh Prabhu
1.8 times higher current density and power density were obtained for a Nd3+ doped barium cerate membrane compared to pure SPES.
The content of this RSS Feed (c) The Royal Society of Chemistry




era

Correlation of Hierarchical Structure and Rheological Behavior of Polypseudorotaxane Gel Composed of Pluronic and β-cyclodextrin

Soft Matter, 2020, Accepted Manuscript
DOI: 10.1039/D0SM00406E, Paper
kuo-chih Shih, Chien-You Su, Shing-Yun Chang, Grethe V Jensen, Chi-Chung Hua, Mu-Ping Nieh, Hsi-Mei Lai
We have identified the hierarchical (primary, secondary, tertiary and quaternary) structures of a polypseudorotaxane (PPR) gel composed of Pluronic F108 and β-cyclodextrin system to be β-cyclodextrin crystalline, lamellar sheets, lamellar...
The content of this RSS Feed (c) The Royal Society of Chemistry




era

How do you accelerate your hybrid applications?


When apps are from Mars and infrastructure is from Venus, how do you accelerate your Hybrid Applications?
More RSS Feed for Cisco: newsroom.cisco.com/rss-feeds ...




era

[ASAP] Plasmon-Mediated Coherent Superposition of Discrete Excitons under Strong Exciton–Plasmon Coupling in Few-Layer MoS<sub>2</sub> at Room Temperature

ACS Photonics
DOI: 10.1021/acsphotonics.0c00233




era

[ASAP] Room Temperature Graphene Mid-Infrared Bolometer with a Broad Operational Wavelength Range

ACS Photonics
DOI: 10.1021/acsphotonics.0c00028




era

[ASAP] Hierarchical Plasmon Resonances in Fractal Structures

ACS Photonics
DOI: 10.1021/acsphotonics.0c00110




era

[ASAP] Terahertz Spectroscopy of Gas Mixtures with Dual Quantum Cascade Laser Frequency Combs

ACS Photonics
DOI: 10.1021/acsphotonics.9b01758




era

Interactivity and Animation with Variable Fonts

Mandy Michael turns the corner on our variable font adventure and stumbles into a grotto of wonder and amazement. Not forgetting the need for a proper performance budget, Mandy shows how variable fonts can free your creativity from bygone technical constraints.


If you read Jason’s introductory article about variable fonts, you’ll understand the many benefits and opportunities that they offer in modern web development. From this point on we’ll assume that you have either read Jason’s introduction or have some prior knowledge of variable fonts so we can skip over the getting started information. If you haven’t read up on variable fonts before jump over to “Introduction to Variable Fonts: Everything you thought you knew about fonts just changed” first and then come join me back here so we can dive into using variable fonts for interactivity and animations!

Creative Opportunities

If we can use variable fonts to improve the performance of our websites while increasing the amount of style variations available to us, it means that we no longer need to trade off design for performance. Creativity can be the driving force behind our decisions, rather than performance and technical limitations.

Cookie text effect font: This Man is a Monster, by Comic Book Fonts.

My goal is to demonstrate how to create interactive, creative text on the web by combining variable fonts with CSS and JavaScript techniques that you may already be familiar with. With the introduction of variable fonts, designs which would have previously been a heavy burden on performance, or simply impossible due to technical limitations, are now completely possible.

Still I Rise Poem by Maya Angelou, Demo emphasising different words with variable fonts. View on Codepen.
Variable fonts demo with CSS Grid using multiple weights and font sizes to emphasise different parts of the message. View on Codepen.

The tone and intent of our words can be more effectively represented with less worry over the impacts of loading in “too many font weights” (or other styles). This means that we can start a new path and focus on representing the content in more meaningful ways. For example, emphasising different words, or phrases depending on their importance in the story or content.

Candy Cane Christmas Themed Text Effect with FS Pimlico Glow by Font Smith. View on Codepen.

Note: using variable fonts does not negate the need for a good web font performance strategy! This is still important, because after all, they are still fonts. Keep that in mind and check out some of the great work done by Monica Dinculescu, Zach Leatherman or this incredible article by Helen Homes.

Variable Fonts & Animations

Because variable fonts can have an interpolated range of values we can leverage the flexibility and interactive nature of the web. Rather than using SVG, videos or JavaScript to accomplish these effects, we can create animations or transitions using real text, and we can do this using techniques we may already be familiar with. This means we can have editable, selectable, searchable, copy-pastable text, which is accessible via a screenreader.

Grass Variable Font Demo

Growing Grass Variable Font Text. Demo on Codepen.

This effect is achieved using a font called Decovar, by David Berlow. To achieve the animation effect we only need a couple of things to get started.

First, we set up the font-family and make use of the new property font-variation-settings to access the different axes available in Decovar.

h1 {
  font-family: "Decovar";
  font-variation-settings: 'INLN' 1000, 'SWRM' 1000;
}

For this effect, we use two custom axis – the first is called “inline” and is represented by the code INLI and the second is “skeleton worm” represented by the code SWRM. For both axes, the maximum value is 1000 and the minimum value is 0. For this effect, we’ll make the most of the full axis range.

Once we have the base set up, we can create the animation. There are a number of ways to animate variable fonts. In this demo, we’ll use CSS keyframe animations and the font-variation-settings property, but you can also use CSS transitions and JavaScript as well.

The code below will start with the “leaves” expanded and then shrink back until it disappears.

@keyframes grow {
  0% {
    font-variation-settings: 'INLN' 1000, 'SWRM' 1000;
  }
  100% {
    font-variation-settings: 'INLN' 1000, 'SWRM' 0;
  }
}

Once we have created the keyframes we can add the animation to the h1 element, and that is the last piece needed in order to create the animation.

h1 {
  font-family: "Decovar";
  font-variation-settings: 'INLN' 1000, 'SWRM' 1000;
  animation: grow 4s linear alternate infinite;
}

What this demonstrates is that typically, to accomplish effects like this, the heavy lifting is done by the font. We really only need a few lines of CSS for the animation, which if you think about it, is pretty incredible.

There are all sorts of interesting, creative applications of variable fonts, and a lot of incredible fonts you can make the most of. Whether you want to create that “hand-writing” effect that we often see represented with SVG, or something a little different, there are a lot of different options.

Duos Writer: Hand Writing

Demo of hand writing variable font, Duos Writer by Underware.

Decovar: Disappearing Text

See the Pen CSS-only variable font demo using Decovar Regular by Mandy Michael (@mandymichael) on CodePen.

Cheee: Snow Text

Snow Text Effect - Text fills up with snow and gets “heavier” at the bottom as more snow gathers. Featuring “Cheee” by OhNoTypeCo. View on Codepen.

Variable Fonts, Media Queries and Customisation

It’s not that these are just beautiful or cool effects, what they demonstrate is that as developers and designers we can now control the font itself and that that means is that variable fonts allow typography on the web to adapt to the flexible nature of our screens, environments and devices.

We can even make use of different CSS media queries to provide more control over our designs based on environments, light contrast and colour schemes.

Though the CSS Media Queries Level 5 Spec is still in draft stages, we can experiment with the prefers-color-scheme (also known as dark mode) media query right now!

Dark Mode featuring Oozing Cheee by OhNoTypeCo

Oozing Dark Mode Text featuring “Cheee” by OhNoTypeCo. View Demo on Codepen.

The above example uses a font called “Cheee” by OhNoTypeCo and demonstrates how to make use of a CSS Transition and the prefers-color-scheme media query to transition the axis of a variable font.

h1 {
  font-family: “Cheee"
  font-variation-settings: "TEMP" 0;
  transition: all 4s linear;
}

@media (prefers-color-scheme: dark) {
  h1 {
    font-variation-settings: "TEMP" 1000;
  }
}

Dark mode isn’t just about changing the colours, it’s important to consider things like weight as well. It’s the combination of the weight, colour and size of a font that determines how legible and accessible it is for the user. In the example above, I’m creating a fun effect – but more practically, dark mode allows us to modify the contrast and styles to ensure better legibility and usability in different environments.

What is even more exciting about variable fonts in this context is that if developers and designers can have this finer control over our fonts to create more legible, accessible text, it also means the user has access to this as well. As a result, users that create their own stylesheets to customise the experience to their specific requirements, can now adjust the pages font weight, width or other available axis to what best suits them. Providing users with this kind of flexibility is such an incredible opportunity that we have never had before!

As CSS develops, we’ll have access to different environmental and system features that allow us to take advantage of our users unique circumstances. We can start to design our typography to adjust to things like screen width - which might allow us to tweak the font weight, width, optical size or other axes to be more readable on smaller or larger screens. Where the viewport is wide we can have more detail, when its smaller in a more confined space we might look at reducing the width of the font—this helps to maintain the integrity of the design as the viewport gets smaller or, to fit text into a particular space.

See the Pen CSS is Awesome - Variable fonts Edition. by Mandy Michael (@mandymichael) on CodePen.

We have all been in the situation where we just need the text to be slightly narrower to fit within the available space. If you use a variable font with a width axis you can slightly modify the width to adjust to the space available, and do so in a way that the font was designed to do, rather than using things like letter spacing which doesn’t consider the kerning of the characters.

Variable Fonts, JavaScript and Interactive Effects

We can take these concepts even further and mix in a little JavaScript to make use of a whole suite of different interactions, events, sensors and apis. The best part about this is whether you are using device orientation, light sensors, viewport resizes, scroll events or mouse movement, the base JavaScript doesn’t really change.

To demonstrate this, we’ll use a straightforward example – we’ll match our font weight to the size of our viewport – as the viewport gets smaller, the font weight gets heavier.

Demo: As the viewport width changes, the weight of the text “Jello” becomes heavier.

We’ll start off by setting our base values. We need to define the minimum and maximum axis values for the font weight, and the minimum and maximum event range, in this case the viewport size. Basically we’re defining the start and end points for both the font and the event.

// Font weight axis range
const minAxisValue = 200
const maxAxisValue = 900

// Viewport range
const minEventValue = 320px
const maxEventValue = 1440px

Next we determine the current viewport width, which we can access with something like window.innerWidth.

// Current viewport width
const windowWidth = window.innerWidth

Using the current viewport width value, we create the new scale for the viewport, so rather than the pixels values we convert it to a range of 0 - 0.99.

const windowSize = (windowWidth - minEventValue) / (maxEventValue - minEventValue)
// Outputs a value from 0 - 0.99

We then take that new viewport decimal value and use it to determine the font weight based on viewport scale.

const fontWeight = windowSize * (minAxisValue - maxAxisValue) + maxAxisValue;
// Outputs a value from 200 - 900 including decimal places

This final value is what we use to update our CSS. You can do this however you want – lately I like to use CSS Custom Properties. This will pass the newly calculated font weight value into our CSS and update the weight as needed.

// JavaScript
p.style.setProperty("--weight", fontWeight);

Finally, we can put all this inside a function and inside an event listener for window resize. You can modify this however you need to in order to improve performance, but in essence, this is all you need to achieve the desired outcome.

function fluidAxisVariation() {
  // Current viewport width
  const windowWidth = window.innerWidth

  // Get new scales for viewport and font weight
  const viewportScale = (windowWidth - 320) / (1440 - 320);
  const fontWeightScale = viewportScale * (200 - 900) + 900;

  // Set in CSS using CSS Custom Property
  p.style.setProperty("--weight", fontWeightScale);
}

window.addEventListener("resize", fluidAxisVariation);

You can apply this to single elements, or multiple. In this case, I’m changing the paragraph font weights and different rates, but also reducing the width axis of the headline so it doesn’t wrap onto multiple lines.

As previously mentioned, this code can be used to create all sorts of really amazing, interesting effects. All that’s required is passing in different event and axis values.

In the following example, I’m using mouse position events to change the direction and rotation of the stretchy slinky effect provided by the font “Whoa” by Scribble Tone.

See the Pen Slinky Text - WHOA Variable font demo by Mandy Michael (@mandymichael) on CodePen.

We can also take the dark mode/colour schemes idea further by making use of the Ambient Light Sensor to modify the font to be more legible and readable in low light environments.

This effect uses Tiny by Jack Halten Fahnestock from Velvetyne Type Foundry and demonstrates how we modify our text based by query the characteristics of the user’s display or light-level, sound or other sensors.

It’s only because Variable fonts give us more control over each of these elements that we can fine-tune the font characteristics to maximise the legibility, readability and overall accessibility of our website text. And while these examples might seem trivial, they are great demonstrations of the possibilities. This is a level of control over our fonts and text that is unprecedented.

Using device orientation to change the scale and weight of individual characters. View on Codepen.

Variable Fonts offer a new world of interactivity, usability and accessibility, but they are still a new technology. This means we have the opportunity to figure out how and what we can achieve with them. From where I stand, the possibilities are endless, so don’t be limited by what we can already do – the web is still young and there is so much for us to create. Variable fonts open up doors that never existed before and they give us an opportunity to think more creatively about how we can create better experiences for our users.

At the very least, we can improve the performance of our websites, but at best, we can make more usable, more accessible, and more meaningful content - and that, is what gets me really excited about the future of web typography with variable fonts.


About the author

Mandy is a community organiser, speaker, and developer working as the Front End Development Manager at Seven West Media in Western Australia. She is a co-organiser and Director of Mixin Conf, and the founder and co-organiser of Fenders, a local meetup for front-end developers providing events, mentoring and support to the Perth web community.

Mandy’s passion is CSS, HTML and JS and hopes to inspire that passion in others. She loves the supportive and collaborative nature of the web and strives to encourage this environment through the community groups she is a part of. Her aim is to create a community of web developers who can share, mentor, learn and grow together.

More articles by Mandy




era

MITCHELL, GERALD P. v. WISCONSIN. Decided 06/27/2019




era

Prisoners of politics: breaking the cycle of mass incarceration / Rachel Elise Barkow

Online Resource




era

Raymond Aron and liberal thought in the twentieth century / Iain Stewart, University College London

Dewey Library - JC261.A7 S74 2020




era

Trump and his generals: the cost of chaos / Peter Bergen

Dewey Library - UA23.B415 2019




era

Reclaiming Liberalism David F. Hardwick, Leslie Marsh, editors

Online Resource




era

Managing interdependencies in federal systems: intergovernmental councils and the making of public policy / Johanna Schnabel

Online Resource




era

Mathematics to the rescue of democracy: what does voting mean and how can it be improved? / Paolo Serafini

Online Resource




era

Reflections on socialism in the Twenty-First Century: facing market liberalism, rising inequalities and the environmental imperative / Claes Brundenius, editor

Online Resource




era

The politics of war powers: the theory and history of Presidential unilateralism / Sarah Burns

Dewey Library - JK560.B87 2019




era

Why veterans run: military service in American presidential elections, 1789-2016 / Jeremy M. Teigen

Dewey Library - JK524.T36 2018




era

The morals of the market: human rights and the rise of neoliberalism / Jessica Whyte

Dewey Library - JC574.W428 2019




era

The political theory of neoliberalism / Thomas Biebricher

Dewey Library - JC574.B54 2018




era

Liberalism is not enough: race and poverty in postwar political thought / Robin Marie Averbeck

Dewey Library - JC574.2.U6 A79 2018




era

Unbearable life: a genealogy of political erasure / Arthur Bradley

Dewey Library - JF801.B69 2019




era

Brazil: neoliberalism versus democracy / Alfredo Saad-Filho and Lecio Morais

Rotch Library - JL2431.S23 2018




era

Imperial nation: ruling citizens and subjects in the British, French, Spanish, and American empires / Joseph M. Fredera ; translated by Ruth MacKay

Dewey Library - JC359.F6313 2018




era

Janus democracy: transconsistency and the general will / Richard T. Longoria

Dewey Library - JK1764.L84 2018




era

Anti-pluralism: the real populist threat to liberal democracy / William A. Galston ; foreword by James Davison and John M. Owen IV

Dewey Library - JK1726.G35 2018




era

Identities, trust, and cohesion in federal systems: public perspectives / edited by Jack Jedwab and John Kincaid

Dewey Library - JC355.I34 2018




era

Pork barrel politics: how government spending determines elections in a polarized era / Andrew H. Sidman

Dewey Library - JK1976.S58 2019




era

False alarm: the truth about political mistruths in the Trump era / Ethan Porter, Thomas J. Wood

Dewey Library - JK1726.P67 2019




era

Getting wrecked: women, incarceration, and the American opioid crisis / Kimberly Sue

Dewey Library - HV8738.S835 2019




era

Federalism and national diversity in the 21st Century / Arjun Tremblay, Alain-G Gagnon

Online Resource




era

In the ruins of neoliberalism: the rise of antidemocratic politics in the West / Wendy Brown

Dewey Library - JC423.B83 2019




era

Borders and margins: federalism, devolution and multi-level governance / Guy Lachapelle, Pablo Oñate, [editors]

Dewey Library - JC355.B67 2018




era

Inequality and democratic egalitarianism: 'Marx's economy and beyond' and other essays / Mark Harvey and Norman Geras

Dewey Library - JC575.H378 2018




era

Why liberalism failed / Patrick J. Deneen ; foreword by James Davison Hunter and John M. Owen IV.

Dewey Library - JC574.D473 2018




era

The limits of liberalism: tradition, individualism, and the crisis of freedom / Mark T. Mitchell

Dewey Library - JC574.M568 2019




era

If you're a classical liberal, how come you're also an egalitarian: a theory of rule egalitarianism / Åsbjørn Melkevik

Online Resource




era

India's nuclear proliferation policy: the impact of secrecy on decision making, 1980-2010 / Gaurav Kampani

Dewey Library - UA840.K245 2020




era

Dilsukhnagar blasts case: Yasin Bhatkal brought to Hyderabad

Yaskin Bhatkal's close associate Asadullah Akhtar is presently being interrogated by the NIA.




era

Hyderabad blasts: IM co-founder Bhatkal sent to judicial custody remand till Oct 17

After an initial probe by Andhra Pradesh police, the NIA had taken over the case.




era

Mumbai building collapse: Death toll climbs to 61, rescue operation to be called off soon

The five-storey building, owned by the BMC had collapsed early morning on Friday.




era

TRS President for Hyderabad as Telangana capital, warns stir

KCR's statement came against the backdrop of reports of proposals making Hyderabad a UT.




era

Seven suspected SIMI operatives flee from MP jail with rifles

The prisoners were successful in fleeing after stabbing two security guards.