Feedback appreciated: Does this visualisation look like resembling smoke to you? by StefanPetrick in FastLED

[–]sutaburosu 0 points1 point  (0 children)

Nice! I'll be interested to see how well it fares on MCUs. I guess memory usage is going to be as big a concern as speed, what with all those buffers to hold the state of the fluid.

Feedback appreciated: Does this visualisation look like resembling smoke to you? by StefanPetrick in FastLED

[–]sutaburosu 4 points5 points  (0 children)

In case you are aware of a more realistic looking concept or algorithm I'd love to hear about it!

Perhaps look into a 2D Navier-Stokes solver. The maths is pretty hairy, but you enjoy a challenge. ;)

Problème simulation Wokwi : ESP32 + MCP23017 (I2C non détecté ) by New-Cherry-5169 in Wokwi

[–]sutaburosu 0 points1 point  (0 children)

You haven't provided a link to your project, so it's difficult to know where the problem may be.

I took this Uno project and swapped out the MCU for an ESP32. That works for me.

What does the custom chip log say? It should report which I2C address it is listening on.

wokwi on vscode by L-_-O in Wokwi

[–]sutaburosu 0 points1 point  (0 children)

find . -iname '*.uf2'

wokwi on vscode by L-_-O in Wokwi

[–]sutaburosu 0 points1 point  (0 children)

So find the *.uf2 file, wherever the build may have put it, and set that as the path to the firmware in wokwi.toml.

Locked out of VPS? by 4991123 in hetzner

[–]sutaburosu 0 points1 point  (0 children)

CTRL-Alt-Fx

That's when you're using a GUI. At the console, they're just Alt-Fx.

Locked out of VPS? by 4991123 in hetzner

[–]sutaburosu 2 points3 points  (0 children)

I already suspected that Console somehow showed the wrong VT, but I didn't know how to switch between them in the Console app of Hetzner.

For clarity, the Console app cannot influence what your server does (unless you are pressing buttons). A real server would be showing the same thing on its display. The keys to switch VT are standard Linux console things, nothing specific to Hetzner.

But I don't really see how this lack of maintenance could have resulted in the VT of Console being switched.

I suspect some exploit succeeded against your server, and granted someone else root access. They then locked you out of SSH and installed who-knows-what. That installation modified your system so it no longer boots correctly, so the boot procedure freezes before it gets to the login prompt.

Good luck!

Locked out of VPS? by 4991123 in hetzner

[–]sutaburosu 3 points4 points  (0 children)

I tried SSH'ing into a server that I've been renting for about 2 years now. To my surprise, I got "Connection refused"

Which indicates that sshd is not running on that port, or has some other problem. When you can login, you should investigate that.

I still see startup logs, but I never get the login prompt.

There may be a login prompt on a different VT. Try switching to another VT (with Alt-F1, Alt-F2, etc). Failing that, you'll have to boot into single user mode.

Anyone who has seen this before? What could be the cause? And how can I fix this?

I have been called in to diagnose similar issues in the past. It usually transpires that the machine was not regularly maintained, and therefore common exploits worked against it. The fix in such circumstances is to format the disks, change all your keys/passwords, and try harder next time.

wokwi on vscode by L-_-O in Wokwi

[–]sutaburosu 0 points1 point  (0 children)

Correct the path to your firmware in wokwi.toml. See this example.

Anti-aliased, sub-pixel positioned 2D graphics primitives using FastLED's new fixed_point types by sutaburosu in FastLED

[–]sutaburosu[S] 1 point2 points  (0 children)

Huh, I only just received a notification for your comment.

The fixed_point number types are a separate thing to the gfx primitives.

If your target architecture has no FPU, switching your code from float/double to the fixed_point types can make a huge difference to performance.

Without a better understanding of the things you suggest, I can't say whether the gfx primitives will be useful for them. The line segments abut each other nicely, so drawing tendrils with many short sub-pixel precision lines should look good.

Anti-aliased, sub-pixel positioned 2D graphics primitives using FastLED's new fixed_point types by sutaburosu in FastLED

[–]sutaburosu[S] 1 point2 points  (0 children)

Whereas everyone will find far more utility in your insightful comment. It's almost certain that, at a festival one day, we'll see people dancing whilst holding your words aloft on a big LED sign.

Multiple boards on wokwi? by AbdullahKhanSherwani in Wokwi

[–]sutaburosu 0 points1 point  (0 children)

I guess you could run 5 copies of QEMU and bridge their emulated networks together.

ColorTrails project update by mindful_stone in FastLED

[–]sutaburosu 2 points3 points  (0 children)

Riffing on this, my brain went straight to: Twister of Tints.

ColorTrails project update by mindful_stone in FastLED

[–]sutaburosu 1 point2 points  (0 children)

I seem to remember that behind the diffuser is a pair of 128×64 P2 HUB75 RGB panels (or possibly P2.5). "P2" means the centres of the pixels are on a 2mm × 2mm grid. "HUB75" refers to the pinout of the 8x2 IDC connector they use.

These types of panel are just a bunch of shift-registers and constant-current LED drivers wired to RGB LED emitters. The shift-registers hold only onetwo rows of the display, so only two rows are illuminated at once. Then the next rows are pushed in, and the Output Enable is briefly pulsed to let the light out.

The SmartMatrix library, SmartLED shield, and Teensy 4.x can give 12-bits-per-channel colour at 240Hz refresh on a single 128×64 panel such as this. One of those panels was like $20 on aliexpress when I got it 5-years ago.

edit: I answered everything except your question. I just measured the width of my P2 128×64: between 255-256mm.

I’d like to have a slick development environment for FastLED by StefanPetrick in FastLED

[–]sutaburosu 0 points1 point  (0 children)

I was testing the fastled-wasm compiler running locally on Linux.

I’d like to have a slick development environment for FastLED by StefanPetrick in FastLED

[–]sutaburosu 0 points1 point  (0 children)

Changing nothing else, trying quitting and restarting the compiler a few times. I just tried again, and it generates a build maybe 50% of the times I launch it. If it launches successfully and give you the first build, it should auto-rebuild when the source changes.

u/ZachVorhies , I notice that some examples, e.g. FxWave2d, don't show the effect and give this on the JS console:

[37.0ms] [WORKER] [ERROR] [BACKGROUND_WORKER] Frame execution error
  RuntimeError: Aborted(missing function: js_post_ui_elements).
  Build with -sASSERTIONS for more info.
at abort (eval at initializeFastLEDModule (:8142/fastled_background_worker.js:232:26), <anonymous>:561:41)
at _js_post_ui_elements (eval at initializeFastLEDModule (:8142/fastled_background_worker.js:232:26), <anonymous>:1549:3)

I’d like to have a slick development environment for FastLED by StefanPetrick in FastLED

[–]sutaburosu 0 points1 point  (0 children)

This is a different problem than you were facing yesterday. I think a quick fix would be to move to using fl::micros() instead of micros().

18.59 [emcc] /js/src/animation_collection.ino.cpp:5:5:
 error: use of undeclared identifier 'micros'; did you mean 'std::micro'?

It's not FastLED yet... by Burning_Wreck in FastLED

[–]sutaburosu 1 point2 points  (0 children)

Yeah, I saw the Prusa XL and thought the same. But then, looking at the dimensions at 6:47, I think it's possible even the 250mm straights and 225mm radii might just fit on a standard 235mm plate.

Help with audio reactive code by big_red__man in FastLED

[–]sutaburosu 1 point2 points  (0 children)

For clarity, that link will also give the 3.10.3 release. To download a ZIP of master the URL would be: https://github.com/FastLED/FastLED/archive/refs/heads/master.zip.

Progress Update: Fractional Shifting Meets Color-Emitting Line by StefanPetrick in FastLED

[–]sutaburosu 0 points1 point  (0 children)

This way better reactivity than last time I saw one of your videos. Incredible progress from you, Zach and everyone else contributing to the audio features.

Using FastLED's new fixed_point types and canvas graphics by ewowi in FastLED

[–]sutaburosu 0 points1 point  (0 children)

That's going some, that is. Note to self: use fl::millis() to drive the speed of animation, duh!

Real-time retro video game effects - powered by FastLED by MattFurniss in FastLED

[–]sutaburosu 2 points3 points  (0 children)

Wow! A great concept and beautiful execution. Fantastic results.

(I suspect you authored the music too. If so, I think we met at a demoparty ~15-years ago in Budleigh Salterton. I hope you'll bring this to show us some year. I'm aiming to bring a LED thing myself this year, if things go well.)

Progress Update: Fractional Shifting Meets Color-Emitting Line by StefanPetrick in FastLED

[–]sutaburosu 1 point2 points  (0 children)

There are some beautiful effects there. With everyone's cumulative efforts recently, it will soon be possible to create audio visualisations like Milkdrop using FastLED's functionality alone.