In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

Commit 2e020e06 authored by Jens-Christian Fischer's avatar Jens-Christian Fischer
Browse files

Only use two types for now

also make the circle more of an oval
parent cd82cff6
defmodule Grains.Type do
@nr_types 4
@nr_types 2
@nr_colors 255
@nr_saturations 50
......
......@@ -3,7 +3,7 @@ defmodule Grains.Mixfile do
def project do
[app: :grains,
version: "0.0.84",
version: "0.0.85",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
......
......@@ -242,8 +242,8 @@ Boid.prototype.polygon = function(x, y, radius, npoints) {
Boid.prototype.render_circle = function() {
this.p.arc(0, 0, this.radius- 2, this.radius-2, 0, this.p.QUARTER_PI);
this.p.ellipse(0, 0, this.radius, this.radius);
// this.p.arc(0, 0, this.radius- 2, this.radius-2, 0, this.p.QUARTER_PI);
this.p.ellipse(0, 0, 1.7 * this.radius, 2 * this.radius);
}
......@@ -459,13 +459,13 @@ let PresenceSketch = {
PresenceSketch.width - 100,
100, 'circle');
PresenceSketch.masters['triangle'] = new Master(PresenceSketch.p5,
100,
PresenceSketch.height - 100, 'triangle');
// PresenceSketch.masters['triangle'] = new Master(PresenceSketch.p5,
// 100,
// PresenceSketch.height - 100, 'triangle');
PresenceSketch.masters['star'] = new Master(PresenceSketch.p5,
PresenceSketch.width - 100,
PresenceSketch.height - 100, 'star');
// PresenceSketch.masters['star'] = new Master(PresenceSketch.p5,
// PresenceSketch.width - 100,
// PresenceSketch.height - 100, 'star');
let b1 = s.color(88, 131, 120);
let b2 = s.color(0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment