Skip to content

Instantly share code, notes, and snippets.

View ichiko's full-sized avatar

ichiko / ichiko_revjune ichiko

View GitHub Profile
@ichiko
ichiko / main.dart
Created August 9, 2021 12:18
How notify list to need update items (List and Editor sample)
import 'package:flutter/material.dart';
void main() {
runApp(ListEditorApp());
}
class ListEditorApp extends StatelessWidget {
final _routeInformationParser = _AppRouteInformationParser();
final _routerDelegate = _AppRouteDelegate();
Widget build(BuildContext context) {
@ichiko
ichiko / PlayGroundScreen.java
Created February 10, 2015 02:09
libGDX with Box2D PolygonShape Definition
package cc.clv.revjune.pts.screen;
import cc.clv.revjune.pts.PTSGame;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Screen;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.math.MathUtils;
@ichiko
ichiko / cellautomaton90.scala
Created May 6, 2012 14:45
1D Cell Automaton (rule 90)
/**
* 一次元セルオートマトンを描画する(ルール90)
* cellautomaton.scala
* author ichiko(ichiko_revjune)
* all lights reserved by ichiko_revjune 2012.
*
* 2012/05/06 created.
*/
import scala.util.Random
@ichiko
ichiko / cellautomaton.scala
Created May 6, 2012 14:18
1D Cell Automaton
/**
* 一次元セルオートマトンを描画する
* cellautomaton.scala
* author ichiko(ichiko_revjune)
* all lights reserved by ichiko_revjune 2012.
*
* 2012/05/06 created.
*/
import scala.util.Random
@ichiko
ichiko / mandelbrot.scala
Created May 6, 2012 10:52
Draw mandelbrot graph in CUI.
/*
* mandelbrot.scala
* author ichiko(ichiko_revjune)
* all lights reserved by ichiko_revjune 2012.
*
* 2012/05/05 create
*/
val TRYCOUNT = 26