Fix dynamic color overlap (manipulate/animate)

I am making a Manipulate graphic that involves two points rotating on a circle with their trajectories being traced in two separate colors. Everything works fine until each point makes half a rotation, after which the color of the trajectory of the first point overwrites the overlapping trajectory of the second, but not vice versa. I am looking for a way to make it such that when blue catches up to the tail of red it begins to write over in blue and when red catches up to the tail of blue it begins to write over in red without simply hardcoding in ranges (in case I want to add more points in different spots). Ideally, I will be saving these as animations at some point.

Here is my code:

Manipulate[  Show[ParametricPlot[{{-Cos[x], -Sin[x]}, {Cos[x], Sin[x]}}, {x, 0,      a}, PlotRange -> {{-1.05, 1.05}, {-1.05, 1.05}},     PlotStyle -> {Red, Blue}, Ticks -> False],    ListPolarPlot[{{a, 1}}, PlotRange -> All,     PlotStyle -> PointSize[.05]],    ListPolarPlot[{{Pi + a, 1}}, PlotRange -> All,     PlotStyle -> {PointSize[.05], Red}]], {a, 0.01, 2*Pi}] 

How to plot color range plot with data?

enter image description here

I have some data and want to plot it like in the figure mentioned but unable to do it. The code I tried is written below but it is not giving any plot. If anyone can resolve this is most welcome. The values in {} are {a1,b1,c1}.

Listlineplot{{0,-2,0},{0,-5,1},{0,-2,2},{0,-1,3},{0,0,4},{0,0,5}} {{1,-1,0},{1,-3,1},{1,-1,2},{1,0,3},{1,0,4}},{{2,-1,0},{2,-2,1},{2,-2,2},{2,-1,3},{2,0,4}},{{3,0,0},{3,-1,1},{3,-2,2},{3,-3,3},{3,-2,4}},{{4,0,0},{4,-1,1},{4,-2,2},{4,-3,3},{4,-1,4}},{{-1,-2,0},{-1,-1,1},{-1,-2,2},{-1,-2,3},{-1,-1,4}},{{-2,-2,0},{-2,-1,1},{-2,-2,2},{-2,-2,3},{-2,-1,4}},{{-3,-2,0},{-3,-1,1},{-3,-2,2},{-3,-2,3},{-3,-1,4}},{{-4,-2,0},{-4,-1,1},{-4,-2,2},{-4,-2,3},{-4,-1,4}},ColorFunction -> (Blend["VisibleSpectrum", #] &),   ColorFunctionScaling -> False, Filling -> Axis]      

How to move axis and ticklables in RegionPlot to the top? How to change border line color?

I use this code

RegionPlot[Sin[t^(1/3)*y] > 0, {y, 0, 5}, {t, 0, 8},   FrameLabel -> {"y", Rotate["t", 270 Degree]}] 

and the result is

enter image description here

Now, I have three questions:

  1. How can I move the $ y$ axis (and ticklabels) to the top instead of bottom?
  2. How can I change border lines color?
  3. Is it possible to change the color of one of the blue parts?

How to change color of the points and remove the joined line in the given code?

I use this code

{data1, data2} = Transpose[Table[{2 n, 3 n + 100}, {n, 20}]]; a = ListPlot[{data1, data2}, Joined -> True,    PlotStyle -> {Directive[Red, Thickness[Scaled[10^-2]]],      Directive[Blue, Thickness[Scaled[10^-2]]]}, Mesh -> All,    MeshStyle -> Directive[PointSize[Large], Red],   ClippingStyle -> False] 

and I get this picture

enter image description here

Now, I have two questions:

  1. How can I ask Mathematica to change the color (red to blue) and shape (circle to diamond) of the plotmarker in the upper curve?
  2. How can I remove the joined line for the upper curve?

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"]; 

Assign a color to VectorPlot

I want to set all the lines in a VectorPlot a specific color, like Red. I am using some of the new options for VectorPlot as my code below illustrates. Using VectorColorFunction -> Red does not solve my problem.

Thank you for your assistance.

VectorPlot[{1, t - x}, {t, -2, 2}, {x, -2, 2}, VectorPoints -> 17,  VectorScaling -> Automatic, VectorSizes -> 1.2,  VectorStyle -> Arrowheads[0], VectorColorFunction -> Red] 

Suggest allowing new color brackets

By now I have spent a bit of effort in writing Mathematica notebook for my analysis tasks and appreciate the power of the Mathematica language. At the same time, I also discover that a significant fraction of my time had been spent on balancing the (, [ and { bracket, or scratching my head to discover that the weird results I got were due to improper placement of the closing brackets. I wonder if the code developers have considered allowing different colors to make my chore easier. An example may be that every time an open bracket is invoked, whether (, [ or {, a new and different color is attached to that bracket, and likewise, at closing. In this manner, if an improper placement is made, I would discover it immediately. Just a suggestion.

Why was 24-bit color support introduced twice in GPUs?

I was doing research, trying to answer the question "Which was the first GPU to support 24-bit color". I know all color since 1992 is 24-bit, even in games like Doom. I mean 16 million simultaneous colors on the screen, not just 256 unique colors from a 24-bit palette.

I started digging, and naturally I came across the ATI Mach 32. Later I find out that RIVA TNT also "added" support for truecolor. So I’m left wondering, is 24-bit color support some ancient technology that was forgotten after 1992 and rediscovered in the year 1998? Or are they talking about something different?

I have two guesses, but I’d love to know the real explanation:

  1. Truecolor support in RIVA TNT meant it’s hardware accelerated, as in the sprites are stored in the VRAM, as opposed to the Mach 32, where the VRAM is just a frame buffer so acceleration would be considered software.
  2. Nvidia meant 32-bit color texture, not even talking about frame buffer pixel depth.

Anyone know what both Nvidia and ATI really meant?