Nate Nolting · @natenolting
35 followers · 42 posts · Server genart.social
Nate Nolting · @natenolting
35 followers · 39 posts · Server genart.social

My newest project on @fx_hash_, Ordo versus Chaos, is now live. Thanks to the minters out of the gate @GrouchyzNFT, @Artsofchet, @Earl__reno, and Anonymous, you guys rock!👊

t.co/oGIoE1Dml2
ed of 1000, 1tez,

#letsgo #wave #lerp #gradient #repetition #mirror #waveforms #controlledchaos

Last updated 1 year ago

David · @idbrii
23 followers · 127 posts · Server mastodon.gamedev.place

See also Improved Lerp Smoothing for a more thorough explanation of how to do the speedup lerp correctly (using exponential function). It also explains how to convert existing lerps with fixed values to ones using exp2() and deltaTime.

gamedeveloper.com/programming/

value = lerp(target, value, exp2(-rate*deltaTime))

With a rate of 1.0, the value will move halfway to the target each second. If you double the rate, the value will move in twice as fast.

#lerp #gamedev

Last updated 1 year ago

David · @idbrii
23 followers · 127 posts · Server mastodon.gamedev.place

I thought this deltaTime video was well-done. It's a light-hearted look at getting mathematically correct results for changes over time with the opportunity to come up with your own answer before he explains. It completely avoids the "Fix your timestep" discussion and is all about writing gameplay code instead. youtube.com/watch?v=yGhfUcPjXu

#time #lerp #gamedev

Last updated 1 year ago

Alexandre B A Villares 🐍 · @villares
848 followers · 1317 posts · Server ciberlandia.pt

drawing infrastructure, out of the box, doesn't come with a "dashed line" primitive, or sophisticated styles. Golan Levin and Tega Brain (Code as Creative Medium, 2021) propose writing a function for that as a small exercise. How would tackle it? How would you draw a dashed line if you only had a simple line() function for drawing?

My first intuition I think would be to use to get intermediary points along the line. I have often used some kind of "lerp tuple" strategy for coordinates. What would you do?

#processing #lerp #creativecoding #cacm

Last updated 2 years ago

Tearcell Games · @Tearcell
15 followers · 23 posts · Server mastodon.gamedev.place

This was interesting code wise in that Aggy isn't really a object in the usual sense, so I ended up combining a and a to make the pull work right.

Better ways to do this in ? Maybe, but I was on a roll and it worked first try!

#godot #tween #lerp #physics

Last updated 2 years ago

Alan Zucconi · @AlanZucconi
1170 followers · 58 posts · Server mastodon.gamedev.place

In the same way there is no "correct" way to blend colours, there is also no "correct" way to sort them.

Back in 2015 I wrote a lengthy article showing various different ways in which colours can be sorted. 👇

alanzucconi.com/2015/09/30/col

#coding #tips #unity #lerp #colour #games #gamedev

Last updated 2 years ago

Alan Zucconi · @AlanZucconi
1170 followers · 58 posts · Server mastodon.gamedev.place

The problem of colour interpolation becomes apparent when you to blend in RGB space.

The colour "in between" BLUE and YELLOW in RGB space is a not-so-exciting grey-ish.

🔵+🟡=⚪ ❌

If you want an out of the box solution that simulates how colour pigments are blended together, I'd suggest checking out Mixbox.

🔵+🟡=🟢 ✔️

A Unity package is also available!

scrtwpns.com/mixbox/

#mixbox #unity #lerp #tips #coding #games #gamedev

Last updated 2 years ago

Alan Zucconi · @AlanZucconi
1170 followers · 58 posts · Server mastodon.gamedev.place

One of the most interesting—yet often overlooked—topics in is COLOUR INTERPOLATION. 🎨

Blending two colours is not as easy as it sounds. This is because the RGB colour space stores data in the most convenient format to *display* it, but does not take into account how colours are actually *perceived*. 👁️

This article explains in details why this problem is so complex, and what can be done to fix it! 👇

alanzucconi.com/2016/01/06/col

#coding #tip #unity #lerp #games #gamedev

Last updated 2 years ago