solid color to sprite (javascript game)

Hi I recently created a javascript game, in this game, math random is used to pick a random shape.

The shapes are in strings, and the associated numbers within the string are then used to show a color.

Is there any way to replace the simple hex colors with an image?

For example:

else if (shape === "H"){     return [[8,8,8],             [8,8,8],             [8,8,8]]; 

The "8" ties into the following string to get the #F10B38 color.

const color = [null,"#FF2D00","#FF9300","#51FF00","#00FF93","#0087FF","#4E49A7","#9649A7","#F10B38"]; 

Does Truesight allow you to see through or behind solid objects?

From what I understand in the references in the MM and PHB to Truesight, it seems that a creature with this sense can see into the Ethereal Plane and see invisible things/creatures. However, does this allow the creature to see through solid rock, e.g. if a PC was out of typical line of sight, with 100% cover, hiding behind a large tree or a stone pillar?

There was some confusion about this in a recent campaign. The way I would interpret it is that having Truesight does not allow a creature to see through objects, e.g. like x-ray vision. For me, seeing the "invisible" does not mean the same as seeing the "non visible".

I would appreciate any RAW answers using 5e literature and/or experience on applying a house-rule regarding this matter.

Does the Mage Hand cantrip pass through solid surfaces?

Last session, my Arcane Trickster was faced with some murky water and we needed to know how deep the bottom was. I decided to use mage hand to try to locate the bottom of the water without putting my own hand in there, but then we were stuck with the question: would my mage hand just float straight through the bottom?

Another way of wording this question would be “does mage hand go through walls”?

The spell says:

A spectral, floating hand appears at a point you choose within range.

But exactly what the hand is is not described any further. Does spectral mean “float through walls” like an incorporeal ghost, or is it spectral only in the sense that it’s not a creature or an object? Either way, if the caster sent the hand through a wall or the floor, would it go through or just bump up against the wall?

Can solid voxelization be done with 1-direction raytracing if the raytracer is watertight? Does the direction matter?

This article and some others mention requiring the following when voxelizing:

1: Shooting rays from multiple directions (maybe with a voting system to decide if the voxel is active?)

2: Shooting rays (or advancing down the slice) from the side of the model with greatest cross-sectional area

3: Stretching primitives

However, the basis is different. That’s surface voxelization which involves doing intersection tests of the primitives against the voxels.

If doing solid (not surface) voxelization using a watertight ray-triangle intersection test, do I need to do any of that? Are there any cases where the voxelization will be “wrong”? If so, which do I need?

(For my use case, using a non-raytracing approach isn’t workable, sadly)

I wish I could tag this properly, I would include voxelization, raytracing, and primitives. No existing tags fit this question.

Why is it assumed that you may move only 5 feet per round in a Solid Fog?

I’ve encountered in several threads how wonderful a spell Solid Fog is. While removing someone from an encounter is a relatively big deal, at first glace, moving out of an area of Solid Fog should take one or two rounds, and you have already wasted this round on casting it.

At best you can put it straight ahead of a creature to create four squares of effect between said creature and yourself. Then, given the “target” doesn’t have some escape method, it should be able to move two squares towards you before having to end its turn. On the next turn it moves again, and now there is a single square of effect between the two of you, allowing the target creature to cast a spell on you (or attack you with a ranged attack, which is probably less problematic).

But I’ve noticed that there seems to be a consensus (or at least more or less of one) that a creature may only move 5 feet a round while in an area of Solid Fog. While I could assume that’s an application of The Move 5 Feet Through Difficult Terrain rule, I actually don’t see why it should be the case. Having a move speed of 5 feet allows a creature to move 5 feet as a move action. Also, there are effects, like Entangle and Web spells, which specifically say the target must use a full-round action to move, and Solid Fog is not one of them.

So, am I wrong that a creature caught in an area of Solid Fog may move 5 feet twice? If yes, could you explain why?

Why is it assumed that you may move only 5 feet per round in a Solid Fog?

I’ve encountered in several threads how wonderful a spell Solid Fog is. While removing someone from an encounter is a relatively big deal, at first glace, moving out of an area of Solid Fog should take one or two rounds, and you have already wasted this round on casting it.

At best you can put it straight ahead of a creature to create four squares of effect between said creature and yourself. Then, given the “target” doesn’t have some escape method, it should be able to move two squares towards you before having to end its turn. On the next turn it moves again, and now there is a single square of effect between the two of you, allowing the target creature to cast a spell on you (or attack you with a ranged attack, which is probably less problematic).

But I’ve noticed that there seems to be a consensus (or at least more or less of one) that a creature may only move 5 feet a round while in an area of Solid Fog. While I could assume that’s an application of The Move 5 Feet Through Difficult Terrain rule, I actually don’t see why it should be the case. Having a move speed of 5 feet allows a creature to move 5 feet as a move action. Also, there are effects, like Entangle and Web spells, which specifically say the target must use a full-round action to move, and Solid Fog is not one of them.

So, am I wrong that a creature caught in an area of Solid Fog may move 5 feet twice? If yes, could you explain why?

wholesale Solid State High Frequency Welder

COMPANY INTRODUCTION
Our History:
ZSHC Mechanical & Electrical Equipment Co., Ltd. was established in 2009, covering 20,000 square meters, with more than 100 employees. It has developed into a comprehensive enterprise integrating R&D, production, sales and service.
Our Factory:
The company has offices, technology department, purchasing department, sales department, foreign trade department, after-sales service center, production workshop, assembly workshop, commissioning workshop, inspection workshop, finished product workshop, etc. The organization structure is complete and closely linked, which ensures the company’s sustainable and healthy development. The technical department specializes in the development of technology, provides technical guidance for after-sales, provides a strong impetus for the company’s development in technology, ensures the maintenance of equipment and relieves customers’ worries. Debugging and inspection workshop, inspection refined to the surface treatment of each screw and casing.
Our Product:
The company mainly engaged in products: solid-state high-frequency welding machine, high-efficiency switch welding machine, high-frequency straight welded pipe mill line, intermediate-frequency annealing equipment, zinc spraying machine, shear butt welding, cooling equipment, palletizer, ultra-audio equipment and so on.
Product Application:
High Frequency Welding, Medium Frequency On-line Weld Annealing, Heat Treatment and other Induction Heating Equipment, and Industrial Automation Control Devices
Our Certificate:
Our company has obtained CE certification and ISO 9001 quality management system certification. Three new inventions and patents in high frequency welding
Production Equipment
Production Market:
Our products are exported to India, Thailand, Indonesia, Albania, Uzbekistan, Syria, Vietnam, Greece, Nepal and Many other countries and Areas.
Our service:
● Pre-sale Service:
1. Assist the buyer to do a good job in engineering planning and system demand analysis, and cooperate with the design institute to designate a complete engineering design plan according to the actual situation.
2. Work closely with the buyer to fully consider the customer’s systematic and functional structure, the functions of the outsourced equipment required by the system and the selection of software.
3. Provide professional technical advisory services.
4. Provide visits and reception at any time and various conveniences.
5. Select professional and technical personnel, business personnel for technical exchanges, technical communication, throughout the process, timely provide product performance, characteristics, schematic design drawings. As well as various parameters, actively cooperate with the buyer to select satisfactory products.
● Sale Service:
1. After the signing of the contract, the buyer’s technical specifications will be compiled, and the technical specifications will be perfected, supplemented and refined accordingly, so that the technical specifications will become the actual implementation technical documents, which will be executed after the buyer’s approval, and the technical agreement will be used as an annex to the equipment order contract.
2. Within the shortest time after the signing of the technical agreement, our company will submit to the buyer a list of standards for the design, manufacture, assembly, installation, commissioning, acceptance, testing, operation and maintenance of the contracted equipment for confirmation.
3. Provide the buyer with the drawings and information stipulated in the contract in time.
4. For the complete set of equipment purchased by the buyer in connection with the contract, our company takes the initiative to meet the technical conditions and information of the equipment interface requirements.
5. The quality problems arising in the process of equipment manufacturing shall be notified to the buyer without concealment.
6. Manufacturing of products, experimental testing of materials and products shall be carried out in accordance with relevant standards, and routine project inspection shall be carried out conscientiously.
7. factory acceptance. Debugging and testing the equipment before leaving the factory according to the contract and technical standards to ensure that the products are fully qualified.
8. After the equipment arrives at the site, our company will send experienced engineers to the site to guide installation, commissioning, operation and so on, and on-site technical guidance and training for the buyer’s operators to ensure the normal and safe use of equipment by the buyer.
● After Sale Service:
Our company has sufficient spare parts inventory and experienced technical after-sales personnel in China, able to respond quickly, and provide 7 x 24 hours full response service. Special commitment is made to provide free after-sales service within one-year warranty period and life-long paid service, and spare parts at the best price to ensure reliable and safe operation of the equipment during its service life.wholesale Solid State High Frequency Welder
website:http://www.metowd.com/
website2:http://www.metoht.com/