光の三原色
https://scrapbox.io/files/64d254b7b07490001cf0b6a3.png
code:光の三原色.cpp
# include <Siv3D.hpp>
void Main()
{
while (System::Update())
{
const ScopedRenderStates2D blend{ BlendState::Additive };
Circle{ OffsetCircular{ Scene::Center(), 60, 0_deg },100 }.draw(ColorF{ 1.0, 0.0, 0.0 });
Circle{ OffsetCircular{ Scene::Center(), 60, 120_deg },100 }.draw(ColorF{ 0.0, 1.0, 0.0 });
Circle{ OffsetCircular{ Scene::Center(), 60, 240_deg },100 }.draw(ColorF{ 0.0, 0.0, 1.0 });
}
}