Open in app

Sign in

Write

Sign in

Kacper Kula
Kacper Kula

406 Followers

Home

Lists

About

Pinned

MIDIVal 0.1 release — now with MPE support!

MIDIVal just got a big version bump with exciting new functionality! You can now use the MIDIVal library to send and receive MIDI Polyphonic Expression messages. It is the only high level JavaScript library to add support for this protocol. …

Web Midi Api

4 min read

MIDIVal 0.1 release — now with MPE support!
MIDIVal 0.1 release — now with MPE support!
Web Midi Api

4 min read


Published in

Engineers @ The LEGO Group

·Pinned

Building accessible Select component in React

Select components are everywhere on the internet. The little dropdowns are the core of the web as we know it and have been with us since HTML 2.0 Specification was published in 1995. As powerful as they are, their functionality is limited. They are unable to show pictures or other…

JavaScript

10 min read

Building accessible Select component in React
Building accessible Select component in React
JavaScript

10 min read


Published in

hypersphere

·Dec 4

TypeScript Typeguards: To use or not to use?

TypeScript’s static typing adds a layer of reliability and maintainability to JavaScript. Typeguards are a cornerstone of TypeScript and custom Typeguards can provide a lot of powerful typing options that would otherwise be impossible to achieve. In this article, I will go through built-in ways of typeguarding and how to…

Typeguard

5 min read

TypeScript Typeguards: To use or not to use?
TypeScript Typeguards: To use or not to use?
Typeguard

5 min read


Published in

hypersphere

·Jul 31

Randomness in CSS with trigonometry functions

In the past, I have covered the topic of randomness in CSS using modulo operation and I used prime numbers to create an automatic counter that can be used to generate different values for each object. Thanks to that, we could compute pseudo-random values for each element independently. As robust…

CSS

5 min read

Randomness in CSS with trigonometry functions
Randomness in CSS with trigonometry functions
CSS

5 min read


Published in

hypersphere

·Oct 10, 2022

How I created a GameBoy-like game in 13kb

History of Gravepassing — my entry for js13kgames 2022. — This year I decided to participate in the js13kgames game jam. It’s a yearly, month-long competition to create a game in JavaScript from scratch that will fit 13kb (zipped). It does not sound like plenty of space, but with enough creativity, a lot can be achieved. Just look at those…

Web Game Development

9 min read

How I created a GameBoy-like game in 13kb
How I created a GameBoy-like game in 13kb
Web Game Development

9 min read


Published in

hypersphere

·Sep 22, 2022

Randomness in CSS

The majority of the languages have some mechanisms for generating random numbers. Unfortunately, that is not the case in CSS. This might not be a problem for most websites, but when dealing with a more generative approach (which CSS is really great for) we have to resort to JavaScript to…

CSS

6 min read

Randomness in CSS
Randomness in CSS
CSS

6 min read


Published in

hypersphere

·Jul 13, 2022

Counting in CSS: Unlock magic of CSS variables

CSS evolved like no other technology during its lifespan. The tool that started in 1994 as a simple way of styling basic documents on an early internet, became a language offering animations, matrix transformations, variables, several layouting systems, and much more. Because of the constant ecosystem changes, it is hard…

Programming

8 min read

Counting in CSS: Unlock magic of CSS variables
Counting in CSS: Unlock magic of CSS variables
Programming

8 min read


Published in

hypersphere

·Jun 27, 2022

Advanced TypeScript: Mapped Types and more

Using strongly typed language has a lot of benefits. But TypeScript is not a magical tool — the stronger types you provide, the better results you will get. …

Typescript

5 min read

Advanced TypeScript: Mapped Types and more
Advanced TypeScript: Mapped Types and more
Typescript

5 min read


Jun 21, 2022

New MIDIVal releases: core 0.0.17, node 0.0.2 and react-native!

In the last couple of weeks MIDIVal got plenty of new updates: @midival/core got 0.0.17 release with fixed onConnected / onDisconnected handlers @midival/node got 0.0.2 release with Virtual Ports, onConnected / onDisconnected listeners and new examples in the repository to get you started @midival/react-native was released! MIDIVal has now brand…

Midival

3 min read

New MIDIVal releases: core 0.0.17, node 0.0.2 and react-native!
New MIDIVal releases: core 0.0.17, node 0.0.2 and react-native!
Midival

3 min read


Published in

hypersphere

·Apr 25, 2022

Better typings for strings and numbers in TypeString using opaque types

TypeScript is a great tool to ensure your code is correct and you are not passing incorrect data around. Unfortunately, there are still cases when we can’t guarantee that the types are correct — especially when dealing with primitives like strings or numbers. In almost every modern application we use…

Typescript

5 min read

Better types for strings and numbers in TypeString using opaque types
Better types for strings and numbers in TypeString using opaque types
Typescript

5 min read

Kacper Kula

Kacper Kula

406 Followers

Senior Engineer @ Percent

Following
  • Ivana Klara

    Ivana Klara

  • Deno

    Deno

  • Mark Manson

    Mark Manson

  • Devon Price

    Devon Price

  • Anurag Ajwani

    Anurag Ajwani

See all (169)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams