lemth

u/lemth


r/AskElectronics•

Is it possible to redraw an electronic ink display using just the energy from a kinetic switch?

Display can be tiny, it's just that it should not have any additional power supply or battery attached. Would this be possible or is the energy consumption of e ink refresh so much higher than what a kinetic switch supplies?

If it's possible then I would love to hear which resources could best help me in assembling a simple e ink counter.

Thanks in advance for your suggestions!

618

r/aoe4•

Age4Builder, the Age of Empires IV Build Order Tool, now has a basic database system that allows you to upload builds and browse through other people's builds!

Features:

  • Create a build for your favorite civilizations on: https://age4builder.com/build.html
    • Drag game icons into your build to make it more visual
    • Use the standard layout to allow for easier comparison between builds
    • Save your build by saving your URLs
    • Or give your build a Title and upload it to the database!
  • Browse builds on: https://age4builder.com/
    • View the most popular and newest builds
    • Sort by civilization
  • Source code v
5816

r/aoe4•

Here's a preview to show what it looks like:

Build Order Tool v0.1 - example

I've been working on this idea since the release of AoE 4. Now I believe that it's sturdy enough to at least test it and gather some feedback.

​

This build order tool works like this:

  • You select the civ you want to make a build for
  • You can edit the table by highlighting a row and moving it, adding rows, deleting rows, etc...
  • After selecting a cell you can simply type in it with whatever text you want
  • You can also drag images from the menu on the right into the te
15460


r/learnjavascript•

I've got a single page website in the making consisting of only html, css, and Javascript. The pages uses a 10000-line JSON object and uses about half of it to display images based on user input.

I have put the JSON object in a seperate file and I use fetch() to load it. The user will on average interact and refresh the website about 10 times.

My goal is to optimize the page to make it respond faster especially when a user 'refreshes' the page.

My questions:

  1. Does this fetch() JSON file get cached by the browser or does it need to be downloaded by the user every time?
  2. Is fetch() even the right choice here? Or should I use Importhtml or simply copy paste the JSON in the index.html?
22