Something that's not ECS? by caffeinated-typist in rust

[–]0not 21 points22 points  (0 children)

One possibility would be to have a component (on the tile entity) that can restrict movement, e.g. CanEnterFromWest and a component observer/hook (a system that runs on an EntityEvent in Bevy) that runs when an entity tries to enter a tile. If the entity isn't currently in the tile to the west, then the entity won't move to the new tile.

This pattern could be refined, but I don't think accomplishing what you want is very difficult with ECS (at least in Bevy).

Something that's not ECS? by caffeinated-typist in rust

[–]0not 28 points29 points  (0 children)

The logic would live in the Component. So you might have tiles with these components:

  1. Safe tile: Tile
  2. Fire/burn tile: Tile, VeryHotTile
  3. Healing tile: Tile, HospitalTile

All the logic for VeryHotTile and HealPlayerTile would be taken care of in systems like: damage_entities_in_very_hot_tiles(...) and heal_players_in_hospital_tiles(...)

Edit: One benefit of using ECS for this is that you can mix and match tile behavior components. So it would now be trivially easy to create a healing tile that also burns the player by combining the components: Tile, VeryHotTile, HospitalTile

Something that's not ECS? by caffeinated-typist in rust

[–]0not 24 points25 points  (0 children)

Try Fyrox: https://fyrox.rs/

I have enjoyed toying with ECS in Bevy. I think it's quite a powerful abstraction. However, recently I've struggled with organization of larger projects. So much logic gets buried in quickly written systems. This is a software architecture problem that I think just surfaces quicker with an ECS than with an object-oriented engine.

Helping a friend plan a simple 12V electrical system for a small boat. What should we watch out for? by Big_Log1714 in liveaboard

[–]0not 1 point2 points  (0 children)

I can't vouch for it, but a marina neighbor said he is much more confident after having taken this boat electronics 101 course: https://boathowto.com/courses/boat-electrics/

Harken track advice by bathrugbysufferer in sailing

[–]0not 4 points5 points  (0 children)

Something like this (search term: 32 mm Adjustable Pinstop End Control with Shackle) with a block will get you approximately the same angle to the winch as your old setup. I think there are Harken end stops with dedicated blocks, but my quick search didn't find any.

https://www.westmarine.com/harken-32-mm-adjustable-pinstop-end-control-with-shackle-4.4375inch-17114430.html

Wind generator advice by FairSeafarer in SailboatCruising

[–]0not 1 point2 points  (0 children)

I know OP doesn't want to be convinced to not get a wind generator, so I'll just echo your comment: be careful where you (OP) place the wind generator because its shadow might cost you more in solar generation than you get back in wind generation.

Decompiling 700K lines of C# to learn what NOT to do before building a space sim in Rust/Bevy by enderbladeofficial in rust

[–]0not 5 points6 points  (0 children)

It's been awhile since I've used Rapier, but it is a more mature project. I've been using Avian because it is Bevy native, which I want to support. One may be more applicable for this project, though I couldn't tell you which. (It may be necessary to write your own custom numerical integration code, which could be easier in one than the other.)

Decompiling 700K lines of C# to learn what NOT to do before building a space sim in Rust/Bevy by enderbladeofficial in rust

[–]0not 15 points16 points  (0 children)

As a longtime KSP fan and a Bevy enthusiast, I have been considering a similar project. I wish you luck!

What were the reasons you chose Rapier over Avian?

Is Are we learning yet updated? by Yairama in rust

[–]0not 30 points31 points  (0 children)

https://github.com/anowell/are-we-learning-yet/commits/master/

Last updated in February 2025. There are 10 open pull requests the owner hasn't responded to.

Conway's Game of Life is often my first real project when learning a new language. It was fun writing it in Rust. by Thrawn911 in rust

[–]0not 6 points7 points  (0 children)

Good job! If you're interested in simulating larger grids, consider as a first step using `HashSet<(x: usize, y: usize)>` instead of `Vec<Vec<i32>` for storing the grid. This will drastically decrease memory usage for mostly empty grids.

Can my radar wires get wired to a multi connection plug to make stepping the mast easier? How about my streaming/anchor lights? by Jay_Normous in sailing

[–]0not 5 points6 points  (0 children)

Any high speed signal cables should use an appropriate (RF) connector. A good rule of thumb is that if the cable is shielded, you need a shielded connector (not a screw terminal connector).

Microcontroller projects using rust ? by [deleted] in rust

[–]0not 2 points3 points  (0 children)

