Professional Documents
Culture Documents
AR.JS
Take a look at the
project bringing
you WebAR
AR TED TO
R
STA
ON T
H
CRE E WEB
ATE ANY
OR E ON
XPE E CA
RIEN N
CE A
R
ACCESSIBILITY AND UX
WEBASSEMBLY: WHAT IS IT?
PARALLAX EFFECTS WITH WEBFLOW
ISSUE 305
MOZILLA’S BROWSER COMPATIBILITY PROJECT
Welcome
WELCOME
EDITOR’S NOTE
It’s perhaps fitting that as I settle into my for AR and examining the many applications it could
new role as editor of net, we’re considering have for web design.
the new reality of web design. Having gotten But this isn’t our only look at how web design
devoted Pokefans out in the streets en masse and can reflect on reality this issue. Audrée Lapierre
homeowners arranging flatpack furniture via their gives a breakdown of how you can craft deft data
mobile phones, augmented reality (AR) is rapidly visualisations, covering everything from digging
taking over in the web-design space. Thanks in no out the right datasets to crafting a silky smooth UX.
small part to AR.js and WebAR, it is now enabling Meanwhile, Tom Smith takes a look at how WebGL
developers to create designs that break the bounds can be used to create immersive 3D in-browser
of the page and offer a highly enriched experience as experiences that take the user’s breath away. Finally,
people browse the net. in our Project section, Neil Pearce shows how you can
That’s why this issue we’re doing a deep dive whip up and wow fashionistas with your slick split-
into all things AR. Alexandra Etienne, the AR/VR screen landing pages.
evangelist, is looking into the current state of play Enjoy the issue!
FEATURED AUTHORS
ALE X ANDRA AUDRÉE SUE CHRISTINA
E TIENNE L APIERRE BICK NELL KING
Alexandra is a AR/VR evangelist Audrée is creative director of Sue’s been involved in interviewing Christina works as a social media
currently working with Lightform, a FFunction, an award-winning graphic design graduates for over executive at award-winning digital
startup founded by ex-Microsoft/ data visualisation studio based in 25 years. On page 20, she offers agency Createful. She curated our
Disney researchers. She delves into Montréal. On page 68, she offers up up essential advice to design Gallery on page 40 this month,
AR on page 60. her expertise on crafting superlative students in their final year on featuring wildlife and wine.
w: medium.com/@AndraConnect data viz. rustling up their first design role. w: createful.com
t: @AndraConnect t:@audreelapierre w: http://www.brownandco.co/ t: @christina_king1
may 2018 3
Future PLC, Richmond House, 33 Richmond Hill, Bournemouth, BH2 6EZ +44 (0)1202 586200
@netmag /netmag flickr.com/photos/netmag netmag@futurenet.com net.creativebloq.com medium.com/net-magazine
EDITORIAL
Senior Art Editor Will Shum Editor Josh Russell
CREATIVE BLOQ
Acting Editor Julia Sagar juliasagar@futurenet.com
Operations Editor Ruth Hamilton Production Editor Ella Taylor Staff Writer Dominic Carter
CONTRIBUTIONS
Sarah Bankes, Sue Bicknell, Carl Cahill, Kyle Carpenter, Jo Cole, Tanya Combrinck, Alexandra Etienne, Natasha Hockey, Steve Jenkins, Sue Jenkins, Simon Jones,
Francis Kagumba, Anna Kelian, Christina King, Audree Lapierre, Oliver Lindberg, Richard Mattka, Tom May, Jim McCauley, Christopher Murphy, Neil Pearce,
Florian Scholz, Tom Smith
PHOTOGRAPHY
All copyrights and trademarks are recognised and respected
ADVERTISING
Media packs are available on request
Commercial Director Clare Dove clare.dove@futurenet.com Advertising Manager Michael Pyatt michael.pyatt@futurenet.com
Account Director Chris Mitchell chris.mitchell@futurenet.com
INTERNATIONAL
net is available for licensing. Contact the International department to discuss partnership opportunities
International Licensing Director Matt Ellis matt.ellis@futurenet.com
CIRCULATION
Head of Newstrade Tim Mathers 01202 586200
PRODUCTION
Head of Production US & UK Mark Constance Production Project Manager Clare Scott Advertising Production Manager Joanne Crosby
Digital Editions Controller Jason Hudson Production Manager Nola Cokely
MANAGEMENT
Chief Operations Officer Aaron Asadi Commercial Finance Director Dan Jotcham
Group Content Director Paul Newman Head of Art & Design Greg Whittaker
PRINTED BY
Wyndeham Peterborough, Storey’s Bar Road, Peterborough, Cambridgeshire, PE1 5YS
DISTRIBUTED BY
Marketforce, 5 Churchill Place, Canary Wharf, London, E14 5HU www.marketforce.co.uk 0203 787 9001
ISSN 1355-7602
Zh#duh#frpplwwhg#wr#rqo|#xvlqj#pdjd}lqh#sdshu#zklfk#lv#ghulyhg#iurp#uhvsrqvleo|#pdqdjhg/#fhuwlĽhg#iruhvwu|#dqg#fkorulqh0iuhh#pdqxidfwxuh1#Wkh#sdshu#lq#wklv#pdjd}lqh#zdv#vrxufhg#dqg#surgxfhg#iurp#vxvwdlqdeoh#pdqdjhg#iruhvwv/#
frqiruplqj#wr#vwulfw#hqylurqphqwdo#dqg#vrflrhfrqrplf#vwdqgdugv1#Wkh#pdqxidfwxulqj#sdshu#ploo#krogv#ixoo#IVF#+Iruhvw#Vwhzdugvkls#Frxqflo,#fhuwlĽfdwlrq#dqg#dffuhglwdwlrq
DISCLAIMER
All contents © 2018 Future Publishing Limited or published under licence. All rights reserved. No part of this magazine may be used, stored,
transmitted or reproduced in any way without the prior written permission of the publisher. Future Publishing Limited (company number 2008885)
is registered in England and Wales. Registered office: Quay House, The Ambury, Bath BA1 1UA. All information contained in this publication is
for information only and is, as far as we are aware, correct at the time of going to press. Future cannot accept any responsibility for errors or
inaccuracies in such information. You are advised to contact manufacturers and retailers directly with regard to the price of products/services
referred to in this publication. Apps and websites mentioned in this publication are not under our control. We are not responsible for their contents or
any other changes or updates to them. This magazine is fully independent and not affiliated in any way with the companies mentioned herein.
If you submit material to us, you warrant that you own the material and/or have the necessary rights/permissions to supply the material and you Future plc is a public Chief executive Zillah Byng-Thorne
company quoted on the Chairman Richard Huntingford
automatically grant Future and its licensees a licence to publish your submission in whole or in part in any/all issues and/or editions of publications, London Stock Exchange !ǝǣƺǔˡȇƏȇƬǣƏǼȒǔˡƬƺȸ Penny Ladkin-Brand
in any format published worldwide and on associated websites, social media channels and associated products. Any material you submit is sent (symbol: FUTR)
at your own risk and, although every care is taken, neither Future nor its employees, agents, subcontractors or licensees shall be liable for loss www.futureplc.com Tel +44 (0)1225 442 244
or damage. We assume all unsolicited material is for publication unless otherwise stated, and reserve the right to edit, amend, adapt all submissions.
4 may 2018
Issue 305 : May 2018 : net.creativebloq.com
FEED FEED
SIDE PROJECT 13
WORKSPACE 16
Learn about Aperitif, which builds Natasha Hockey, designer at Hinge and co-organiser of Soton Women
responsive HTML prototypes in seconds in Web, gives us a behind the scenes look at her Southampton studio
BEYOND PIXELS 15
Sue Jenkins on deciding to learn the lingo
VOICES
GRADUATE JOB SEEKING 20
Sue Bicknell offers essential advice for any
design student in their final year
BIG QUESTION 34
Our experts reveal the steps they’ve taken
TAKE ADVANTAGE OF THE
to stay happy and avoid burnout
SUBSCRIBE TO NET PRINT AND DIGITAL BUNDLE
WEBASSEMBLY 36 Turn to page 18 to find out more about
Simon Jones looks at bringing the AND SAVE UP TO 47% the savings on offer for subscribers
performance of languages like C to the web
6 may 2018
Contents
REGULAR
GALLERY 40
Christina King runs
down her favourite
websites of the month,
including WWF Australia, a
vibrant site immersing users
in the natural world
REGULARS
EXCHANGE 08
Alex Russell and Catt Small share their
expert advice with readers
SHOWCASE
DESIGN CHALLENGE 46
Three designers mock up superlative sites
to showcase student accommodation
PROFILE 50
We talk to Luke Twyman about Ninja Tune,
data viz and the struggle to stay motivated
HOW WE BUILT 56
Salad on using beautiful data to bring the
Commonwealth Games to life
FEATURES
PROJECTS
CHANGING HOW THE ART OF DATA GRAPHIC SHADERS 82
WE DESIGN AND VISUALISATION 68 Richard Mattka digs further into graphic
DEVELOP AR 60 Audree Lapierre reveals the process shaders, looking at image post-processing
Alexandra Etienne examines the tools required to turn crude data into
shaping new experiences captivating visualisations MDN BROWSER COMPATIBILITY 86
Florian Scholz looks at the data set making
checking browser compatibility easier
WEBFLOW 88
PROJECT Anna Kelian explores parallax, animating
BUILD A SPLIT-SCREEN images and creating depth as you scroll
LANDING PAGE 76
Neil Pearce shows you how to SWEETALERT 92
develop an animated split- Francis Kagumba creates a consistent UI
screen landing page using HTML, for dialog boxes with the JavaScript library
Sass and a touch of vanilla JavaScript
ACCESSIBILITY 98
Carl Cahill asks what lengths you should go
to make sure you cater for accessibility
may 2018 7
Practical
advice from
Send your questions to netmag@futurenet.com industry experts
Browser support is growing for PWAs: useful tools include Lighthouse, an open-source, automated tool for
improving your apps in Google Chrome
8 may 2018
Q&As
3 SIMPLE STEPS
I run a small open-
source project. We have
volunteers with great skills
but not much CSS, UX and
product design expertise.
As the maintainer,
anything we don’t have
Etsy has its own design systems team, which builds systems and experiences that express Etsy’s brand in a
creative and usable way
falls to me. What’s the
best way to crash-course?
Kade Morton, New Zealand
to user engagement, a designer might CS: Design systems are an extremely
have one centred around improving important part of digital products. I’ve CS: UX design takes a bit of time
low-engagement experiences. A front- worked with several during my career, and practice to learn, but you can
end developer at that same company including at Etsy. The best design teams get some basics under your belt by
might have KPIs focused on improving understand the value of creating and reading books like The User Experience
areas in the codebase that might deter maintaining design systems, especially Team of One by Leah Buley, Designed for
engagement, such as page load times. once a product reaches a certain scale. Use by Lukas Mathis, Don’t Make Me Think
Wklv#hqdeohv#shrsoh#zlwk#glļhuhqw#vnloo# The best method I’ve seen so far by Steve Krug, and Technically Wrong by
vhwv#wr#kdyh#d#vhqvh#ri#ixoĽophqw#dqg# involves a company’s designers focusing Sara Wachter-Boettcher.
understand how their work plays into on digital product user experiences,
the company’s goals. while a few ensure that the design
system evolves and stays cohesive.
PWAS A designer focused on product
NATIVE APPS ihdwxuhv#zloo#Ľqg#lw#fkdoohqjlqj#wr#
The year is 2023: what’s the state of PWAs? balance management of a design system
What’s adoption like, both by publishers with their regular work. Someone fully If you have a usability question,
and device manufacturers? How is their focused on design systems will be able Nielsen Norman Group’s website
standing against native apps? Dare I ask: to point out areas of overlap across may have research from which you can
are they in app stores? an entire product and develop usage derive the answer.
Remy Sharp, Brighton guidelines. If you’re going to invest in
AR: In 2023, PWAs are just ‘how you building a design system, I strongly urge Once you’ve done some reading,
web’. Starter kits and frameworks have you to give it the attention it deserves. the best way to learn about user
become good at understanding that the experience is to try things and get
model for your data, how you sync it, PWAS feedback from your users. They won’t
and choosing (or letting users choose) DESKTOP SUPPORT always know what they want, but they
zkdw#wr#vwruh#rŀlqh#lv#fulwlfdo#wr#wkh# What is the road map for desktop support can help you find direction.
experience of a modern website. Versus of PWAs, and what desktops will be
native: there’s a loss of legacy out there, supported? Chrome OS? Windows?
but the fact that PWAs are understood Kenneth Rohde, Copenhagen, Denmark
by search engines continues to be their AR: Chrome is building support for
most important attribute. App stores: Desktop PWAs in 2018, starting with
what are those again? Windows and CrOS. But we’re playing
catch-up, to some degree. Samsung has
DESIGN already shipped support for PWAs in its
DESIGN SYSTEMS DeX environment, and Microsoft has
Do you use a design system? If yes, how do committed to launching PWA support in
you organise the maintenance between the Microsoft Store early this year. I’m
design and development? optimistic that we’ll keep the pace, but
Lisa Gringl, Austria there’s a lot of work to do!
may 2018 9
Network
THE POLL
COOL STUFF
WE LEARNED WHICH CMS DO YOU USE MOST
THIS MONTH
MY INTERNET MEA CULPA
FOR CLIENT WORK?
Back in the 1990s
and early 2000s, we 25.00% 33.00%
all thought the internet Other WordPress
was going to bring on a
kind of utopia, giving
everyone an equal voice
and allowing
unencumbered access to
massive amounts of data. 1.00%
Twenty years on… that’s Perch 7.00%
not what we have. Rick Drupal
Webb looks at what went
wrong, and what can be
done about it.
http://bit.ly/2E0YGWL 5.00%
Kirby
A DESIGN SPRINT AT 21.00%
CLEARLEFT Umbraco
No doubt you’ve
heard the term
‘design sprint’, but how
does it play out in practice? 7.00% 1.00%
This interesting and Craft ExpressionEngine
detailed case study tells
the story of how the
Clearleft team took just
two weeks to fix issues
with the checkout process
From our timeline tech was ahead of its time.
Oranges & graphic design song
at Attraction Tickets Direct. Which sites did you find most inspirational by @tmbg was clutch. Years later
http://bit.ly/2nTz0VH I ended up working there and it
when you first started out in web design? changed the whole trajectory of
HOW I GOT HIRED BY K10k the original 2Advanced, BillyBussey, my career for the better!
GITHUB designer’s lunchbox. Am old Flash ‘05 Fantasy @schutzsmith
Joel Califa recently I showing my age? Interactive website.
landed a job at http://www.cubancouncil.com/ Sadly none of these are still up. praystation.com, yugop.
GitHub and has kindly work/project/kaliber-10000 These were amazing in how com.com, flight404,
decided to share his @matthamm much they got out of Flash with k10k, kioken
answer to the assignment the combination of video, @lsbf_digital
he was given as part of the I remember being animation, and interactivity. It
recruitment process. It’s a fascinated by the was like FUI had come to life via SPACE JAM! http://bit.
great resource if you’re @mediaBOOM site (in the web. ly/2muNkCh…
interviewing for jobs and 2005/6 maybe?) That particular @teksetta Another one by an early
want to get an insight into site isn’t live anymore, but it was Flash artist that I cannot find
the recruitment process. a city you could explore (all in choppingblock.com back now. I recall it being gabbo dot
http://joelcalifa.com/blog/ Flash). The level of detail blew in 2000. com but I can’t find it. Truly a
how-i-got-hired-by-github me away! @choppingblock had a visionary artist.
@de mix of animation, sound and their @_PatBrown
10 may 2018
NEW YORK | 25–27 APRIL 2018
and
DONNA LICHAW WES BOS ABBY COVERT DAN MALL VAL HEAD more!
CLIENTS
FROM HELL 14
This month’s Clients
from Hell explores
how ‘urgent’ no
longer seems to apply
when waiting for
sign offs
12 may 2018
Side project
To kick off, can you give us a quick summary of What were the key tools behind the build
INFO
what the site is about? and development?
Aperitif is a simple online HTML prototype generator Aperitif was built using both vanilla JavaScript
that allows designers and developers to quickly mock (ES6+) and PHP 7. We didn’t want to get tied down
up a website layout or prototype within seconds. with dependencies and frameworks. By keeping
The end product is a dynamic prototype, complete things simple, we were able to deploy a lightweight
with the stylings of the selected theme and JavaScript app in a matter of days.
to power the various modules available.
How did you go about marketing the site?
CHRIS ROSE What was the inspiration for creating the service? In September 2017, we sent links to a couple of online
job: Full stack developer
We wanted to give seasoned designers and developers web design and development magazines and blogs to
w: https://aperitif.io the means to generate a quick starting point for their ask them to spread the word. All of the exposure
concept. This could then be used as a face-value Aperitif has had is thanks to the word of mouth
prototype or the skeleton of a more ambitious generated by social media.
development project. Users new to web design can
also hit the ground running with Aperitif, generating How has the site performed?
pages and pulling them apart. After being promoted by a few online blogs and some
exposure on Twitter, Aperitif has become a frequently
What did you hope to achieve when you first built used service worldwide. Since its conception back in
MAT T HE W the site? September 2017, we have had over 14,500 unique
CROUD We wanted to create something that allowed us to visitors, with the average prototype design taking less
job: Front end developer shorten the amount of time we spent producing than a minute to create. We would love any feedback
w: https://aperitif.io prototypes for clients. Instead of giving them a high- and suggestions.
may 2018 13
FEED
Clients from hell
HOW TO
PRESENT IDEAS TO
CLIENTS SO THEY
WILL LISTEN
Sometimes getting clients to listen
and take notice of your advice can
be a tricky task.
We asked @netmag followers for
their tips on how you can most
convincingly sell your ideas.
NO SURPRISES
“Share early and often,”
says @LittleHelli. “Clients respond
well to sketches. You don’t have to
GET IT DONE NOW
present finished designs. Share Exclusively for net: the latest in a series of anonymous
live, rough-sketched wireframes accounts of nightmare clients
and let them know they are a
concept that you need their CLIENTS FROM HELL
feedback on, not a design that’s
set in stone.” I work for a video production agency. received a new version of the script with entire
Almost a year ago, my boss told me about sections rewritten and expanded, requiring tons
IT’S EASIER IN PERSON an animated video project that needed to be of changes to the animation and a complete
“It may be clichéd but listen first done within two weeks and that I should drop rerecording of the voice track.
then adapt your ideas to align with everything as soon as the script was delivered. Me: I might as well be starting over from scratch
their goals,” says @DigitalDotsCo. Two weeks later I received a rough outline of the at this point. I’ll need at least two weeks.
“Also do things face-to-face project from the client but was told not to start Client: That’s unacceptable. We’re in a rush and
wherever possible. I still think this work as it wasn’t approved. Over the next need this urgently.
goes a long way; people do month, I was CCed in a series of exasperated I wound up pulling a series of late nights and
business with people after all.” emails about the state of the script. Finally I got made miracles happen, delivering a finished
a full version and my boss told me to get it done. product in just under a week. By this time, the
MAKE A VIDEO I made the video in two weeks and submitted it project had gained notoriety in my whole
If you can’t be in the same room as to the client to review. Almost a month passed department, with a betting pool on how long it
your client, @Web_Wise_Dan without feedback. Then a few comments came would take for the client to respond. It took
recommends a screen recording in, mostly asking for word or colour changes. them three months.
with narration as being the next I made the changes in a day and waited for They approved the video, nearly 11 months
best thing. “When I can present approval. The silence this time lasted two after the ‘urgent’ deadline. They praised my
something in a video, with me months. This whole time, my boss had been work in their final communication, also noting:
explaining what’s on the screen, sending follow-up emails every couple of days Client: It sure takes you a long time to finish
clients really get it so much more without response. Finally, I got an email: these animations!
than just an email or screenshots.” Client: We have a few more revisions. Don’t
worry: they’re only small changes.
WHOSE IDEA? But they didn’t include any revisions. There
Chris Cook, the global wasn’t anything attached. A whole month later, I clientsfromhell.net
business director at Mirum, keeps
it simple. He suggests: “Tell them
it’s their idea!”
14 may 2018
Feed
By day I’m a freelance designer at Practising French daily is helping me work more
Luckychair (luckychair.com) and an assistant efficiently and creatively on projects that require
professor of web and graphic design. By night I’m innovative thinking, such as design, teaching,
un étudiant français, blissfully and casually learning consulting, making art and writing. CHRIS SILVERMAN
French by playing word games on my Over the years I’ve discovered that keeping my Senior designer at
smartphone’s Duolingo app. brain in learning mode often helps me generate Vassar College
There’s something about learning that keeps new ideas. I can more readily cross-pollinate www.csilverman.com
life fresh for me. I love the ‘beginner’s mind’, that concepts and create things that otherwise
awkward and exciting way it feels when you’re at wouldn’t have occurred to me. For example, I TYPE SAMPLE
the very beginning of something new. recently learned a new way to tie shoelaces, The first thing I typically
While studying the language as a teen, I which gave me inspiration for an animation wonder when visiting a site is:
remember how thrilled I was when French words project in After Effects. Ultimately the thing I love “What font is this?” Type
came to mind just as readily as English. J’aime ma most about learning is that it opens my eyes to Sample is a bookmarklet to
chaise verte confortable. Regarde ce chat moelleux. new ways of thinking that are likely limited by my tell you exactly that. I use it
Merde, il pleut: ou est mon parapluie? The placement use of language. more than I probably realise;
of words in a French sentence is often different to The free Duolingo app for iOS, Android, it’s very simple and saves me
how they appear in English. Adjectives and verbs Windows Phone and desktop helps you learn over from having to dig through
may come before or after the subject, which 20 languages in as little as five to ten minutes a the browser inspector.
playfully shifts the mind’s focus. Look at that day. After just two months, I’m at 53% fluency. typesample.com
fluffy cat; look at that cat fluffy. I love my comfy Come learn with me!
green chair; I love my chair green comfortable.
When my friend Jay – a Brazilian software THIS IS COLOSSAL
developer who speaks excellent English and Sue (@LuckychairNews) is a web/
PROFILE
Colossal is one of my
conversational French, Hebrew, and German – graphic designer, assistant favourite art sites. It’s art
professor of design, course
told me he was studying Japanese just for fun, a that’s impressive in some
author and creative director.
light bulb came on and I started relearning French. way: unusually intricate,
difficult or clever. Browsing
through the amazing things
Duolingo helps users learn people have created really
languages in as little as five to helps ease mental tension: a
ten minutes a day
screensaver for the soul.
thisiscolossal.com/
CODROPS
One of my goals is to
integrate more movement
and interactivity into my
work, but I don’t always know
where to begin. Codrops
presents beautiful design
patterns for elements like
navigation, galleries and links,
offering loads of ideas.
tympanus.net/codrops/
may 2018 15
4
HINGE
we vigorously test projects on.
And this hard work often means
that we have to reward one of our
Natasha Hockey gives us a sneak peek inside the world of developers, Martin, with all the
Hinge, a digital agency fuelled by pool and biscuits biscuits (4). It wouldn’t be a normal
day in the studio if he didn’t munch
WORKSPACE his way through an entire pack of
chocolate digestives.
We’re lucky enough to be peek of our makeshift scoreboard. Lastly and probably the most
based in Southampton on the If the team isn’t playing pool then important item in our studio is
sometimes sunny south coast, a this is the space we use to host our Phil’s trophy (5) from last year’s
few minutes walk away from the workshops and client meetings. Christmas party. We teamed up
common. We’ve been in our quirky And what better way to treat your with another local agency, Moov2,
studio for just over two years and clients than by serving them a for an evening of Virtual Grand Prix
it’s a friendly open space for our coffee in one of our Hinge branded and – to no one’s surprise – one of
talented team of digital designers mugs (2)? our directors, Phil, roared into a
and developers. Our day to day studio life is filled spectacular first place.
A big feature in the office is, of with working on a wide variety of
course, the pool/meeting room websites and apps, which means
Natasha is a designer at Hinge and
table (1) where our team spends its our device lab (3) gets a lot of use.
PROFILE
16 may 2018
SUBSCRIBE TO NET
GET THE NO.1 CHOICE FOR WEB DESIGNERS AND DEVELOPERS
DELIVERED TO YOUR DOOR, YOUR DEVICE, OR BOTH
18 31
% %
£16
BASED ON A QUARTERLY DIRECT DEBIT
£11.25
BASED ON A QUARTERLY DIRECT DEBIT
Terms & conditions: Prices and savings quoted are compared to buying full-priced print and digital issues. You will receive 13 issues
in a year. You can write to us (Future Publishing Ltd, 3 Queensbridge, The Lakes, Northampton, NN4 7BF, UK) or call us (UK: 0344 848
2852; overseas: +44 344 848 2852) to cancel your subscription within 14 days of purchase. Your subscription is for the minimum term
specified and will expire at the end of the current term. Payment is non-refundable after the 14-day cancellation period unless exceptional
circumstances apply. Your statutory rights are not affected. Prices correct at point of print and subject to change.
For full terms and conditions please visit: bit.ly/magterms. Offer ends 19 April 2018.
PRINT & DIGITAL EDITION FROM
Enjoy a combined print and digital subscription, and
take advantage of print as well as exploring the digital
experience on the go
£19
BASED ON A QUARTERLY DIRECT DEBIT
myfavouritemagazines.co.uk/NETPQ17
Opinions, thoughts & advice
STUDENTS
DESIGN STUDENTS
Sue Bicknell offers essential advice for any
design student in their final year
You’re in the final year at uni and
heading towards your major project.
Now is the time to think about what you
can do to get your dream job.
Here are ten top tips for getting it
INTERVIEW 26 together while you’re still at university
We catch up with Wes Bos and discover how he so you’re more likely to be successful
created and built a community around his when you graduate.
courses, and why he initially hated JavaScript
KEEP SKETCHES
Sketches help demonstrate your thought
process and sometimes they can be better
than the final design. They also show off
your creativity and problem-solving
abilities. If possible, keep the originals
and put them together in an orderly
fashion. At a face-to-face interview, it is
always good to present tangible pieces as
well as a digital portfolio.
Q&A 33
Microsoft evangelist, Rey Bango, explains the GET INVOLVED
role he plays in enhancing relationships with Whether online or in real life, it’s a good
web developers idea to take an active part in the world of
Opinion
do and where you want to be is the first that if you do well at one place word will design graduates for internships and junior
step to getting there. get around… and vice versa! positions for over 25 years.
may 2018 21
VOICES Essay
22 may 2018
Essay
(c c
may 2018 23
VOICES Essay
In the past, education institutions created Flash allow for free rotational movement around a scene using
applications to use as interactive learning tools. While a headset. A-Frame also introduced a headset icon to
at the time these were great for engaging students and enable the VR experience for compatible mobile devices.
teaching complex subjects in a digestible format they A-Frame has paved the way for the browser
are now dated, unscalable, and unsupported in modern specifications of what is today known as WebVR. However,
browsers. WebGL replaces Flash and, in this case, is being experiencing VR in the browser can be somewhat
used to create intuitive learning tools that can cope with unpredictable due to the range of devices it can be
complex graphics and interactions. experienced on. There are still issues when viewing
Big brands have also adopted WebGL to render graphics content on smartphones thanks to older generation
more efficiently. For example, the PS4 UI is powered by phones struggling to render scenes and causing a drop
WebGL, enabling its menus and elements to run smoothly in frame rates. It also requires a good internet connection
with minimal lag. When a user logs into their PS4, they’re due to the weight of the experiences. All of these factors
running WebGL code. can easily break the immersion of a VR experience. It’s
The architecture sector is also investing heavily in still early days for the medium but with VR becoming
making 3D visualisations more accessible, going even more mainstream, it’s inspiring to see how the web is
further to incorporate WebVR to immerse clients when already adapting to offer a more accessible version of
showcasing properties. And within e-commerce, this type of content and watch developers exercise their
especially with high-value items, WebGL is being used creativity in this space.
to render 3D models in intricate detail. It gives users a
layer of interactive customisation tools that enable them AUGMENTED REALITY
to update their product visualisation in real time. This WebAR is the next logical step for browsers, blending
approach makes products become even more realistic digital content with the real world to create an augmented
and tangible to potential customers. reality. Though it’s still very much in its infancy and
experimental stage, Google has made great progress in
EXPLORING VIRTUAL REALITY this field and released several tools and demos.
WebGL is the springboard that started the exploration WebARonARKit and WebARonARCore are both
of additional 3D technologies such as WebVR and WebAR. experimental apps for iOS and Android, enabling
developers to create true VR experiences with relative Tom is co-founder at FX Digital, an agency
ease. It handles setting up the left and right camera specialising in digital immersion. Tom helps
develop interactive experiences through
needed for virtual reality and supplies default behaviour,
immersive web technologies.
including making use of a mobile device’s gyroscope to
24 may 2018
VOICES Interview
INFO
job: Designer, developer,
entrepreneur
w: wesbos.com
t: @wesbos
26 may 2018
Interview
Wes Bos
Words by Oliver Lindberg
Photography by Jenna Bos of Bear and Sparrow Photography
may 2018 27
VOICES Interview
It’s easy for front-end developers to feel understanding to is just pushing through time. Often I get nasty emails from people,
overwhelmed these days. What should those harder points and sheer time. I have a and a couple of hours later they apologise.
you learn next? Which framework is going big chunk of my day dedicated to learning You just get that rage blindness of how hard
to take off? There are no absolute answers, new skills, which is extremely lucky. That’s it is to learn. I hated it for a long time, and
of course, but if full-stack developer Wes Bos why it seems like I’m always a bit ahead of there was no ‘aha’ moment for me. I just kept
creates a course on a new technology, it’s safe the curve.” at it and slowly but surely, over the course of
to say it has matured enough for you to be That was also the thinking behind three or four years, it started to get a little
able to pick it up and not waste your time on JavaScript30 (javascript30.com), a free 30-day bit easier and I became more confident.”
it. The latest one is CSS Grid (cssgrid.io), a free JavaScript coding challenge, which teaches His style of teaching has clearly tapped
video course that more than 35,000 people vanilla JavaScript without frameworks, into a need. Around 220,000 people have
signed up to in the first week alone. libraries, compilers or boilerplates. People taken at least one of Wes’s courses. Often
This new course took Wes around two and were always asking Wes how they could learn they enjoy them so much that they're willing
a half months of full-time work to build, faster and improve their skills. “My advice to pay for others – such as ES6 for Everyone
requiring a lot of upfront investment so he is always that you need to build 1,000 things,” (es6.io), React for Beginners (reactforbeginners.
could understand and explain it comfortably. he suggests. “It’s going to take some time, com), and Learn Node (learnnode.com).
To pay for this massive investment, Mozilla you need to actually put in the work, but once So what’s his secret? “There are two parts
came on board as a sponsor and in exchange you get through those 1,000 things, I can to a successful course,” he says. “I think I’ve
Wes used Firefox Devtools to demonstrate guarantee you’re going to be a lot better. The cracked being good at both parts. The most
to viewers how they work and how effective JavaScript30 are your first 30 of 1,000 things important thread is obviously good content.
they are when it comes to CSS Grid. Clearly to get you rolling.” It has to be up to date, engaging, a little bit
Wes’s courses are learning by doing at its But Wes recognises it's not that easy to funny, and the thing that you’re building has
best. Yet he says he’s actually a very slow get started: even he hated JavaScript initially. to look nice. People need to be able to have
learner himself. “I very clearly remember being extremely fun, pause and have lunch halfway through.
“It might seem like I can just consume frustrated with jQuery,” he sighs. “It just You can’t overwhelm them too much.”
anything and understand it,” he laughs. “But breaks, so there’s a possibility you waste four Then there’s the marketing side of the
the only thing I can attribute my hours not getting anywhere. I see that all the equation, which again carries Wes’s personal
28 may 2018
Interview
style. “Every single one of my courses has a than industry average, even though
different domain name, which people tell sometimes I go a month or two without
me is not a good idea,” he chuckles. “Each sending an email.”
course has a new design, look and feel, and Wes added around 85,000 people to his
different intro music. I have a certain style email list in the last year alone, something
but I can use new fonts, colours and patterns he puts down to JavaScript30, his most
for every course, which is really refreshing popular course, which stands at around
to me. Often people have really good stuff 145,000 subscribers so far. Still, he hasn’t
in their courses but they’re not able to open done any marketing for it in over a year. explains. “Scott and I have a good grasp on
that up to the landing page. That’s an People just keep recommending it to friends making it fun and being able to distil
important piece.” because it’s one of the things you need to do information to a general audience about web
Wes’s strategy is relatively simple: to be in order to get better at JavaScript. development. I think it’s also important to
on every single platform – whether that's The latest channel Wes uses to reach his remember that web developers are humans
Instagram, Facebook or YouTube – although community is a new podcast called Syntax that have other interests, too.” Wes sent out
he has found the most important are Twitter (syntax.fm), which he co- a few emails and almost
and email. On the former, he has more than hosts with fellow web “Often people have instantly the show got
120,000 followers and often tweets helpful developer Scott Tolinski between 20,000 and
little nuggets of information to his eager (twitter.com/stolinski). really good stuff in 30,000 downloads.
audience. Email is an even bigger channel They call it a “tasty treats their course but A m a z i ng ly, this
for him: his list boasts 208,000 subscribers. p o dc a st for web training empire is
“I don’t do a lot of emailing, which is sort developers” and cover they’re not able to basically a one-man
of against the book,” he explains. “A lot of
people say you should be having all these
the nitty gritty of
JavaScript, CSS and
open that up on a operation. Wes now has
an assistant, who
auto-responders and sending three emails HTML, as well as related landing page” manages his emails and
a week. That’s very true, it works really well, technology and soft skills sticker business (https://
but developers have a very low bullshit like managing email, productivity and bos.af/), but the course design, development
tolerance. You can’t do that stuff to developers getting on the conference circuit. and promotion is all done by him. He has
and not leave a bad taste in their mouths. My “With the exception of ShopTalk [hosted created a Node application, built on React
emails are very much just me writing what’s by Chris Coyier and Dave Rupert], I didn’t and server render templates, that hosts all
going on with my life and what people should like listening to most web development of the different parts of the platform, which
expect next. The open rates are much higher podcasts because they stress you out,” Wes he calls the Bos Monster. It handles free and
may 2018 29
VOICES Interview
30 may 2018
Interview
paid courses and includes an affiliate system, it, they just turn it off. You can have stats on little spark they experienced when they first
which is a big sales driver. People recommend that and see drop-off rates, but it’s nowhere started learning and worked things out.”
the courses and Wes pays them a portion of as good as being there in person.” At Generate New York, Wes is going to talk
the profits. Initially Wes wanted to learn how about new things coming to JavaScript that
Wes has always been an entrepreneur. academics teach but quickly noticed that will make web development much easier and
When he grew up he had a lawn-mowing people started to latch on to the way he more enjoyable, while his workshop will be
business, sold pears by the side of the road, explained things. Now he regularly receives an introduction to React. “It will start you
and fixed and cleaned up road bikes to resell emails from people telling him he changed from the ground up and explain all the
them for ten times the amount he had bought their lives. different React concepts,” Wes describes.
them for. He studied Business Technology “It’s really weird, you don’t expect it,” he “You’ll leave being able to build an application
Management, but while doing work enthuses. “At the end of the day I’m just some that fetches data from an API that is routed
experience soon realised he hated working guy recording my screen, but somebody on the client side and pulls in your CSS.”
in an office for other people. He also emailed me recently saying they went An advanced React online course that will
discovered he could make much more money through a bunch of my courses and got a focus on GraphQL is also in the pipeline, as
developing WordPress sites as a freelancer. C$15,000 raise from their boss [around is a course on Visual Studio Code. In addition
Local Canadian organisations Ladies £8,600], which is life-changing for a lot of Wes has been trying to figure out how to
Learning Code and HackerYou got him into people. Obviously, I’m not going to attribute teach the basics of JavaScript and CSS from
teaching, where he ran in-person workshops just my courses to it – these people are self- scratch. “A lot of people tell me they can’t
on WordPress and introductory web starters – but they said that my courses take my courses because they don’t
development bootcamps. It was there that played a large role in them either getting understand the initial part of JavaScript,” he
Wes honed his teaching skills. “It really helps raises or jobs. They also said that I’ve explains. “I’d like to work out how I can teach
being there in person, talking to people and reignited their love for web development. those things in a really nice way. It’s such a
working through their problems,” he There’s a lot of burnout in our industry, huge topic.” If Wes manages to crack it, the
explains. “You’re able to see their frustrations people get sick of it after a while, and need intro courses will open him up to a whole
or how they react when things work. If to continually update their skills. I want my new audience. The Bos Monster may still just
someone watches a video and they don’t get courses to be fun and remind people of that be at the beginning.
may 2018 31
VOICES The design of business
NEED
‘do the right thing’. I’d encourage anyone involved in
design to read the article; it’s filled with common-
sense advice (as you’d expect from him).
It was a call to arms that wasn’t just morally right,
but economically sound. When there’s no real need
Christopher Murphy highlights an often- for your product or service, those two words – ‘no’
and ‘why’ – should be at the forefront of your mind.
overlooked question: is there really a need for this? Fail to ask ‘why?’ and the cost could be high.
What’s concerning is that many of the points
When you’re embarking upon the design of a Monteiro was making had echoes in the ‘First Things
INFO new product or service, one of the first First’ manifesto (http://bit.ly/ftfgarland) published
job: Writer, designer questions you should ask is: is there a pressing need by Ken Garland over half a century ago, stressing
and educator for this? If there is no need, stop. It’s really not that the belief that design is not a neutral, value-free
t: @fehler complicated, yet – all too often – we turn our talents process. It seems we still have lessons to learn.
w: tinybooks.org towards needlessness. As the philosopher George Santayana famously
As designers we are faced with a choice about what put it: “Those who cannot remember the past are
we turn our talents to. We can use these talents to condemned to repeat it.” When you’re embarking
create and improve what the world needs, or we can upon a new venture, be sure there’s a need. Fail to
add to the mass of products for which there really is do so and you may well have a failure on your hands.
no need – or for which there is often an artificially The world doesn’t need any more Juiceros.
created need.
When millions of dollars – $120m to be precise
– are being spent to solve the ‘problem’ of juicing
(http://bit.ly/juiceroguardian), which was Silicon Valley
startup Juicero’s raison d’être, it’s not hard to realise
that design has a problem.
Juicero is just one of a number of recent products to
prove – once again, if that were needed – that where
there’s no need for something, there’s no business,
and that solutions to non-problems are economically
ill-judged and fundamentally doomed.
Reflecting on the ill-fated juicer, The Guardian
notes that the company’s demise was sadly yet
another example of ‘a startup collapsing after
raising substantial funds under the guise of It came as no surprise to many when, in late 2017, Juicero suspended sales
32 may 2018
Q&A
REY BANGO
everyone to build a secure system.
What I find is that many web developers have a
cursory understanding of application security and
little knowledge of anything at the network layer.
That has to change and, at the very least, needs to be
a core tenet of designing your applications.
The Microsoft evangelist explains his role in The OWASP Top Ten list continues to list SQL
injections and cross-site scripting attacks as a
enhancing relationships with web developers primary attack vector and that’s a clear message that
we need to do better and think about the implications
net: What do you do in your job as developer of the code we push. It’s one of the reasons I’ve really
advocate for Microsoft? embraced security by working to learn more about
RB: I’m a feedback conduit working to ensure that how these attacks work and how to patch them.
INFO
the community has a voice in shaping Microsoft’s I’d recommend any web developer to create a
job: Developer advocate
for the web platform, product direction. Microsoft needs to know where VM running DVWA or OWASP Juice Shop and try to
Microsoft and how it can contribute back to developers, whether penetrate it. It’s an eye-opening experience.
w: blog.reybango.com that’s through OSS, AI or developer tools. The only
t: @reybango way to really get a pulse for what’s happening is net: What’s exciting you in web design right now?
to get involved in things like open-source efforts, RB: Progressive Web Apps because I feel they offer
conferences, or hackathons; basically go where the web developers a great opportunity to bring richer
developers are and actively engage them. It’s why the experiences to users. There are still many things
role of developer advocate has become so important. being fleshed across all platforms but I’m looking
We’re able to speak with developers without all of the forward to the day when there are great solutions for
marketing mumbo jumbo and relate to their needs on app discoverability and, yes, monetisation.
a technical level. I’m a big believer in developers choosing how they
want to distribute their apps. And I know there’s a
net: What challenges face Microsoft in today’s web? lot of discussion going on about that. I also love the
RB: Microsoft has some very strong competitors. performance experts who are continuously looking
Companies like Google have grown up with a clear at ways to tweak every last bit of performance,
focus on the web and invest heavily in ensuring they especially on mobile devices.
continue to have a strong presence. Their rate of I can’t say how reliant I am on my smartphone but
browser feature development is astounding, which is I’m in the position of having decent connections.
a testament to that investment. In many ways that’s These experts are taking into account low-bandwidth
helped to push Microsoft to evolve the browser and situations, which opens up new opportunities for
the release cycles where developers can test features. those with devices that are less capable.
may 2018 33
VOICES Big question
BALANCE
a sketchbook has given my eyes a break Last year I was able to make a
from all the bright screens in my life. change for the better. I’d been an
all-or-nothing kind of person. I’d focus
100 per cent of myself on one area,
leaving little room for others. It took a
JACK NIL A ND new business opportunity and the
UX designer, Spacecraft Digital
possibility of having even more work
spacecraft.digital
on my plate to see that something had
The flexible working policy that my employer offers is one of the best parts to give. I realised I could only strike a
of working there. I have a nine-month-old son, and managing my own flexi healthy work-life balance if I stopped
time means that if I need to start earlier, or later, it’s not an issue. We also have being so all-in. I needed to leave room
the option to work at home and connect with the office through Slack and Google
Hangouts. I’ve recently been wrapped up in a project redesigning Camden
for others. And it’s working. My
Council’s website, and have spent time on-site testing our prototypes with users. business is growing, I have time for my
I’ve also found that video calls home really help when working away. family and I still get to ride my bikes.
RESOURCES
DESIGNING THE PERFECT 7 STEPS FOR MAINTAINING YOUR 8 AGENCY FOUNDERS SHARE THEIR
WORK-LIFE BALANCE WORK-LIFE BALANCE 7,3621$&+,(9,1*Ơ620(ơ:25.
http://bit.ly/2CHMQ27 http://bit.ly/2F9wAwd LIFE BALANCE
“Great designers aren’t built from working Award-winning art director Adi Goodrich http://bit.ly/28TdEkI
60-hour weeks. Great designers are built has learnt from experience: making time There’s a difference between a
from treating their own lives with respect,” says for yourself is essential. Here, Goodrich talks willingness to work hard, and being a full-
Cassius Kiani, partner at Mikleo, in this article through her biggest creative challenge: finding blown workaholic, writes Anastasia Philopoulos
for InVision’s blog. the right balance between work and life. in this article for the Shopify Partners blog.
may 2018 35
VOICES Opinion
WHAT IS
can be imported into JavaScript code,
which can then take advantage of its
functionality. Currently WebAssembly
cannot access the DOM or web APIs
WEBASSEMBLY?
directly, but it can use JavaScript to do so.
Also, there’s nothing constraining
WebAssembly to run only in-browser, and
it’s expected it will be ported to other
platforms. This could make it significantly
Simon Jones looks at bringing the performance easier to build cross-platform apps that
support web and native environments.
of compiled languages like C to the web You might be wondering about the
security implications of WebAssembly,
WebAssembly (wasm) is different to any platform that supports WebAssembly. since this is a general concern for low-level
other web APIs you might have This is similar to Java bytecode running on languages. Rather than being true native
played with. Rather than adding new the JVM. You wouldn’t typically expect to machine code, however, wasm is designed
HTML or JavaScript features, it’s a standard write wasm code directly. to execute in sandboxed environment, and
that defines a binary executable format for This is interesting for two reasons. adheres to the same security constraints
client-side applications on the web, which First, it enables coding in languages as JavaScript does in browser.
can be run in the browser while taking other than JavaScript for the web. This If you want to get started with
advantage of the speed and low-level is compelling to many developers who WebAssembly, Emscripten (kripken.
hardware capabilities of machine code. have stylistic preferences or experience github.io/emscripten-site/) is a compiler
While it’s a relatively new standard only in other languages. WebAssembly was that supports C and C++ compilation
now gaining attention, it’s already originally designed to focus on C and and conversion of existing applications.
supported in all major browsers, and has a C++ development, and it enables features You won’t find too many production
budding ecosystem of tools. of these languages, such as low-level applications using it yet, but it represents
This represents a major change for the memory management. There’s also another step to bridging the gap between
web, where JavaScript (or abstractions support available for Rust (rust-lang.org/ browser and native software. This is
of it such as TypeScript) has been the en-US/), another language developed by definitely one to keep an eye on, and if
only language available for coding. The Mozilla. However, it’s also expected that you’re not building wasm modules, you
introduction of WebAssembly means that a wide range of languages and compilers could well be consuming them soon.
there is now a platform to enable C, C++ will become available, and it will at some
and other code to be written and compiled point introduce support for garbage-
Simon is a software engineering director with a
PROFILE
to run in the browser. In essence, if you collected languages such as Java. You’ll background in banking and financial services. He
write a wasm module, you compile it to a find experimental compilers for other leads teams working with Angular, React, Java
bytecode format, which can be executed on languages starting to become available. and .NET.
36 may 2018
NEVER MISS AN ISSUE!
SAVE UP
#304 APRIL TO 31% #298 OCTOBER 2017
Rachel Andrew guides us through
Explore the world of CSS animation WITH A DIGITAL the features of CSS Grid Layout
with Animista.net’s creators. Code we’re not making the most of in a
custom WebGL effects, prototype SUBSCRIPTION bumper CSS Grid Secrets special
SEE PAGE 18
with Origami and get top PWA tips
#302 FEBRUARY 2018 #301 JANUARY 2018 #300 DEC 2017 #299 NOV 2017
50 Amazing Dev Tools for 2018, Next-gen UX. Revealed: how to Web visionaries investigate what’s Build the perfect career in web
plus prototyping at Netflix and design for the invisible interface next for design and the internet in design with our Career Special.
a free, bumper 20-page Design revolution, plus master the science our special 300th edition, plus 30 Land your dream job, expand your
Trends supplement of Conversation Rate Optimisation greatest web moments skillset and become indispensable
#297 SEPT 2017 #296 SUMMER 2017 #295 AUGUST 2017 #294 JULY 2017
Our first-ever Accessibility cover The Money Issue: how to survive Explore the changing world of The 10 Rules for Better Web
looks at how we can design a – and thrive – in an increasingly SEO, why inclusive design is Typography, why you should be
better web for all, delving into uncertain world, plus eCommerce, so important and the ultimate using a Service Design approach
inclusive design principles finances and project management guide to Sketch’s latest update and how to use CSS Grid Layouts
NETM.AG/NET-GOOGLEPLAY NETM.AG/NET-ZINIO
GALLERY Inspirational sites
CHRISTINA KING
SI T E OF
T HE MON T H
HTML5, JAVASCRIPT
WWF AUSTRALIA
www.wwf.org.au
40 may 2018
Inspirational sites
JQUERY
SUNDAE
www.sundaecollective.com
may 2018 41
GALLERY Inspirational sites
42 may 2018
Inspirational sites
BITTER RENTER
www.bitterrenter.nyc
may 2018 43
GALLERY Inspirational sites
44 may 2018
Advertorial
may 2018 45
Sublime design
& creative advice
STUDENT
ACCOMMODATION
G A RE T H L OCK E T T
PROFILES
PAUL MCK AY
PROFILE 50
Paul is the co-owner and designer at Cocoon, a
Brighton-based designer and creative coder digital agency building cool stuff with its clients.
Luke Twyman talks Ninja Tune, data viz and the w: wearecocoon.co.uk t: @McKay_1988
difficulty of staying motivated as a freelancer
WA RREN CH A L L ENGER
Warren is the senior designer at JH, a leading
eCommerce agency based in Nottingham, UK.
w: warch.io t: @warchdesign
BRIEF
This month we would like you to design a website for
a company offering student accommodation. We’d like
your site to showcase the accommodation itself as well
HOW WE BUILT 56 as other facilities such as social spaces, and explain
what this option offers over private renting.
Salad harnessed beautiful data to bring the
Commonwealth Games to life for Team
England fans during the Gold Coast Games
Design challenge
GARETH LOCKET T
MY MONTH
GRAFTONGREEN What have you been
doing this month?
A site that balances the need to appeal to two audiences: students and their parents
Mostly on summer
holiday so kayaking,
sailing, swimming and
Set in a former plant nursery within the lush
CLOSE UP reading followed by
parklands of Auckland Domain, summer music
GraftonGreen is more than just student (1) A key benefit of living at GraftonGreens is the ability festivals. Just starting
work on a designer
accommodation – it’s a unique, carbon-neutral, to work in the organic gardens to reduce the weekly
furniture website.
eco-lifestyle offering. Students can choose to rent, so it was important to make this very visible by
offset their accommodation costs by working in a including a form on the homepage enabling the user to Which two websites
have you visited for
market garden, which supplies local restaurants test the price reduction based on how many hours their
inspiration? Typewolf,
with organically grown produce. The website study schedule allows. This would include a touchscreen
siteInspire for design
showcases the lifestyle aspect of the village with friendly range slider and combo box. The Apply button and anything posted by
engaging photography and branding in a teal and would take the user through to a full application form. @openculture.
warm-grey colour scheme. This keeps the ‘green’ (2) Homepage includes a fullscreen hero section with a What have you been
aspect of the name and concept from getting too fixed width grid below using mostly half-width content watching? Black Mirror,
literal while still being in the greenish part of the blocks that become full-width on smaller viewports. The End of the F***ing
colour wheel. A combination of Larish Neue and (3) A resident login area allows students to manage World on Netflix.
Untitled Sans mixes a character-filled serif with a their gardening hours/rent ratio, sign up for the What have you been
plain workhorse font designed by Wellington GreenBikeShare scheme, message friends from within listening to? Aldous
type designer Kris Sowersby. The target audience the village, and supply feedback to village management. Harding, Roger Waters,
The War on Drugs,
is socially conscious millennials, so a crafted feel (4) As the village runs off solar electricity, an algorithm
Marlon Williams, The
was important, but ultimately the parents of the would calculate a total of tonnes of C02 avoided during Divine Comedy and
students also need buy-in, so the site the student’s stay based on length of stay and size of podcasts, podcasts,
functionality is kept simple and directed. room. This could be tied to an IPCC emissions database. podcasts…
may 2018 47
SHOWCASE Design challenge
2 5
MARBLE HEIGHTS
What have you been
working on this
month? I’ve been A website that uses background video to give users a virtual tour
working for the past
five months on an app
and accompanying
site, looking to launch Marble Heights offers hassle-free, all- CLOSE UP
at the end of March – inclusive student accommodation, and a
Travamigos. There’s welcoming, reassuring and stress-free (1) It’s important users can easily search for the city in
currently a holding
experience at university/college. With a variety of which they’ll be attending university, and through that,
page up that you can
check: travamigos.com. rooms to suit, it offers a comfortable, stylish and discover the accommodation Marble Heights can offer
safe place to live. The site is designed to convey them. (2) With the current academic year underway and
Which two websites
the impression of somewhere welcoming, with new students beginning to search for universities,
have you visited for
inspiration? I regularly supportive, happy and relaxed. Moving away the ability to allow them to book a room for the new
visit designinspiration. from the accustomed static background image, year is paramount. (3) The use of video rather than a
net and siteinspire.com. the use of video will aim to increase engagement, static image or slideshow will enable the company to
What have you been while providing a glimpse of life at Marble show in a few seconds the kind of living space available
watching? Been binge Heights. Users will have access to an easy-to-use when booking with Marble Heights. (4) A ‘Featured
watching a few series search narrative, enabling them to find Room’ will work in tandem with the video and provide
on Netflix: Mindhunter accommodation in the city they’ll be attending. the user with further understanding of what features
and The Unabomber.
And a simple yet effective typographical are included in the accommodation without the need
What have you been hierarchy will easily direct the user while for lots of searching. (5) Links to social media allow for
listening to? When I scrolling and browsing throughout the site. To a larger picture to be painted with regard to the culture
need to get into the
support the idea of a ‘happy and relaxed’ of Marble Heights. Integration of Twitter, Facebook and
zone, AC/DC Live at
River Plate is my first environment, the core font used was Gotham Instagram feeds will also be found under the News &
port of call. Rounded – a fun, cheeky typeface. Opinions tab to provide a wide variety of news sources.
48 may 2018
Design challenge
4 6
WARREN CHALLENGER
LIBERTY PROPERTIES
This site for luxury facilities uses Progressive Web App technology
MY MONTH
What have you been
Liberty Properties offers luxury facilities to CLOSE UP working on/doing this
university students of any age in the UK. month? Redesign of a
publisher’s website and
The name ‘Liberty’ alludes to freedom away from (1) The navigation primarily shows locations so the
a personal project to
control, restriction or hampering conditions. It is user can quickly navigate to the appropriate property
promote Japan.
aimed at students willing to spend a little bit and learn more. As the user scrolls down the page,
Which two websites
more cash on their accommodation. the navigation follows. (2) Giving the user immediate
have you visited for
Implementing a premium look and feel was reassurance and headline service messaging inspiration? I looked
essential. I achieved this by using clean lines differentiates Liberty from other student-property through many for
within the layout and typography, setting the offerings. (3) You cannot get better than reviews inspiration on this, but I
design to a horizontal and vertical grid, and from existing students staying at Liberty Properties. particularly liked the
simplicity of Bang &
keeping the UI simple and not overcrowded. On Clicking any of these options expands the preview
Olufsen’s website.
the homepage, we have immediate reassurance image, and the video starts playing. (4) When clicking
messaging and student interviews from various or tapping the Video Tour button, the screen changes What have you been
watching? Blade
stages. Liberty Properties uses state-of-the-art into a navigable video where users can view any angle
Runner 2049 plus
technology, and so does the site. It’s built as a they wish, using the cursor, touchscreen or Google binge-watching
PWA, offering a seamless experience with fast- Cardboard. (5) It’s important the user can see the Altered Carbon.
loading, smooth transitions, push notifications, property for themselves, so this simple and elegant
What have you been
and PWA features that work offline. Liberty also form enables them to book a tour. (6) Additional footer listening to? My taste
provides video tours that you can take advantage navigation appears on mobile location pages, which varies but writing this
of by using Google Cardboard VR. will save the user scrolling through all the content. I’m listening to Lorn.
may 2018 49
SHOWCASE
SurĽoh
PROFILE
LUKE TWYMAN
www.whitevinyldesign.com
50 may 2018
SurĽoh
INFO
Location: Brighton, UK
Designing since: 2006
Expertise: Interactive
experiences, audio and visual,
creative coding/generative/
experimental, data
visualisation
Clients: Ninja Tune, Helios
Awards: FWA SOTM, FWA
Cutting Edge Award,
AWWWARDS SOTD and
Developer Award
march 2018 51
SHOWCASE
SurĽoh
52 may 2018
SurĽoh
SPOTLIGHT
LUKE TWYMAN
What’s on your
desktop today?
Some notes, some MIDI controllers, a
load of mess.
SolarBeat uses the movement of the major bodies in our solar system to generate an endless melody that
users can manipulate Little things that make your
life worthwhile
The things that help me are teaching,
walking, making things that people
enjoy and playing/writing music.
heavy handed with effects. In construction I’m really into slightly mysterious
it became a fun chance for me to combine interfaces and rewarding exploration, so I
What do you have
skills that I don’t often get to use within a present this interface without explanation,
on the walls?
single project – creative coding alongside and allow visitors to freely move between A big paper cutout of crossed branches
straight, informative graphic design, and the different scenes rather than being led and a tree trunk cross-section.
creating animations and interactions with by the song. I don’t think there are many
a hybrid of JS and CSS. artists so keen to have their music pulled What hours do you work?
apart like this, but Keith was really happy I don’t have set hours, but I often
work better in the evening. If it proves
Yume is a unique album promo to run with the ideas, which was amazing.
useful I’ll sometimes match a client’s
experience. How did it come about?
working hours.
I’d worked on a project with Keith Kenniff ARP Observatory (twitter.com/
(Helios) years ago – he and his wife Hollie arpobservatory) isn’t your average Twitter What else do you do
had put together a charity compilation bot. What’s the story? in the office?
called For Nihon, and I made a very simple When I first started planning out the idea, I don’t really have an office, it’s just
audio/visual site to help promote it. I didn’t know it was going to be a Twitter my room, or wherever else I’m working
He got in touch again while prepping his bot. I’d been experimenting with coding that day.
album Yume (unseen-music.com/yume) for my own generative synths – using random
How often do you hang out
release. At this point he wasn’t sure processes to create audio waveforms. It felt
with other designers?
exactly what he wanted but was keen for like a whole new area to explore and I
Not loads, but I have a couple of
me to come up with an idea, and I love became keen on the idea of using it to designer friends, and I teach code most
open creative briefs. He already had create something closer to sound design, Tuesdays and meet a few new
isolated samples of each instrument for where it could be dark and textural and designers through that.
the title track, and we figured we could do embrace randomness in ways that can be
something interesting with those. The difficult within structured music. I started
Describe your working culture
track has a lot of different sections, and I thinking about generating distorted radio
in three words
Quiet fragmented daydream.
started thinking about each section as a signals and toyed with a few different
different setting. I drew a few abstract concepts before settling on this idea of a
sketches, which lead to this idea of these fictional radio telescope observatory,
floating rock shards that act like music receiving messages from space. I figured a
controllers – fading in/out sample loops, Twitter bot would be a great medium,
or manipulating synth sounds and effects. because I could make it automatically post
may 2018 53
SHOWCASE
SurĽoh
TIMELINE
JANUARY 2006
Began freelancing, primarily
using Flash.
MARCH 2008
First digital agency work.
APRIL 2010
Released SolarBeat.
AUGUST 2012
Shifted focus to using JavaScript.
APRIL 2013
Released Here is Today.
In Yume the environment is a mixing desk, enabling you to create your own versions of the album’s songs
AUGUST 2016
Launched BlokDust.
APRIL 2017 the audio, while creating an illusion of a never came. I started revisiting it after my
Started teaching code at codebar. working observatory. friend Luke Phillips was telling me about
OCTOBER 2017 I ended up doing a huge amount of the Web Audio API, which allows for audio
research; I knew nothing about radio processing in the browser. Rethinking it as
Launched creative-coding
experiments hub. astronomy and in order to flesh out the an audio sandbox made so much more
narrative I had to learn a lot about sense, and I worked some more on fleshing
DECEMBER 2017
northern Chile, where it was set. It’s a out the visual/interaction style followed by
Launched Ninja Tune 2017. region where a large concentration of real a whole lot of audio experimentation to see
observatories exist, so I figured it was the what exactly we could make it do.
most discreet place to slip in a fake one. I
ended up creating a character who runs the How do you stay motivated?
Twitter account, posting from a personal Honestly I find it difficult a lot of the time;
perspective both about their research, and I’m not great at managing myself.
also just day to day life and observations. Creatively I try and remember to work on
small personal projects when I can – it’s
BlokDust (blokdust.com) is an amazing easy for me to get stuck into a long project
audio toybox. What inspired it? and get overwhelmed or disinterested
Initially it was partly inspired by a trend of halfway through, so being able to finish
video games that allow players to design things is really important. And then the
and build their own contraptions within a response from people when I do release
game, along with my own difficulties something is hugely motivating, I’m lucky
whenever I’d attempted electronics in the that people send me some really kind
past. Also some of the visual style came messages. Work-wise I just try to give
very early on, and so I was thinking about myself some time and not let myself feel
creating this sandbox with a bunch of guilty for it. It’s difficult balancing that
different geometric components that with making sure I’m working enough; I
people could hook together to create often don’t have the contingency that
visuals, interactions, animations and other freelancers might, but I also know
games, and then share them. However the how vital to my fundamental wellbeing it
‘clicking moment’ of how to realistically is to have my own time. It’s still an area
put that together and have it be good, I’m trying to get right.
54 may 2018
The number one destination
for web design news,
views and how-tos
EcrApc_rgtc
@jmobgpcarrm
wmspgl`mvugrf
mspuccijw
uc`bcqgel
lcuqjcrrcp
www.creativebloq.com
SHOWCASE How we built
HOW WE BUILT
COMMONWEALTH
GAMES ENGLAND
Salad harnessed beautiful data to bring the Commonwealth Games to life
for Team England fans during the upcoming Gold Coast Games
1
4 5 6
CLOSE UP
(1) The site offers fans a dynamic online intuitive Algolia search function makes it
BRIEF experience, detailed content and up-to-the- easy for users to access the information they
Salad was tasked with delivering an intuitive minute news and results. (2) Previous game need as quickly as possible. (5) Each sport
website for Commonwealth Games England medals are visualised using subtle animations has its own page, outlining Team England’s
ahead of April’s Gold Coast Games. The new site and hover states – a compelling way to participation in the sport, key facts for fans
acts as the home for information about Team
discover information about past competing and individual athlete profiles. (6) The site
England and their participation in the Games.
athletes. (3) A simple design ensures the hosts an impressive archive of interesting
latest results are easily accessible, with the historical information about Team England’s
option to filter by your favourite sport. (4) The performance in the Games.
56 may 2018
How we built
SEPTEMBER 2017
Following a highly competitive pitch
Dan is the design manager at Adam is Salad’s digital director An account manager at process, Salad is appointed to plan,
Salad and led the creative for the and oversaw the development Salad, Gemma managed the design and build Phase 1 with a go-live
Commonwealth Games England for the Commonwealth Games Commonwealth Games England date of December.
digital experience. England site. project from pitch win to the end.
t: @eggsandlogs t: @adammorland w: saladcreative.com OCTOBER 2017
Website planning phase begins including
sitemap, SEO research and IA as well as
UX, design and build considerations.
Commonwealth Games England the main website navigation and the
(CGE) leads and manages the website search. To deliver user-friendly
OCTOBER 2017
participation of Team England at the navigation we opted for a sidebar menu
A presentation of initial designs is given
Commonwealth Games and helps to design that expands to fill the browser
to Commonwealth Games England.
raise awareness of this great sporting window when accessing larger submenus
event. Its new website, built by Salad such as sports and history. For the search NOVEMBER 2017
(saladcreative.com), will offer fans live we chose to use Algolia (www.algolia. A complete rollout of the design
results, fixture updates, athlete profiles com). This intuitive tool allowed us to throughout the site is completed.
and more during the Gold Coast 2018 create a fast and refinable website search,
Games. With beautiful data at its heart, giving users quick and easy access to the NOVEMBER 2017
the new site is already generating a information they need. Development commences for the Phase
good amount of excitement around 1 launch including all website pages, the
countdown clock, athlete profiles and
Team England’s participation. How did the brief influence the
past medal tables.
design of the site? Were you given the
The Commonwealth Games are a big opportunity to be expressive or was it DECEMBER 2017
deal. How did the agency get involved very much a case of sticking to what the The user acceptance testing and
in the project? client wanted? population phase begins.
GL: Our involvement in the project GL: CGE wanted a modern, intuitive
sparked from our ongoing work with and on-brand website. They provided DECEMBER 2017
the Clipper Round the World Yacht us with an existing set of brand Go live! Phase 1 is completed with Phase
Race, which has equipped us with the guidelines alongside some recent brand 2 development commencing.
unparalleled experience of managing development work, which helped form
MARCH 2018
a complex live sporting event. the foundations for the site’s design.
Commonwealth Games England had been With a logo, typography and core colour Go live! Phase 2 includes integration of
live data, Algolia Search, schedule, medal
following the Clipper Race using the palette in place, we had the freedom
map and intelligent data visualisation.
race viewer, and were keen to speak to to interpret the design without any
the agency that had built the site. After significant constraint. APRIL 2018
initial conversations we entered into a DY: One of the key elements of the site’s The Commonwealth Games begins on
pitch process and after demonstrating design is the distinctive crimson block Australia’s Gold Coast (4-15 April) and
the knowledge we’d gained from the behind each key page title, inspired fans can follow Team England every step
project, we were successful in winning by the stripes of Saint George’s Cross of the way.
the work. in England’s Union flag – a symbol
of national pride and belonging. The
There are a lot of disciplines and homepage also offered us a creative
athletes involved, meaning there’s a lot opportunity to generate a buzz in the
of data and information to squeeze into lead up to the Games, which led us to
the site. How did this influence the UX? design a Gold Coast countdown clock to
AM: With a wealth of content to convey, engage visitors as soon as they landed
two of our key UX considerations were on the site. The clock was inspired by a
may 2018 57
SHOWCASE How we built
3
1
2 EVOLUTION
(1) During the planning phase we discussed content for
each page and mapped out the site’s navigation
meticulously. (2) A hand-drawn wireframe and
screenshot of the finished athlete page demonstrates
the design process. (3) With a vast amount of rich data to
work with, we sketched out a number of alternative ideas
for visualisation of the data. (4) Phase 1 included the
addition of a Gold Coast countdown clock, to build
anticipation for the upcoming Games. (5) We had regular
meetings to review the site’s progress at each stage in
the lead up to the Games.
58 may 2018
How we built
may 2018 59
FEATURES Augmented reality
60 may 2018
Augmented reality
I
magine you are at home, relaxing at
the weekend. You are on the couch,
your favourite spot in the house.
AUTHOR But instead of watching TV you are
ALEXANDRA ETIENNE immersed in a very entertaining
Alexandra is an AR/VR scene taking place on your living room
evangelist. Currently
floor. There is a whole world coming
working with Lightform,
to life; characters engaged in battle,
a startup founded by
ex-Microsoft/Disney whole armies facing each other, horses
researchers. On a thumping at full speed, blood spilling,
mission to share AR.js snow falling, fires burning… maybe even
with the world, an
a dragon or two?
efficient augmented
Or you are at work, designing
reality solution for
the web. and visualising a virtual object: an
t:@AndraConnect architectural prototype, a property on
w: https://medium. which you want to invest, or a 3D model
com/@AndraConnect you want to create. Imagine that you can
may 2018 61
FEATURES Augmented reality
modify it just by zooming, swiping, or with lots of Pokémon. The Pokémon field, from early successes
with drag/drop movements onto empty GO app exploded on the scene in 2016. to the most recent.
space. You are not crazy! You can see it, Everybody had to catch them all! But
the process and the final result. They are most importantly, people from outside Google
as real as your desk and your computer. the tech industry started talking about Google has made so
Or you are a student, captivated by augmented reality. many efforts in the field
an interesting subject, reading a book So today AR is trending. But why? of AR and VR that it’s hard to
that with every turn of a page brings Maybe it’s because we have dreamed know where to begin. It released Google
something marvellous into action. When about the possibilities, and now we are Glass in June 2013, and although some
it describes physical components and starting to consider them as real. This pretty interesting developments have
chemical reactions you can see them for tech could actually have useful purposes been made – for example in wearable
yourself, not just read about them. This that will help society develop. AR taps socio-affective aid and disability (https://
is the world of augmented reality – and it into our natural tendency to want to humanfactors.jmir.org/2018/1/e1/) – these
will change the way we live. evolve even further. Plus, it has that smartglasses haven’t been a major
AR has been around for longer than we cool factor that will help promote it for success. Last year, it announced an
think, but it’s still a new field for most of massive user adoption, for widespread enterprise version of Google Glass so
us. Head mounted displays with visually uptake around the globe. we’ll have to wait and see.
coupled systems were being used by the The long but steady path into AR
military back in the 1960s and 1970s. Who are the big players in AR? continued with Project Tango, back in
But it wasn’t until the 1990s that With Hollywood and the gaming industry June 2014. Although discontinued, Project
we started having motion-stabilised behind it, it’s no wonder that augmented Tango was one of the most advanced
displays and fiducial marker tracking, reality is considered a hot topic. But AR computing platforms seen. Google
like ARToolKit with its now famous Hiro there’s more. Another reason why AR Cardboard was way more successful than
marker. With the arrival of location- is becoming popular is the financial Tango; its low-budget and accessible
aware phones in 2008, companies like backing, support and the innovation from feel appealed to users around the world.
Layar started working on “outdoor big players in the tech industry. This There have been more than 10 million
information overlay”. In its December plays an important role. AR is predicted Cardboards shipped. And although you
2009 issue, Esquire featured AR on the to have a market revenue of $90 billion by can technically use it to display AR, it
cover, catching the public’s attention. 2020, with VR largely behind with a $30 was first conceived (also in June 2014) as
It still took a while for AR to really billion forecast. a VR device. Thanks to its success and
come into the public’s imagination. And So let’s take a look at some of the popularity, Google announced in May
this happened… with a Pokémon. Well, contributions of the big players in the 2016, that it would focus its efforts on
62 may 2018
Augmented reality
building a new, improved and enhanced it has given to WebAR. Efforts existed
platform for VR, called Daydream (https://
vr.google.com/daydream/).
before (open-source libraries like AR.js)
but Google has made the focus shift and
THE OPEN WEB
Finally, its latest effort in AR has been the world notice. Before, when people The web is a white canvas for AR, the
the greatest to date. Enter ARCore. considered AR they thought only about setting where multiple scenes can
HMD devices and funny-looking glasses, come alive. But why is AR on the web so
The coming of ARCore but now, Google has consolidated AR interesting? Why is WebAR a concept
In August 2017, Google shook the on the web. It has built two apps to that we consider so important and
augmented world by publishing ARCore expose both ARCore and ARKit with the key for AR development? Simple:
(https://developers.google.com/ar). Android web tech: WebARonARCore (http://bit. the web represents distribution and
users finally had their own AR platform. ly/2toGnK4) and WebARonARKit (http:// shareability, both essential factors for
With ARCore people started creating AR bit.ly/2oMAzp0). So, by exposing AR to a massive user adoption. On the web,
experiences on a massive scale. modified version of Chrome, developers anybody can experience or create AR.
So how does ARCore work? First of only need a single API to reach both For developers, the web has many
all, it has stable motion tracking, an markerless tracking platforms. advantages over native apps. For
advanced inside-out tracking with Ultimately the goal is to create a WebAR example, you only have to write your
monocular camera. Google was not the standard, much like the WebVR standard code once and it will run everywhere;
first to make AR available on a monocular (http://bit.ly/2D3ah5Z) that you can use you don’t have to write a version for
camera; Apple had introduced it before to write cross-platform AR applications. iOS, another for Android, and another
with ARKit (more on that later). Read more at http://bit.ly/2Ft6eoR. Now we for Windows phone. So there’s
ARCore also has hit-testing to detect can reach ARCore and ARKit from a web no need to learn mobile-specific
some planes (floor, table, wall) in the browser, and Google will probably include technologies. Devs can work with usual
space around you and give you their that in a Chrome implementation. web technologies. It’s hard for most
location (environmental understanding). Exciting times for WebAR. companies to staff and build mobile
Another important feature is real-world apps. For most businesses, web devs
light estimation. ARCore can estimate Microsoft are easier to find and recruit. Which
ambient and directional light. This is key Microsoft HoloLens was introduced to is why Max Lynch, CEO of Ionic, has
because with good lighting AR merges audiences in March 2016. It was one remarked: “Learning technologies
smoothly in the real world. ARCore is of the first modern AR head-mounted that can run practically anywhere,
currently available on Google-specific displays or smartglasses. The HoloLens like HTML5, JavaScript, CSS, and
devices like the Pixel, but it will soon be offers precise high-quality tracking. The frameworks such as Angular, Ember, or
open to millions of Android devices. advantage of transparent devices like the React is a smart thing for devs to do.”
HoloLens is that you don’t have to hold (http://bit.ly/2G09QMX)
The consolidation of WebAR the device in your hand (like you would Users won’t have to download
Another major contribution from Google a phone or tablet). Applications include applications to their phones that
is the importance and relevance that a catalogue of ‘holographic’ 3D objects consume disk-space and that will
probably get uninstalled in a few days.
They can access contextual data on
the go and easily share information no
matter which mobile carrier they have,
or country they are visiting.
Now more than ever efforts to make
WebAR a reality are taking shape, with
many contributions and supporters –
one of the big ones being Google with
its WebAR proposal. But there is one
library that came before, enabling users
to come a bit closer to AR, and start
playing around with it on the web. The
open-source project that made WebAR
a convincing idea, running efficiently on
browsers and mobile phones: AR.js.
Above Google introduces its Glass Enterprise Edition
may 2018 63
FEATURES Augmented reality
that you can play around with, and the got AR in your pocket by default… as long
AR.JS: THE OPEN- HoloStudio to create them. It uses mostly as you had an iPhone.
Above Shot from Google VR, the Afraid of the Dark video
64 may 2018
Augmented reality
Magic Leap
Magic Leap (magicleap.com) finally
announced its first product in December
2017. The Magic Leap One is an AR
headset to compete with devices like
FEATURES Augmented reality
content created for AR and VR uses its Education Microsoft HoloLens has been used by
engine. It offers support for Vuforia AR is already making changes in the thyssenkrupp engineering for elevator
(http://bit.ly/2oToDky), and there are Unity way we learn. Apps for education (http:// maintenance, and by Volvo (http://bit.
plugins for ARCore (http://bit.ly/2Ff9wwG) bit.ly/2hk1NTv) are being deployed in ly/1HhAi39) for complex assembly. The
and ARKit (http://bit.ly/2rtfFip). classrooms around the US and some same device was a finalist for the RIBA
Another company building an editor parts of Europe. Imagine children having Stirling Prize 2017 with applications
specifically targeted towards AR/VR trouble being attentive at school. Imagine for architecture and BIM (building
experiences is Amazon, with Sumerian that instead of reading a boring textbook, information modelling). Assuring quality
(aws.amazon.com/sumerian/). The premise they see history happening live in AR. is the most important thing for these
is that it’s quick and easy to use without Also, mixing elements in chemistry and industries, and the expert support,
requiring any specialised skills or 3D seeing the reactions fume or explode. automation and even AI that AR can bring
graphics expertise. The classroom is way more appealing is a big advantage to be invested upon.
Other companies that have produced this way. The love of learning will come
AR include Epson with MOVERIO (http:// back to our schools. You can learn with Retail and advertising
bit.ly/2keue0h), Sony with SmartEyeglass your phone, which means there are AR for retail and advertising is also being
(http://bit.ly/2Fgmbzv), IKEA with its Place fewer materials to buy, the retention developed. AR could reactivate this field.
app (http://bit.ly/2trISeL), Snapchat with rate will be higher, lessons will become The amount of revenue is interesting
Lens Studio (http://bit.ly/2zesAqq), Blippar more interactive and foster intellectual enough for advertisers to be willing
(https://web.blippar.com), Meta (metavision. curiosity. Children can benefit greatly to learn how to use AR/VR editors and
com), Wikitude (wikitude.com), Augment from apps like Aurasma (http://bit. mobile apps. By being able to visualise
(augment.com)… to name just a few. Even ly/2FfaVDs), Quiver (www.quivervision. the product in AR, the user will be more
NASA has been making use of AR/VR com), or the amazing flashcards and tempted to purchase it, or at least to
(http://bit.ly/2y6bNqk) for several projects anatomy app from Octagon Studio, which interact with it. It will boost sales. In the
on space research. are both recreational and educational. case of e-commerce the experience
can be triggered either from a
The market and its applications AR in the workplace website or from a printed
Now that there is more visibility AR in the workplace has also started to ad on the street. All they
around AR, an increasing excitement be implemented. Industrial applications need is a QR code to scan
about its possibilities, and that the are being tested on factories to teach and launch the experience.
tech is made available to more people, workers how to use the machinery, or to Remember the window
what’s next? Well, one word: creation. extract information like the current state shop from Net-a-Porter
Content creation. This means building of the equipment, temperature, location, (http://bit.ly/1p6xEzV), or
applications for the many fields where etc. Obviously this is very interesting the Pepsi Co’s unbelievable
AR can play an important role. Let’s take for industrial customers because it bus experience, and
a look at some of the ways society is minimises error and cost. It can also even Tesco has a AR
making use of AR. help with maintenance procedures. The app. Other companies
Above The Unbelievable Bus Shelter from Pepsi Max is a mind-blowing use of AR
66 may 2018
Augmented reality
may 2018 67
FEATURES The art of data visualisation
68 may 2018
The art of data visualisation
AUTHOR
AUDRÉE LAPIERRE
is creative director of
FFunction, an award-
winning data visualisation
studio based in Montréal.
She’s created interactive
dataviz for clients
including UNESCO
Institute for Statistics, Data visualisation – or dataviz – is
HP, National Geographic a hydra-headed beast that brings
and Deloitte. together a variety of disciplines: visual
@audreelapierre communication, data journalism,
lqirupdwlrq/#XL#dqg#ghvljqĝ1#
A great data visualisation should be:
may 2018 69
FEATURES The art of data visualisation
locating ‘good’ data that is clean, well- GG#dorqjvlgh#GG2PP2\\\#dqg/#iru#jrrg# Right: There are several steps that usually need to happen
sourced, credible and not full of holes phdvxuh/#PP2GG2\\\\1# before you start visualising
dqg#glvfuhsdqflhv1#Wkhuh#duh#d#qxpehu#ri# Ehfdxvh#ri#wklv/#|rx#xvxdoo|#qhhg#wr#
repositories that link to interesting data properly format the data to get all the
sets if you want to practice or need good ilhogv#vruwhg#rxw#dqg#uhdg|#wr#ylvxdolvh1# ri0wkh0er{#zlwk#h{fhoohqw#FVY/#[PO#dqg#
gdwd#iru#d#folhqw#surmhfw1# You can use a free tool like OpenRefine, JSON parsing/formatting modules, but it
which is an open source power tool for also has modules to work with formats
Open data portals working with messy data and improving vxfk#dv#VSVV#ru#H{fho#ilohv1#Dqg#li#|rxġuh#
OOECD data portal https://data. lw1#Dv#zhoo#dv#ehlqj#iuhh/#RshqUhilqh# pulling your data from a more structured
worldbank.org/products/tools has a familiar spreadsheet interface so pool of data, the pandas library is
OEU Open Data Portal http://data.europa. wkh#eduulhu#wr#xvdjh#lv#uhdoo|#orz1#Ilqg# ghilqwho|#wkh#zd|#wr#jr1
eu/euodp/en/home tutorials on how to use it at https://github.
OUNESCO data portal http://uis.unesco. com/OpenRefine1# Converting to JSON
org/ Often you’ll need to write some code to JSON is the de facto standard for
OWkh#Zruog#Idfwerrn https://www.cia. prep your data, and Python is one of the communicating data between web
gov/library/publications/the-world- most popular – and well suited – tool for applications, and certainly the standard
factbook/ wklv#mre1#Iru#d#vwduw/#S|wkrq#frphv#rxw0 in data visualisations (libraries like
70 may 2018
The art of data visualisation
CASE STUDY:
you’d like your visualisation to work for a
orqj#wlph1#Rwkhuzlvh#|rxu#ylvxdolvdwlrq#
zloo#glh#iurp#elwurw1
FATALITY MAP
The visualisations It bears pointing out that dataviz isn’t
There is a magic in graphs. The just about making charts. A couple of
surĽoh#ri#d#fxuyh#uhyhdov#lq#d# years ago, FFunction was working on a
ľdvk#d#zkroh#vlwxdwlrq#Ğ#wkh#olih#klvwru|# project for the Coalition for a Safer 63 &
of an epidemic, a panic, or an era of 881 (https://safer63and881.com/). The
prosperity. The curve informs the mind, client had geolocated data on accidents
awakens the imagination, convinces.” that happened along two major highways
Khqu|#G#Kxeedug in Alberta, Canada, and wanted to find a
way to connect people to the data.
ĠJhwwlqjġ#wkh#gdwd#lv#pruh#wkdq#mxvw#
downloading the files or connecting
to the API; it’s about understanding
lwv#vwuxfwxuh#dqg#phdqlqj1#Lwġv#derxw#
sketching and testing different shapes for
wkh#gliihuhqw#glphqvlrqv#ri#|rxu#gdwd1#
Just like graphic design, simply
drawing can help uncover the best visual
dssurdfk1#Lwġv#dovr#ehvw#wr#nqrz#zkdw#
Above: Fatalities of 63 & 881 is an interactive
you want to depict before you jump to experience that uses geolocated data to start a
frglqj1#D#frpsohphqwdu|#dssurdfk#lv#wr# conversation about driving safely
h{soruh#wkh#gdwd#dqg#gr#vrph#suholplqdu|#
charts to get a feel for what the data is We decided to take the users on
D3 even introduced new JSON formats vd|lqj1#Prvw#h{shuwv#vwloo#xvh#H{fho#wr# an interactive drive and map all of
vxfk#dv#WrsrMVRQ#wr#hqfrgh#JLV#gdwd/# create quick bar graphs at the beginning the fatalities along the highways. The
wudglwlrqdoo|#vklsshg#dv#ĠVkdshilohvġ,1 of projects to understand it better and see geography component was incredibly
JSON also works well with large data krz#lw#pljkw#orrn#ylvxdolvhg1# important, as Albertans are familiar with
sets (10,000+ entries), but in that case As you begin to come up with concepts, the roads and this helped to ground the
you have to make sure the server that it’s important to think carefully about the fatality references in their reality. We
serves the JSON files does on-the-fly gzip end user and how they will receive and downloaded the vectors of the road from
frpsuhvvlrq1#D#83PE#iloh#fdq#eh#uhgxfhg# surfhvv#wkh#lqirupdwlrq1#\rx#kdyh#wr#ilqg# Google Maps and then made tests to
wr#d#frxsoh#ri#phjde|whv1 a way into the numbers that is relatable determine the dimensions of the map
Note that if the client has an API, you and engaging, and really brings the data based on the viewport of the user’s
can skip the rigmarole of normalising wr#olih#lq#hyhu|#vhqvh#ri#wkh#zrug1# browser and the speed at which the car
and validating the data and ensuring its One good trick is to start with a travels down the road. At 120km/h it
fuhglelolw|1#Krzhyhu/#nhhs#lq#plqg#wkdw# question and to create a visual that takes three and a half hours to drive the
wkh#DSL#pljkw#euhdn#ru#fkdqjh1#Vr#|rx# dqvzhuv#lw1# full highway, so we changed the speed to
10,000 km/h to have an experience that
lasts just under three minutes. To give the
impression of going at a normal speed,
we had to exaggerate the width of the
highway and zoom out, which resulted in
a sort of caricature, or simplified version
of the landscape.
Finally, we geolocated the collisions on
the road. When the car hits a marker, it
opens a tooltip with the description of the
accident. This was a good way to bring
data to life without leaning on traditional
graphs and charts.
Choose wisely You can take many different approaches in your dataviz. Beware though, these treatments can yield quite
different stories!
may 2018 71
FEATURES The art of data visualisation
Above Choose colours carefully & don’t overload charts Above: Readability is vital when presenting data, so brush up on some fundamental design skills
72 may 2018
The art of data visualisation
With interactive visualisations, you can duh#fkdqjlqj#doprvw#hyhu|#gd|1#Khuh#dw# This is a curated list of tools that you may
set the legend to appear directly on the FFunction we like to try out new tools find useful to create a data visualisation.
ylvxdolvdwlrq/#wr#holplqdwh#wklv#glvwdqfh1# dqg#soxjlqv#dv#vrrq#dv#wkh|#frph#rxw1#
Wklv#wulfn#lv#h{wuhpho|#xvhixo#rq#d#preloh# For most of our projects we use custom Dataviz tools for non-
screen, where you don’t want users to languages that transpile to JavaScript/ developers or beginners
vfuroo#xs#dqg#grzq#wr#ghfrgh#wkh#ohjhqg1 KWPO2FVV#dqg#d#fxvwrp#vhw#ri#oleudulhv# O Lyra: design dataviz like you draw on
for component-based UI and animated, Illustrator. Experimental tool being
developed by a university. http://idl.
Navigation and filtering lqwhudfwlyh#gdwd#ylvxdolvdwlrq1#
cs.washington.edu/projects/lyra/
As with any application, you want users
O Processing https://processing.org/
wr#xqghuvwdqg#zkhuh#wkh|#duh1#Ohwġv#vd|# Ilqdo#wkrxjkwv
O Vega https://vega.github.io/vega/
users can select a category in a treemap Wkh#ghvljq#dvshfw#ri#gdwdyl}#lv#wkhuh#
O NodeBox https://www.nodebox.net/
(https://datavizcatalogue.com/methods/ for a reason: to imbue meaning, control
O Chart.js http://www.chartjs.org/
treemap.html) to see the proportional pacing and offer the user an easy way
O Plotly https://plot.ly/
quantities for its subcategories; the user lqwr#wkh#qxpehuv1#\rx#vkrxog#qhyhu#
frxog#jhw#orvw#hdvlo|1#Krz#grhv#kh#ru#vkh# underestimate the importance of the old- O Tableau https://www.tableau.com
come back to the top category? A simple fashioned design principles like contrast, O CARTO https://carto.com/
euhdgfuxpe#frxog#khos1#Li#wkh#xvhu#fdq# repetition and good typography when you O Flourish https://flourish.studio/ (sign up
filter the data, you have to make it easy dssurdfk#gdwd#ylvxdolvdwlrq1# for the waiting list or use now if you’re
a developer)
for them to see what selections they If you want to find out more about
O Kartograph https://kartograph.org/
kdyh#pdgh1#Dqlpdwhg#wudqvlwlrqv#duh# information design, investing in these
O Gephi https://gephi.org/
also a good way to show how filters are books is a good place to start:
affecting the visual elements, without
glvuxswlqj#wkh#iorz#ri#lqwhudfwlrq1 1. The Wall Street Journal Guide to Tools for developers
Information Graphics O Python for getting and normalising
the data.
Dealing with small screens 2. Nathan Yau’s book Visualize This and
Comparing data points is an often- his website flowingdata.com O IPython and Jupyter to use for any
‘data-dive’ sessions.
overlooked part of data visualisation 3. Semiology of Graphics#e|#Mdftxhv#Ehuwlq
O D3.js is great for data visualisation
but it’s a critical feature for anyone who 4. Show Me the Numbers by Stephen Few
in general, especially map-based
wants to understand the big picture 5. The Functional Art by Albert Cairo visualisations, but it lacks the structure
without having to keep going back to needed for larger applications or more
uhihu#wr#d#vsuhdgvkhhw1 Kdss|#ylvxdolvlqj$ complex interactive visualisations.
D#vpdoo#pxowlsoh#+DND#Wuhoolv#fkduw/# O React has some good points for more
lattice chart, grid chart, or panel chart) is complex applications, but it has an
overhead that is proportional to the
a series of similar graphs or charts using
number of data points you’re mapping,
wkh#vdph#vfdoh#dqg#d{hv/#zklfk#hqdeohv# and is not optimal for animating
wkhp#wr#eh#hdvlo|#frpsduhg1#Lq#rwkhu# elements of the dataviz.
words, it uses multiple views to show O Most people use React and D3
different partitions of together, where React is for rendering
d#gdwd#vhw1#Sxwwlqj# HTML and D3 for rendering SVG.
these elements side
may 2018 73
Discover another of our great bookazines
From science and history to technology and crafts, there
are dozens of Future bookazines to suit all tastes
Tips, tricks
& techniques
86
76
88
92
ACCESSIBILITY:
PROCESS IMAGES WITH GRAPHIC SHADERS 82 ACCESSIBILITY IN MIND 98
PROJECTS HTML, Sass & JavaScript
A B O U T T HE A U T H O R
NEIL P E ARCE
w: neilpearcedesigns.co.uk
t: @neilpearce
job: Front-end developer
and designer
areas of expertise:
All-round front-end
developer, style guides,
pattern libraries,
architecture, team work,
speaking, workshops
BUILD A SPLIT-SCREEN
LANDING PAGE
Using HTML, Sass and JavaScript, develop an animated split screen
landing page, ideal for a fashion brand website
Your website landing page is a crucial element we’ll be using HTML, Sass (.scss) for styling and a
in web design. Its effectiveness can translate to touch of vanilla JavaScript that uses the ES6 syntax.
increased conversions and when it involves an To make things easier for us, we will develop this
ecommerce website, this can be very important. project within Codepen (https://codepen.io). You can
Landing pages are designed with a single focused use your own local set up but we will be using Sass,
objective – known as a Call to Action (CTA). This CTA so if you want to follow along with everything I’ll be
needs to be simple and obvious enough to work – doing without using Codepen, then you’ll need Sass
simplicity is key here as your landing page is the first installed and running before we can begin.
real opportunity you have to introduce your business,
or the product or products you sell. So the use of nice GETTING SET UP
colours and images to compliment the calls to action If you’re using Codepen, make sure the CSS is set
and the user experience is a must. to ‘SCSS’ in the Pen settings. You can make this
So, in this tutorial, we will look at how we can change by clicking on the settings tab, choose ‘CSS’
build a simple landing page for a fashion brand for and change the CSS Preprocessor to SCSS in the
both men and women. We will be giving the user dropdown options. Then we can begin adding in our
a nice pleasant design with nice large images and HTML. We’re going to wrap a section called ‘left’ and
animated transitions that happen on hover. This a section called ‘right’ within a container class, with
page will have two clear calls to action buttons and both sections given a class of ‘screen’.
76 may 2018
HTML, Sass & JavaScript
<div class="container">
<section class="screen left">
</section>
<section class="screen right">
</section>
</div>
<div class="container">
<section class="screen left">
<h1>Mens Fashion</h1>
<button>
<a href="#" class="button">Learn More</a>
</button>
</section>
SASS VARIABLES
The one thing we all love about Sass is the use of
variables. Even though native CSS variables are
getting more support, we will keep things safe by
using Sass. We will put these at the top of our ‘.scss’
,
and you can choose whatever colours you want, but set the width and height to 100% and make sure that Top In the CSS section
in Codepen, set the
using the ‘rgba’ values will give us more flexibility. anything that overflows on the X axis gets hidden. preprocessor to SCSS using
the drop down options,
before continuing on
/** Variables **/ html, body {
padding:0; Above With our HTML now
completed, we can start to
$container-BgColor: #444; margin:0; add in some CSS by giving
$left-bgColor: rgba(136, 226, 247, 0.7); font-family: 'Open Sans', sans-serif; the body some styling
$left-button-hover: rgba(94, 226, 247, 0.7); width: 100%;
$right-bgColor: rgba(227, 140, 219, 0.8); height: 100%;
$right-button-hover: rgba(255, 140, 219, 0.7); overflow-x: hidden;
$hover-width: 75%; }
$small-width: 25%;
$animateSpeed: 1000ms; STYLING THE SECTION TITLES
In print, fashion magazines use specific fonts. The
BODY STYLING most common is ‘Didot’. However, this font isn’t
Firstly, we will clear all default padding and margin a Google font so we will use one called ‘Playfair
to the body and then set the font family to ‘Open Display’ – which is close enough. Then using
Sans’. This will only effect the button, so it doesn’t ‘translateX’ we can make sure the section titles are
matter too much on what font we use. Then we will always centred on the x axis.
may 2018 77
PROJECTS HTML, Sass & JavaScript
top: 50%;
height: 2.6rem;
padding-top: 1.2rem;
width: 15rem;
text-align: center;
color: white;
border: 3px solid #fff;
border-radius: 4px;
font-weight: 600;
text-transform: uppercase;
text-decoration: none;
transform: translateX(-50%);
transition: all .2s;
BUTTON HOVERS
The main buttons will have a nice simple hover
effect and we will use the Sass variables we specified
Above The default
background colour is set for the colour, which will be a similar colour to the
to a dark grey, which won’t background of the page.
be seen. We then style the
buttons and page titles
.screen.left .button:hover {
Right Both the left and background-color: $left-button-hover;
right sections will display
an image, and you can find border-color: $left-button-hover;
royalty-free stock images }
from websites such as
Unsplash, Pixabay or pexels
.screen.right .button:hover {
background-color: $right-button-hover;
border-color: $right-button-hover;
78 may 2018
HTML, Sass & JavaScript
&:before {
position:absolute;
content: "";
width: 100%;
height: 100%;
background: $left-bgColor;
}
}
may 2018 79
PROJECTS HTML, Sass & JavaScript
.hover-left .right:before {
z-index: 2;
CSS
}
CSS VARIABLES new class will be added on mouse hover using JS, and
the right screen will stretch out accordingly. We also
need to make sure the ‘z-index’ is set to ‘2’ so the
CSS native variables (CSS custom properties) are getting more CTA button becomes more prominent.
and more browser support, so using Sass or any other CSS
preprocessor may at some point in the near future become .hover-right .right {
obsolete. So, it doesn’t hurt to start using CSS variables now, and width: $hover-width;
I thought it would be a good idea to take a closer look at how we }
could actually use native variables in this tutorial.
First of all we target the global ‘:root’ element, which is similar .hover-right .left {
to the ‘html’ element, but with higher specificity. width: $small-width;
}
root {
.hover-right .left:before {
} z-index: 2;
}
CSS variable syntax is relatively straightforward. To instantiate a
CSS variable, simply use two dashes (--) followed by one or more ADDING THE JAVASCRIPT
valid characters as shown. We will be using a touch of vanilla JavaScript to help
us add and remove CSS classes and we will also be
:root { using some of the new ES6 features. The first thing
we need to do is to declare some constant variables.
--container-BgColor: #444; Because we will be using ‘document’ more than once,
--left-bgColor: rgba(136, 226, 247, 0.7); we will set a constant variable called ‘doc’ and store
--left-button-hover: rgba(94, 226, 247, 0.7); the document within that so we can keep the word
--right-bgColor: rgba(227, 140, 219, 0.8); ‘document’ nice and short.
--right-button-hover: rgba(255, 140, 219, 0.7);
--hover-width: 75%; const doc = document;
--small-width: 25%;
--animateSpeed: 1000ms; MORE CONSTANTS
Now we need to set three more constants that will
} store the ‘.right’
, ‘.left’ and ‘.container’ selectors. The
reason we are using constants is because we know we
To use a variable, you have to use the ‘var()’ function and provide don’t want to change the value of these, so using a
the named property inside as shown: constants makes sense. With these now set, we can
go ahead and add some mouse events to them.
.screen.left .button:hover {
background-color: var(----left-button-hover); const right = doc.querySelector(".right");
border-color: var(----left-button-hover); const left = doc.querySelector(".left");
} const container = doc.querySelector(".container");
The syntax may not be as simple as using Sass (using the $ sign), ADDING MOUSE EVENTS
but not having to install Sass and starting it up every time you Using the ‘left’ constant variable we declared in the
make changes to the CSS, is very appealing and will become the last step, we can now add an event listener to it. This
norm in the very near future. event will be the ‘mouseenter’ event and instead of
using a callback function, we will use another ES6
feature called ‘Arrow Functions’ ( () => )
80 may 2018
HTML, Sass & JavaScript
left.addEventListener("mouseenter", () => {
container.classList.add("hover-left");
});
right.addEventListener("mouseenter", () => {
container.classList.add("hover-right");
});
right.addEventListener("mouseleave", () => {
container.classList.remove("hover-right");
});
may 2018 81
PROJECTS Graphic shaders
A B O U T T HE A U T H O R
RICHARD MAT T K A
w: http://richardmattka.com
t: @synergyseeker
job: Interactive director,
designer, developer
areas of expertise:
Shaders, VFX, WebGL
GRAPHIC SHADERS
82 may 2018
Graphic shaders
SHADERS
GET FAMILIAR
WITH VERTEX
Above Your first image graphic shader; just a naked image – simple but it works!
285),567,0$*(6+$'(5Ɯ5$:,0$*(
In order to see our shader executed, we need
to render it. A quick method is to use a WebGL
rendering tool, such as Shadertoy. It gives us a nice
code window to practise in and a render window to An RGB colour shift shader effect was applied on these custom
see our work. panels for the Independence Day Resurgence project
To get started, open up https://www.shadertoy.com/
new in a browser that supports WebGL. We are focused on the fragment shaders in this tutorial, but
Just below the code window, you will see four just for context, we should mention the vertex shader’s role
boxes. Click on the first one labelled Channel0. in image processing. The vertex shader (the first in the pipeline)
Select the Texture tab and pick an image you’d like to defines a uniform variable for us that samples the image data that
use as a texture. we refer to as a Texture. A typical declaration for this would be:
You’ll see a sample shader code all ready to go for
you in the code window. Let’s delete it so we can `uniform sampler2D iChannel0;`
write our own.
Type in this new code and press the black play icon This gets passed down the pipeline so we are able to access this
at the bottom of the window. This will execute the data in our fragment shader (the last shader in the pipeline).
shader code. We define the uniform again in the head of shader and then can
access it via a built-in GLSL function called Texture or Texture2D in
`void mainImage( out vec4 fragColor, in vec2 fragCoord ) { some contexts, like this:
vec2 uv = fragCoord.xy / iResolution.xy;
vec4 col = texture(iChannel0,uv); `texture(iChannel0,xy);`
fragColor = col;
}` This function returns a vec4 (four part) variable for the specific
pixel we are processing. This exactly corresponds to the vec4
You should now see your image. Not too exciting, variable we need to return in our main function. Recall, shader
but it works. We are passing the image data through code processes just the pixel (fragment) it is focussed on. It does
the pipeline and rendering it to screen. Because this in parallel for every pixel, which is why it is so fast.
we can now program this shader, we will be able to If you are using a WebGL library such as three.js you have a
manipulate these pixels. method to load images as textures, which then you can load into
So what’s going on in the code? that uniform variable you’ve declared. For example:
To start, we normalised the current fragment
pixel xy by dividing by the iResolution uniform. This `iChannel0: { type: ‘t’, value: THREE.ImageUtils.loadTexture(
enables the shader to work regardless of resolution. ‘assets/tex1.png’) }`
In the second line, we grab the current colour value
for that corresponding pixel fragment in the image
texture using the texture function, which takes a
texture (loaded via the iChannel0) and a position
(2D). Then we simply set this value as our fragColor
value. Done.
may 2018 83
PROJECTS Graphic shaders
`vec2 uv = fragCoord.xy / iResolution.xy;` You should see your image is now black and white, or
‘greyscale’. Perfect!
Macros Let’s break down what we are doing. To start, we
Fragment shaders can use preprocessor macros, which may are defining a colour to use to desaturate the image.
be familiar if you know C. Macros are part of a pre-compilation This particular set of values works nicely by not
step. It is possible to #define global variables and do some basic darkening or lightening the image too much. You
conditional operation (#ifdef and #endif). Macro commands begin can tweak these to taste, but you’ll notice these
with a hashtag (#). add up to exactly 1.0. Darkening the image might
be something you wish to do, so use lower values.
As an example of this, you could add this to your code before the You can experiment with these values to see how it
main function: darkens or lightens aspects of your image.
The new lines we have added are for defining
`#ifdef GL_ES our desaturated colour (grey) and also updating
precision mediump float; our fragment colour to use it. We use a function
#endif ` called dot, which simply calculates the dot product
of the two vectors. This is handy because it returns
You can define lowp, mediump or highp for the precision of float a float value between 0.0 and 1.0 that retains the
values (how many digits past the decimal). Lower precision means brightness of the overall pixel. Its total value is now
faster performance, higher means slower. a ‘brightness’ value.
By assigning this same value to the red, green and
blue channels, we end up with a colour that ranges
84 may 2018
Graphic shaders
between black and white without any colour tinting. Top Nice, simple, greyscale
image. Useful, and required
Just what we want. as a base for other effects
2857+,5',0$*(6+$'(5Ɯ6(3,$
like this simple water
example can make for
some great backgrounds or
What if we wanted to do a nice sepia tone, or a surface details
similar colour filter effect?
Give the code below a try:
may 2018 85
PROJECTS CSS @supports
COMPATIBILITY
In the future, more tools like this could get
lqwhjudwhg#lqwr#frgh#hglwruv/#iru#h{dpsoh#rļhulqj#wlsv#
about browser support, or giving warnings when your
project requirements are incompatible with a certain
Florian Scholz looks at the data set aiming browser version. Maybe compatibility could even be
tested as part of continuous integration! A compat bot
to ease checking browser compatibility
could comment on your pull request to give you hints
Many browsers on countless devices aim to about where support is going to break, for example.
support a growing web technology stack. For now, the MDN community focuses on
Xqiruwxqdwho|/#Ľqglqj#rxw#zkdw#zrunv#zkhuh#riwhq# maintaining the compatibility data set and keeping it
means extensive manual testing. up-to-date together with other browser vendors. Last
Web content should be compatible with as many year Mozilla brought Microsoft, Google, the W3C, and
browsers as possible. Compatibility, like accessibility, Samsung together to form an MDN Product Advisory
is an important concern if you wish to avoid excluding Board. While the MDN community always tried to
people from your website or app. However, it is often provide information about web development for many
glĿfxow#wr#whoo#zkhwkhu#d#fhuwdlq#ihdwxuh#zrunv#lq#d# browsers, this collaboration now formalises existing
given browser; for example is it supported correctly, relationships. For the compatibility data, the board
grhv#lw#uhtxluh#d#suhĽ{/#ru#lv#lw#vxssruwhg#zlwk#d# members agreed to drive updates for Chrome, Edge
non-standard name or behaviour? This can quickly and Samsung Internet and help review compatibility
multiply – do you research every feature in your code gdwd#Jlwkxe#sxoo#uhtxhvwv#+SUv,#wkdw#duh#ľdjjhg#iru#
wr#whoo#li#wkh|#duh#vxssruwhg#hqrxjkB#Li#|rxu#FVV#Ľohv# their browsers. As opposed to the old static compat
use more than 200 properties, you will probably tables, the new structured compatibility data is now
start guessing how far back browsers are likely to xsgdwhg#uhjxoduo|1#Wkdwġv#dq#hqruprxv#ehqhĽw#iru#wkh#
support your layout. Having no real answer about the maintainers of the MDN compat tables and everyone
compatibility of an entire code base is not ideal. interested in using this data.
The mission of MDN Web Docs is to document Everyone should be able to use the web with any
the features of the Open Web. It contains thousands devices and browsers. Having data available about
of reference pages about CSS properties, HTML possible incompatibilities should help with this.
86 may 2018
;9@0::<,:-69
BIG SAVINGS ON OUR BEST-SELLING MAGAZINES
myfavouritemagazines.co.uk/spring182
A B O U T T HE A U T H O R
ANNA K ELIAN
w: http://annakelian.webflow.
io/
t: @Anna_Kelian
job: Education writer at
Webflow Inc
areas of expertise: Teaching,
writing, web design
WEBFLOW
MENT ON
SCROLL USING WEBFLOW
EXPERT TIP
ILLUSION
OF DEPTH
Simulate
Use the power of the Interactions feature to animate images and create
a credible
3D space by the illusion of depth and perspective as you scroll through a web page
following depth
perception The parallax effect creates an illusion of depth In this tutorial, you’ll learn how to apply a scroll-
principles. and perspective. You can achieve it by moving based interaction to multiple images. The images
These include visual elements at different speeds. Creating in the section will appear to be moving at varying
the size and animations using the parallax effect can serve many velocities. This simulates a realistic feeling of depth
position of purposes, and enables your visitors to engage with because images that appear closer also appear to
elements and your site’s content in various ways, for example move faster.
various shadow showing how something works or highlighting the To check out how this animation is made and
distances. Even anatomy of a product. Or it can create a visual effect interact with it within the Webflow Designer,
eoxu#hļhfwv# that keeps your site’s visitors surfing for longer. you need to pay a visit to Webflow University
can be used to Webflow’s new Interactions 2.0 makes integrating (university.webflow.com). The lesson is titled Parallax
simulate depth such animations in your website a snap, without you Movement on Scroll. It is part of the Interactions and
ri#Ľhog1 having to write a single line of code. Animations course.
88 may 2018
Zheľrz
ADD A SECTION
First, let’s create a section
1 that can be scrolled into and
out of view. Drag a Section element
onto the canvas from the Elements
panel found on the left. Place it
below the fold and also above the
other sections.
“Understanding the
animation helps you identify
the trigger and action that
|rx#qhhg#wr#ghĽqhĤ
BRING IN IMAGES DEFINE THE
Drag an image from the ANIMATION
4 Asset Manager into the Understanding the animation
section. Set an appropriate width
7 helps you identify the trigger Step 5 Add drop shadows
and repeat the procedure for all and action that you need to define
images. Since you want to create an in order to achieve the aim you have Step 6 Specify the z-index for images
illusion of 3D space, make sure you in mind. In this animation, you want
take that into consideration when to animate the images when the
setting image dimensions. section (an element) scrolls through
the viewport. So, the trigger is an
STYLE THE IMAGES Element Trigger of While Scrolling in
Add a drop shadow to each View. And the action will be an On
5 image. Make sure all images Scroll animation.
have the same shadow angle.
Change the colour and opacity of SET THE TRIGGER
the shadow. Set its distance from Now that you’ve identified
the image boundaries. Add some
8 the elements of your
blur and set the size or spread of the interaction, you can start creating it.
shadow relative to the image Select the section that
boundaries as well. contains the images you Step 8 Now it is time to introduce an interaction
may 2018 89
PROJECTS Zheľrz
CONFIGURE
THE TRIGGER
Choose to Play Scroll
9 Animation. Change the
animation boundaries if you’d like.
This enables you to set when the
animation starts and ends. By
default, the animation begins when
the section starts entering the
viewport, and it ends when it leaves
the viewport. Keep the default for Step 9 Decide when an animation begins
this tutorial. and ends
DEFINE THE
SCROLL ANIMATION animation. Two keyframes or
Defining your aim can help instances of the image are added to
10 you identify the actions that the animation timeline. One is set at
you need to set. The aim at this 0% – the beginning of the
point is to move the images at animation; and one at 100% – the
various speeds. Those in the front end of the animation.
should appear to be moving faster
than those in the back as you SET AN INITIAL
scroll through the section. So, POSITION
you’ll be creating a scroll action Select the first keyframe at Step 11 Smooth out the animation; try something other than the default
of Move for each image. Then, set
13 0%. In the Move transform
the position of each image on the settings, move the image down by
y-axis at the beginning and end setting its position on the Y-axis to
of the animation. 1000px. This will be the position of
the image as the section first scrolls
CREATE THE into view.
SCROLL ANIMATION
Before creating the ESTABLISH A
11 animation, let’s talk about FINAL POSITION
smoothing. Smoothing, or damping, Select the second keyframe
softens and smooths out the
14 in the animation timeline,
approaching velocity towards the and move the image up by setting
correct position on the animation its position on the y-axis to
Step 12 Select Move to affect how an image moves
timeline. You can adjust the value of -1000px. This will be the position of
smoothing under Scroll Animations. the image as the section scrolls out
For this tutorial, you can leave it at of view.
50%. Now, create a new Scroll
Action and then rename it to GET READY FOR A
Parallax Scroll Effect. SECOND ACTION
Select the image that has the
PERFORM A 15 lowest z-index and appears
MOVE ACTION to be positioned way in the back of
Select the image that has the the section. Add a scroll action of
12 highest z-index and appears Move. Two new keyframes are
to be the closest to your viewpoint. added to the animation timeline for
Add a scroll action of Move to alter this new image, one at 0% and
how the image moves during the another at 100%. Step 13 With the scroll action selected it’s time to select the first keyframe
90 may 2018
Zheľrz
IMAGES
SPEED OF MOTION
When you’re setting the position of the images on the y-axis,
you’re also setting the speed of motion. That’s because as
you scroll through the section, the first image travels from
y-position of 1000px to y-position of -1000px – a distance of
2000px. The second image travels a shorter distance of 704px as
it moves from a y-position of -352px to a y-position of 352px. So it
Step 14 Select the final keyframe and how
it animates
appears there are three planes or levels of depth in that section:
the first level, in which the image appears closer and also to be
moving faster; the second, where almost all the other images
DEFINE THE appear to move at a normal rate; and the third, in which the image
INITIAL POSITION appears farther back, and to be moving at a much slower rate.
Select the keyframe at 0% for
16 this new image. In the Move
transform settings, move the image Step 19 Switch on one of the preview
up by setting its position on the options to see the animation in action
may 2018 91
PROJECTS SweetAlert
A B O U T T HE A U T H O R
FR ANCIS
K AGUMBA
w: behance.net/Studio_Eight
t: @fkagfrancis
job: Freelance tech writer
and front-end designer
areas of expertise: HTML5,
JavaScript, CSS and
WordPress CMS
SWEETALERT.JS
CUSTOMISE DIALOG
BOXES WITH SWEETA
T LERT
Francis Kagumba reveals the basics of using SweetAlert, a standalone
JavaScript library that provides a consistent UI feel for your dialog boxes
Whether you are starting out as a JavaScript windows. It’s easy to use, wonderfully simple to
developer, or have been using the language for learn, and transforms boring traditional dialogs into
some time now, you would no doubt agree that one attractive modal windows that appeal to your users
area that breaks the consistency of your user even further.
interface is the traditional JavaScript dialog box. In this tutorial, we will go through the basics of
While dialog boxes enable user interactivity across installing and using the library, and then proceed to
different browsers using either the alert ( ), prompt create a simple web registration form that employs
( ) or confirm ( ) functions, they are somewhat SweetAlert to inform users of their different
unappealing and inflexible, let alone breaking away actions on the website. We will use the library to
from the UI/UX of your website. demonstrate how we can alert a notification to the
One approach to solving this problem that has user, prompt the user for feedback, and confirm
gained in popularity is the use of SweetAlert their different actions. We will be using Brackets
JavaScript library. The library, which is developed editor to code the tutorial, however you are free to
using CSS and JavaScript, comes in as a replacement use an alternative. For the browser, we are using
for the traditional JavaScript dialogs and modal Google Chrome but you are not limited to the same.
92 may 2018
SweetAlert
may 2018 93
PROJECTS SweetAlert
The style sets the maximum width Add this code snippet in the head
of the main container to 1170px section of your code, directly after
while margins are set to auto. the title.
94 may 2018
SweetAlert
may 2018 95
HOSTING PARTNERS
CONTACT US To advertise here, contact our sales team: +44 01225 687 832 chris.mitchell@futurenet.com
Key hosting
directory
FEATURED HOST
CONTACT
03330 439780 / SALES@NETCETERA.CO.UK
“We have several servers from Netcetera
and the network connectivity is top-notch
- great uptime and speed is never an issue. WWW.NETCETERA.CO.UK
We would highly recommend Netcetera”
Suzy Bean WHAT NETCETERA OFFERS
O Managed hosting: a full range of solutions for
EXPERT TIP a cost-effective, reliable, secure host
CLOUD TECH TIP... O Dedicated servers: single server through to a full rack,
with free set up and a generous bandwidth
If you’re going to fully utilise cloud technology,
before deciding on a service provider, ask whether O Cloud hosting: Linux, Windows, hybrid and private cloud
monitoring comes as standard and whether solutions with support and scaleability features
management is included in the price. A fully
pdqdjhg#forxg#fdq#pdnh#|rxu#exvlqhvv#ľ|>#dq# O Data centre co-location: from quad-core up to smart servers
underutilised cloud will be a waste of money. with quick set up, and all fully customisable
1&1 INTERNET THENAMES
1&1 Internet is a leading hosting provider that enables TheNames.co.uk offers great value cPanel web hosting, SSL
businesses, developers and IT professionals to succeed online. certificates, business email, WordPress hosting, Cloud, VPS
With a comprehensive range of high-performance and affordable and dedicated servers. Part of a hosting brand that started in
internet products, 1&1 offers everything from simple domain 1999, it is well established, UK based, independent and its mission
registration to advanced eCommerce packages. is simple: ensure your web presence “just works”.
TIDYHOSTS CATALYST2
Tidyhosts boasts a feature-rich selection of services from As one of the UK’s most experienced hosting companies,
shared web hosting, WordPress hosting, hosted exchange, Catalyst2 has built a stable, reliable and well-supported
virtual servers and streaming. Tidyhosts’ passion and drive hosting platform for organisations across the UK. Catalyst2
has gained it a highly reliable and trusted reputation from its specialises in very high-availability hosting and exceptional
customers, making it the number one choice for hosting services. customer support. Contact the team today for a quote.
HEART INTERNET
As one of the UK’s leading web hosting authorities, Heart
ADVERTISE HERE!
Internet focuses on designers, developers and technically Would you like to promote your hosting business
adept businesses. It builds on its four tenets – speed, reliability, and services to our audience of professional web
support and security – to create award-winning solutions for over designers and developers? If so, please call or email
500,000 customers. Chris as below.
CONTACT
+44 01225 687 832 / CHRIS.MITCHELL@FUTURENET.COM
PROJECTS Accessibility
ACCESSIBILITY
ACCESSIBILITY IN MIND
Carl Cahill asks: at what point does web accessibility become something
you care about and how far do you go to make sure you cater for it?
Web accessibility is something you know we follow when accommodating great web accessibility.
should be acknowledging. In the UK, it is Mostly it’s all about the visual accessibility of your
reported there are over 11 million people with project and being aware of things like font sizes,
recorded disabilities and many require assistive contrasting colours and navigational elements.
technologies to help perceive content. There should Screen magnifiers make up 30% of used assistive
be no excuse for not thinking about accessibility. But technologies, so scale and readability are important.
I bet you won’t be surprised to hear there are a lot of The W3C and the Web Accessibility guide (WCAG
websites out there that suffer with poor accessibility. 2.0) propose four key principles to be aware of:
It’s easy to say that you should be thinking about
web accessibility right from the start but with 1. Perceivable
every project, there are plenty of things to be doing Information and user-interface components must be
first. The best opportunity to start thinking about presentable to users in ways they can perceive.
accessibility is when you’re writing copy and deciding 2. Operable
on the architecture of your site. The user interface components and navigation must
This is because 29% of users that require assistive be operable.
technologies use screen readers and are dependant 3. Understandable
on voice-controlled programs to help deliver content. Information and the operation of user interface must
So when structuring content, read it aloud and make be understandable.
sure it flows without any visual enhancement. 4. Robust
It even pays to think what a machine might make Content must be robust enough that it can be
of your content. We all know home devices are interpreted reliably by a wide variety of user agents,
paving the way for voice control over smart-home including assistive technologies.
technologies but these devices are also amazing for
people with disabilities. Always think about these principles and run your
In terms of design, there might be a more obvious site through accessibility tests. Use the assistive
task where accessibility needs to be addressed. technologies and you could also try using your site
When designing a site, there are useful rules to without a mouse or trackpad.
98 may 2018
9000
9001