Problem I am a high-school freshman who is kinda new to Ruby, and I am doing a small project on […]
Tag: graphics
Conversion from RGB to CIELAB with a complex formula
Problem let deltaF: TransformBlock = { f in let transformation = (f > pow((6.0/29.0), 3.0)) ? pow(f, 1.0/3.0) : (1/3) […]
Drawing a star in AWT
Problem I am new to java and graphics, and I am creating a java program that draws a star. It […]
Drawing the flag of Liberia
Problem I am working on this assignment to draw the flag of Liberia for my essentials of computer programming class. […]
Draw a spark line with SwiftUI
Problem I am using a set of data points (currently randomly generated), and drawing a line graph inside a box: […]
Terrain Generator – KhanAcademy
Problem I’m new to JavaScript, and I’ve been learning off Khanacademy. I wrote the following basic terrain generator and I’m […]
Creating an area graph in iOS
Problem I am trying to create an area graph from the upper and lower limit values. First I created two […]
Set visible interface from method/class
Problem I started feeling like my code was becoming a little cluttered in the graphics: void render() { BufferStrategy bs […]
Sierpinski Triangle
Problem I am a Java programmer who recently started learning some Swift. I made an app that displays the Sierpinski […]
Java Drawing House
Problem Can anybody tell me if there is a better way code this? As an exercise I was supposed to […]