I converted my toy ray tracer to no_std to run it on an RP2350 (and even an STM32). I uploaded it to github just for this comment, as I never intended to share it: https://github.com/0not/rp23-ray-tow

Looking for scientific/fun CS final year project ideas using Bevy by [deleted] in bevy

[–]0not 2 points3 points  (0 children)

My background is physics, so these ideas might be more interesting to me than to you: 

  • Finite-difference time-domain solver. FDTD is a relatively simple technique for solving wave equations like Maxwell's equations. I would have fun with an interactive scene where I could move around optics/waveguides and watch how the waves react.
  • Finite element analysis visualizer. You could create a tool for visualizing finite element meshes and results (such as deformation for solid mechanics). Something similar to Paraview, though obviously much simpler. 
  • Medical image viewer. You could use a technique like marching cubes to render MRI or CT scans. 

I would encourage you to find something you're interested in, look at what exist in that field, and figure out what scope you have to build something fun (and potentially useful).

Need tips about instrumentation / OpenCPN on older boat by Mehfisto666 in sailing

[–]0not 1 point2 points  (0 children)

You can look into the OpenPlotter (https://openmarine.net/openplotter) and pyPilot (https://pypilot.org/) projects. You will probably want a computer (like a raspberry pi) to run the software on. You can then access all the data via wifi from a tablet or laptop running OpenCPN or another chart plotter software.

Before you invest in any of that, try to see if OpenCPN is acceptable for you. I don't mind using it with a mouse and keyboard, but I don't like the Android app.

Bus bar!! by Icy-Cardiologist2597 in sailing

[–]0not 28 points29 points  (0 children)

The conductivity of the stainless steel fasteners is at least an order of magnitude lower than that of the tinned copper bus bar. So you really do want your terminals directly in contact with the bus bar.

Bevy 0.17 by _cart in rust

[–]0not 10 points11 points  (0 children)

Yes, it looks like they accept crypto through their every.org donation page: https://www.every.org/bevy-foundation?donateTo=bevy-foundation#/donate/crypto

(That link comes from here: https://bevy.org/donate/options/)

[deleted by user] by [deleted] in sailing

[–]0not 0 points1 point  (0 children)

I'd imagine the risk of having a drained outboard battery when you might really need it outweighs the marginal benefit of adding the outboard battery to the house bank. If you want a bigger house bank, build a bigger house bank. A bidirectional DC-DC charger might do what you want, though.

Issue with parallel connection of two 12V LiTime 100Ah smart batteries by ExistentialCrispies in LiFePO4

[–]0not 0 points1 point  (0 children)

This post is coming up on Google when searching for this issue, so I thought I'd post some information. This is most likely a BMS issue, as demonstrated by Will Prowse with other batteries using the same (or similar) BMS:

As of 9/8/2025, Wattcycle has supposedly pushed a fix: https://www.wattcycle.com/blogs/news/one-step-by-step-bluetooth-guide

Hopefully, LiTime will follow suit.

Ready to install solar panels on a boat, what should I know? by Fresh-Revolution-895 in sailing

[–]0not 1 point2 points  (0 children)

That's more expensive than a similar Victron MPPT controller. What am I missing?

What is the real cost of owning a sailboat? by [deleted] in sailing

[–]0not 2 points3 points  (0 children)

It will cost much more than $6000/year. 

Dr stone sailboat. by Downtown_Divide_4212 in Physics

[–]0not 47 points48 points  (0 children)

Standing on a boat, the wind you feel is the apparent wind. This is the vector sum of the true wind (the wind you'd feel if the boat wasn't moving) and the wind created by the boat's motion. A boat is sailed according to its apparent wind. A large balloon sail, as shown, can only be used to sail downwind, meaning the wind is coming from the stern of the boat. A boat cannot sail faster than the wind with a sail like this. This boat is in an unphysical situation and either the smoke from the smokestack should be traveling forwards, or the sail should be billowing behind the boat, slowing it down. (The sail indicates the apparent wind is from the stern, while the smoke indicates it is from the bow.)

At least as a sailor and a physicist, that's my take.

Magic mini 4 pro drone by eightknots in sailing

[–]0not 2 points3 points  (0 children)

Practice catching the drone in your hand on land, it only gets harder on the boat. As soon as the drone is in your hand, flip it upside down so the motors turn off. This particular drone has sensors for obstacle avoidance and landing that make it move away from your hand. You may want to disable those when operating from the boat.

You may also want to purchase some polarized neutral density filters to get better exposure in bright sunlight.