penspanic의 Devlog

Processing - Shape 안에 그라데이션 넣기

PGraphics sourceImage; PGraphics maskImage; void setup() { size(512, 512); // 그라데이션된 이미지 그리기 color startColor = #ff0000; color endColor = #0000ff; sourceImage = createGraphics(512, 512); sourceImage.beginDraw(); for (int i = 0; i < sourceImage.width; ++i) { color c = lerpColor(startColor, endColor, (float)i / sourceImage.width); sourceImage.stroke(c); println(sourceImage.width); sourceImage.line(0, i, sourceImage.width, i); } sourceImage.endDraw(); // Shape 그리기 maskImage = createGraphics(512, 512); maskImage.beginDraw(); // 이 부분을 각자 원하는대로 바꿔야 한다. maskImage.triangle(30, 480, 256, 30, 480, 480); maskImage....

March 28, 2024 · 1 min · 102 words · penspanic

Unity DOTS : Scene Architecture

Unity DOTS의 씬 시스템에 대한 기술적 이해

March 1, 2024 · 6 min · 1218 words · penspanic

C# - struct vs class, struct를 잘 활용하기

C# - struct vs class

January 15, 2024 · 4 min · 730 words · penspanic

Unity DOTS : Entity Scene과 Mono Scene 비교

Unity의 DOTS 씬과 일반 씬 기술적 비교

January 12, 2024 · 5 min · 883 words · penspanic

Happy Hacking Studio Review

해피해킹 스튜디오 키보드 리뷰

January 2, 2024 · 2 min · 422 words · penspanic