Log In  

Cart #forcefield-0 | 2021-12-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Controls:
Mouse to move cursor, click to spawn a ball.

This is a test to build versatile force field type diagrams. The magnitude is the map offset by 128 pixels, and the angle is the map offset by 256. Pixel color determines angle and magnitude(as a unit scalar).

The code is kinda messy, as I borrowed some of the objects from another project of mine.

[Playmap]
v128 pixelsV
[MagnitudeMap]
v128 pixelsV
[AngleMap]

P#101899 2021-12-07 17:13 ( Edited 2021-12-07 17:14)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 15:58:28 | 0.009s | Q:14