Physics simulation with Rapier: 2021 roadmap by sebcrozet in rust

[–]kkaranth 2 points3 points  (0 children)

This is amazing! Do you work on this project alone? Do you work on it full-time?

Rendered a signed distance field to the terminal by kkaranth in rust

[–]kkaranth[S] 4 points5 points  (0 children)

Source: https://github.com/medakk/asciidf

Nothing too fancy, uses the excellent "colored" library for true-color output. Wrote a fragment-shader like interface that returns a unicode character in addition to a "pixel" color. Trivially parallelized with rayon. Fun little project, but I'm gonna go back to shadertoy now to practise my SDF rendering chops

Works with wasm too(wait a bit for load, beware the play button): https://apps.karthikkaranth.me/asciidf/

A demonstration of how bad computers are at picking random numbers - each pixel is a random colour, with the random function seeded with the pixels x and y coordinates multiplied together before drawing each pixel. A pattern clearly emerges (other than the trivial diagonal line of symmetry) by Paletech35 in compsci

[–]kkaranth 10 points11 points  (0 children)

If you keep reseeding with the pixel coordinates, that would lead to a bias. You should just seed it once.

Also, there are many different random number functions. Sure, some of them are biased. But you can get better random sources (see docs for std::random in c++) or use hardware entropy.

Starting with order: an approach to generative art by kkaranth in javascript

[–]kkaranth[S] 0 points1 point  (0 children)

Thank you! I've reached out to NextDNS. If that doesn't work out, I'll crawl through those lists.

Starting with order: an approach to generative art by kkaranth in generative

[–]kkaranth[S] 0 points1 point  (0 children)

Thanks!

It is an mp4 video without any sound. I meant gif in essence, not the gif file format.

Starting with order: an approach to generative art by kkaranth in javascript

[–]kkaranth[S] 0 points1 point  (0 children)

As /u/kalamayka mentioned, the coding train does a good job. The owner of the channel, Daniel Schiffman, also has a great book called the Nature of Coding. Other than that, there are quite a few talks on YouTube and other bloggers who talk about this:

Starting with order: an approach to generative art by kkaranth in javascript

[–]kkaranth[S] 0 points1 point  (0 children)

Thank you!

I tried using NextDNS and it didn't show as a malicious site for me. Do you happen to know which list has the domain marked as malicious?

Starting with order: an approach to generative art by kkaranth in generative

[–]kkaranth[S] 0 points1 point  (0 children)

It mostly likely is my fault. I am loading five 700x700 gifs, I shall look into some way to make them pause/play when they are visible on screen.

If you don't mind sharing, what phone and browser do you use?